Skip to content

fix(tests): Fix flaky test_update_workflows_add_workflow ordering#108731

Merged
joshuarli merged 1 commit intomasterfrom
fix/flaky-detector-workflow-ordering
Feb 20, 2026
Merged

fix(tests): Fix flaky test_update_workflows_add_workflow ordering#108731
joshuarli merged 1 commit intomasterfrom
fix/flaky-detector-workflow-ordering

Conversation

@joshuarli
Copy link
Copy Markdown
Member

Summary

  • The response workflowIds list has no guaranteed ordering, so the assertion was failing intermittently when IDs came back in a different order
  • Changed to sorted comparison

Fixes #108717

The response workflowIds list has no guaranteed ordering, so the
assertion should use sorted comparison instead of exact list match.

Fixes #108717
@joshuarli joshuarli requested a review from a team as a code owner February 20, 2026 20:28
Copy link
Copy Markdown
Contributor

@saponifi3d saponifi3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing!

@joshuarli joshuarli merged commit 8809d78 into master Feb 20, 2026
77 checks passed
@joshuarli joshuarli deleted the fix/flaky-detector-workflow-ordering branch February 20, 2026 20:50
priscilawebdev pushed a commit that referenced this pull request Feb 24, 2026
…08731)

## Summary
- The response `workflowIds` list has no guaranteed ordering, so the
assertion was failing intermittently when IDs came back in a different
order
- Changed to sorted comparison

Fixes #108717
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
…08731)

## Summary
- The response `workflowIds` list has no guaranteed ordering, so the
assertion was failing intermittently when IDs came back in a different
order
- Changed to sorted comparison

Fixes #108717
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants