Repository navigation
Track each failing test in its own ci-fix issue - #3872
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 25, 2026
A failure an open pull request covers belongs to it and needs no issue, matching tests/AGENTS.md's ownership rule from #3939. A test-macos failure keys on the same node id as on Linux, and its row names the job. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tend now tracks each test failure it leaves unfixed in an issue of its own, one per test node id, instead of adding rows to whichever
ci-fix:issue a run touched first. The rule goes inrunning-tend's Fix every failure in a red run, the repo overlay that/tend-ci-runner:ci-fixloads. The overlay replaces that skill's tracker per failure shape for Leaf.Why. #3695 was opened for the declared-scroll-surface regressions from #3673. Those were repaired by #3697, #3698, #3699, #3705, #3706, #3724, #3746 and #3758, and the issue then became a per-nightly umbrella. Its Oct 24 table lists 24 failures from one nightly that share no cause with its title. Across the Oct 21–24 nightly logs, ten of those rows failed on every nightly since they first appeared, three to five nights in a row. They are deterministic regressions in
journeystests, which run only nightly, so the pull requests that caused them passed their own CI. Inside the umbrella a row had no owner and could stay red for five nights while the issue looked worked on.What the rule says.
ci-fix:issue per failing test node id (or per failing check outside the suite), with the node id in its title. Tend searches open and closed issues for that id, reuses the one it finds, and reopens it if closed. Another test's failure never joins it; a fix for a shared cause closes each test's issue. A failure an open PR covers is that PR's and needs no issue, astests/AGENTS.md's ownership rule (from Run every tier on macOS nightly, and fix the tests main and macOS fail #3939) already reads. Atest-macosfailure follows the same rule under the same node id, so one issue holds a test's failures on both jobs, with a table row per job.cirun on main the test failed in, with its commit, since that brackets the change that broke it.tests/AGENTS.md"Races", which owns the--cpu-throttlerecipe from Reproduce CI-only watch findings with a suite-wide CPU throttle #3858.Scope. The triage proposed this for nightly failures. The rule covers any failing test a session leaves unfixed, push runs included. An umbrella costs the same whichever run produced it, and a push-run failure without a fix needs a tracker under the same key. Where a session fixes a failure in the same run, it files no issue.
This supersedes #3768, the bot's open PR that adds the status table as a general reporting rule. The table here is the body of each per-test issue and of the run summary, so #3768 can be closed unmerged. The Leave outage trackers line now says
ci-fixtrackers "name no stranded trigger" rather than "have no rows", since aci-fixissue now has table rows.The edit has no eval. It was checked by reading it against the bundled
ci-fixskill's tracker steps (2 and 4b), which it overrides only on the key and the body.Changes to agent instructions need the control-plane owner's approval (Landing); Max authorized this PR in the triage brief.
Refs #3695