Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the taskRun sort stable #587

Merged
merged 1 commit into from
May 27, 2024
Merged

Make the taskRun sort stable #587

merged 1 commit into from
May 27, 2024

Conversation

yuzp1996
Copy link
Contributor

TaskRun sort by completed time but if time is same then the sort is not stable.

So if time is same then compare the namespace and name.

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • spec PR link included
  • Follows the commit message standard
  • Meets the contributing guidelines (including
    functionality, content, code)
  • Test cases with documentation and functionality works as expected using current and related github repos (MUST deploy and check)
  • Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

TaskRun sort by completed time but if time is same then
the sort is not stable.

So if time is same then compare the namespace and name.

Signed-off-by: yuzhipeng <zpyu@alauda.io>
@yuzp1996 yuzp1996 merged commit 5e433d0 into main May 27, 2024
2 checks passed
@yuzp1996 yuzp1996 deleted the feat/modify-taskrun-sort branch May 27, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants