Repository navigation
Key tend-ci-fix's concurrency group on the triggering run's event - #1547
Merged
Merged
Conversation
The group was watched workflow + branch with the default queue depth, so a scheduled run's failure pending behind a running session was replaced by the next push failure on the same branch and never got a fix attempt. Adding github.event.workflow_run.event gives each event its own slot; within an event, the newest failure still replaces the pending one. The concurrency test now asserts the event in the key; it fails against the old template. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
tend-agent
approved these changes
Oct 14, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 14, 2026
`tend-ci-fix` starts only on a watched run's `failure` (#1535), and GitHub ends a job that exceeds its time limit as `cancelled`, so a CI job that hangs until its limit never gets a ci-fix session. A step that exceeds its own `timeout-minutes` fails instead, so a consumer that bounds the hang there gets it diagnosed. A probe workflow on tend-agent/tend-integration confirmed all three conclusions: a foreground step timeout and a `background: true` step timeout both fail, and a job timeout is cancelled. This isn't hypothetical. max-sixty/leaf's push suite hit the 6-hour job limit four times between 2026-10-04 and 2026-10-14, and none of those runs started a ci-fix session. - `docs/tend.example.yaml` (and its install-tend mirror) tells consumers this in the ci-fix section. - `TODO.md`'s "Issues as the bus" entry now records the step-timeout workaround, the per-event pending slot from #1547, and the concurrent push and scheduled sessions #1547 allows. > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Merged
max-sixty
added a commit
that referenced
this pull request
Oct 14, 2026
Bumps the generator to 0.3.14 and adds its changelog section. Ships #1544, #1546, #1547 and #1548. > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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-ci-fix's job-level concurrency group was keyed on the watched workflow and the branch, with GitHub's default queue depth, so the newest failure replaced the pending one. On a consumer whose CI runs on both push and a schedule, a scheduled run's failure waiting behind a running session was replaced by the next push failure on the same branch, and never got a fix attempt. The scheduled run is often the only run of a slower test tier, so the push failure that replaced it doesn't carry its failures. leaf'sci.yamlalready gives its daily schedule a concurrency slot of its own for the same reason;tend-ci-fixdid not.The group key now includes the triggering run's event (
github.event.workflow_run.event):${{ github.workflow }}-${{ github.event.workflow_run.name }}-${{ github.event.workflow_run.head_branch }}${{ github.workflow }}-${{ github.event.workflow_run.name }}-${{ github.event.workflow_run.event }}-${{ github.event.workflow_run.head_branch }}Within each event, the newest failure still replaces the pending one. The template comment, the regtest snapshots,
test_ci_fix_serializes_per_branch_watched_workflow_and_event(which fails against the old template), and AGENTS.md's Concurrency and filtering are updated. Which conclusions trigger the workflow is unchanged.A push failure and a scheduled failure from the same breakage can now run concurrently, as
ciandpublish-sitefailures already can. In leaf that is the usual case when main is red at cron time, since the schedule runs every tier. What stops the second session opening a duplicate PR is the ci-fix skill re-running its existing-fix query just beforegh pr create, which narrows that race rather than closing it; AGENTS.md now says so.