You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2025/02/20 17:20:00 UTC

[jira] [Updated] (YUNIKORN-2153) Refactor placement of predicateCheckResult

     [ https://issues.apache.org/jira/browse/YUNIKORN-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Condit updated YUNIKORN-2153:
-----------------------------------
    Summary: Refactor placement of predicateCheckResult  (was: Move predicateCheckResult type and tests to their own files)

> Refactor placement of predicateCheckResult
> ------------------------------------------
>
>                 Key: YUNIKORN-2153
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2153
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Vinayak Hegde
>            Assignee: Kaichia Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> The predicateCheckResult type should not be part of the preemption.go file.
> All declarations and functions that have a predicateCheckResult as receiver or return value value should be moved. Unused functions should be removed.
> Unneeded exports on functions / types should be removed. If exported the comments on the functions and types need to comply with standard go rules.
> All remaining functions should get tests to make sure they are working correctly.
> Additionally, implement Stringer interface so that zap.Any() calls can be replaced with zap.Stringer() to avoid reflection.
> h4.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org