You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): the changed-test shuffle runs only on pull requests into a release branch, not on the release pull request into main #1723
The v0.2.37 release pull request (#1720, release/v0.2.37 → main) spends more than 20 minutes in the CI Quality Gate's Changed-Test Independence job, in its "Run Changed Tests in Shuffled Order" step (run 39430481325, job 118653930463).
The job reruns a pull request's changed test files, each in a shuffled order, to catch order dependence. That is a guard for item pull requests. On a release pull request into main, the "changed" test files are every test file the whole release touched, so the job reruns most of the suite in shuffled order, while every item already passed the same job against the release branch.
Evidence
.github/workflows/ci.yml, job changed-tests (Changed-Test Independence), runs on if: github.event_name == 'pull_request', so pull requests into main run it too. Its timeout is 30 minutes.
Don't run the job where it doesn't apply: if: github.event_name == 'pull_request' && github.base_ref != 'main'. Item pull requests into release/** keep it. This is the same change #1721 made for the fail-to-pass check.
Acceptance criteria
Tests first: a workflow contract in tests/test_workflow_contracts.py pins the changed-tests job's condition, which excludes pull requests into main.
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
Type: type/infra. This is a CI workflow fix that modifies infrastructure configuration.
Priority: P1-High. The issue causes release pull requests to timeout and fail, blocking releases. The failed run 39430481325 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 on the board.
Value: High. Fixes a critical CI problem affecting all release workflows.
Effort: Low. Only requires adding a condition to an existing workflow file.
The release pull request (#1720) spent more than 20 minutes in the CI Quality Gate's Changed-Test Independence job (run 39430481325). This stops the job running there.
Why. The job reruns a pull request's changed test files in shuffled order to catch order dependence. On the release pull request into main, every test file the release touched counts as changed, so it reruns most of the suite. Each item in the release already passed the same job against the release branch.
Acceptance Criteria of docs/agent/tasks/task-1723-changed-test-shuffle-skips-the-release-pull-request.md:
Tests first: tests/test_ci_repeat.py::test_the_changed_test_job_reruns_added_or_modified_test_files pins the job's condition; it failed on the base, whose condition had no base_ref term.
Activity
dan-petty commentedon Oct 20, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
This is a CI workflow fix that modifies infrastructure configuration.The issue causes release pull requests to timeout and fail, blocking releases.The failed run 39430481325 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 on the board.Fixes a critical CI problem affecting all release workflows.Only requires adding a condition to an existing workflow file.chore(release): cut v0.2.37: version 0.2.37, the changelog fragments …
fix(ci): the changed-test shuffle runs only on pull requests into a r…
chore(release): cut v0.2.37: version 0.2.37, the changelog fragments …
dan-petty commentedon Oct 20, 2026
What changed
#1724, merged into
release/v0.2.37as 502c2fb.4 file(s) changed.
How it was verified
Check runs at 148b929:
Acceptance Criteria of
docs/agent/tasks/task-1723-changed-test-shuffle-skips-the-release-pull-request.md:tests/test_ci_repeat.py::test_the_changed_test_job_reruns_added_or_modified_test_filespins the job's condition; it failed on the base, whose condition had nobase_refterm.uv run devops cipasses (pre-push hook).chore(release): delete the v0.2.37 changelog fragment for #1723 (#1793)
feat(release): v0.2.38 (#1799)
feat(release): v0.2.38 (#1798)