Repository navigation
Conversation
…ping A revision's name carries its manifest's digest and its marker appears only after its bundle is complete, so one path names one bundle for good. read_artifact still stamped the marker, the bundle directory and manifest.json on every call, and the resource route resolved the revision listing twice more to rebuild a root its URL already names. A runtime module GET now makes 3 stats and 1 open instead of 7 and 1. Behavior change: a bundle deleted under a running server keeps serving its held descriptor until the server's memo drops it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
`workflows.review.await_ci: false`: a review acts on the checks already finished and ends, rather than polling the ~50-minute suite after it approves. Polling was ~95% of tend-review's runner time and tend-review ~31% of the repository's Actions minutes over Oct 9-11. Under yolo it still waits on a head the bot pushed, since it lands those. The regeneration also carries tend 0.3.12's other workflow change: tend-ci-fix starts only on failed runs, not cancelled ones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Oct 12, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The new path-only cache leaves test_artifact_cache_refuses_a_replaced_immutable_manifest asserting the old invalidation behavior. After its first read, read_artifact returns the held descriptor without reopening the manifest, so the test's pytest.raises(ArtifactError) fails; I reproduced this with uv run pytest tests/test_interact_document.py::test_artifact_cache_refuses_a_replaced_immutable_manifest -q -n0. This makes the PR's test gate red. Rework that test around the intended immutable-bundle contract, or remove the corruption case if it protects no supported behavior; a cold read can still check the manifest digest.
…n a cold read The revision cache now holds a bundle by its content-addressed path, so a manifest replaced after the first read is no longer reread: one test asserts that, and the manifest-digest refusal moves to a read that finds the replaced manifest before anything is held. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 12, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 4, 2026
`running-tend` told a session fixing a failure only `test-macos` shows to dispatch `ci` on the fix's branch and read that run's `test-macos` job. A triage session takes that as evidence it must collect before it finishes, so it polls the run for its whole length, four to five hours, while it holds the only triage lane. Two Claude triage sessions did so in their first day: #5174's waited 4 h 10 min and #5184's 4 h 46 min. In both, the PR (#5218, #5267) merged within 20 minutes of the wait starting, so the result changed nothing, and #5184's dispatched run ended red after its PR had merged. Leaf already chose not to have Tend sessions wait on CI (`await_ci: false`, #2455), and Tend tells every triage session so. This instruction, added in #3939, asked for a wait the setting doesn't govern, since the dispatched run is outside the PR's checks. It also supplied the "passes after" evidence the merge rule in **Fixing a CI failure's cause** asks for. Now the merge rule says that for a failure only `test-macos` shows, the checks the Linux runner can run suffice, and the macOS paragraph names the next scheduled run on main, after the merge, as the evidence after the fix. The landing sessions already worked that way: both PRs merged before their dispatched runs ended. If the scheduled run still fails, its CI report brings the failure back to triage. Supersedes #5315, which makes the same merge-rule change but still dispatches the macOS run and leaves the cause issue open until a later session reads it. That costs a macOS run and another triage session per fix to learn what the next scheduled run reports anyway. > _This was written by Claude Code on behalf of max-sixty_
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.
Two changes from the test-cost survey.
Reviews stop waiting for CI. Adopts tend 0.3.12 (max-sixty/tend#1538) with
workflows.review.await_ci: falsein.config/tend.yaml. A review now acts on the checks already finished and ends, rather than polling the ~50-minute suite after it approves: polling was ~95% of tend-review's runner time in sampled long sessions, and tend-review ~31% of the repository's Actions minutes over Oct 9–11. A check already red when the review reads CI is still acted on (a related failure dismisses the approval). Undermerge: yoloa review still waits on a head the bot pushed, since it is the lander there. The regeneration also carries 0.3.12's other workflow change:tend-ci-fixstarts only on failed runs, not cancelled ones.The page server holds revision bundles by their content-addressed path. A revision's name carries its manifest's digest and its marker appears only after its bundle is complete, so
read_artifactno longer stamps three files per call, and the resource route stops resolving the revision listing twice more to rebuild a root its URL already names. A runtime module GET makes 3 stats and 1 open instead of 7 and 1. Behavior change: a bundle deleted under a running server keeps serving its held descriptor until the memo drops it.