Skip to content

Bound triage batches with configurable native matrix concurrency - #1603

Merged
max-sixty merged 4 commits into
mainfrom
codex/bounded-triage-batches
Oct 28, 2026
Merged

max-sixty merged 4 commits into
mainfrom
codex/bounded-triage-batches

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Triage now admits selected issue IDs as a workflow-level batch and runs one issue per matrix job, with configurable workflows.triage.max_parallel (default 5). Batches share the existing triage lane, so they remain serialized while siblings within a batch can run concurrently; a failed leg does not cancel its peers.

Recovery dispatches through the installed tend runtime triage-batch command, which deduplicates selections and splits them to fit GitHub's 512-character run-name and matrix limits. The selector rechecks live issue state before expansion. Queued ownership, notification marking, and logs retain the individual issue IDs. A pinned setup-runtime composite installs the same frozen package used by the harnesses.

Validation: full test suite before the transport repair (1,599 Python tests, 32 Worker tests/typecheck, six capture tests); focused runtime, selector, generator and launch tests plus all pre-commit checks after it; recovery guidance eval passed 3/3.

Live secretless probes ran before merge: zero and one issue cases, peak concurrency of 5 with a failed leg and six successful peers, serialized overlapping batches, and peak concurrency 10. Boundary probes showed 512 characters survive and 513 truncate, motivating the dispatch limit. These used a temporary push trigger and timed steps in place of issue agents; they establish native scheduling and name transport, not production agent execution.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit 85c3899 into main Oct 28, 2026
13 checks passed
@max-sixty
max-sixty deleted the codex/bounded-triage-batches branch October 28, 2026 23:16
@max-sixty max-sixty mentioned this pull request Oct 30, 2026
max-sixty added a commit that referenced this pull request Oct 30, 2026
Prepare Tend 0.3.20 with bounded triage batches, delegated maintenance,
the isolated runtime CLI, consolidated action setup, and retirement of
legacy config migrations and shell staging. The changelog documents the
new manual triage input and migration requirements for direct action
callers and old configs.

Release target: 73d9ced, including #1603, #1607, #1608, #1609, and
#1610. Validation: full `wt test` (1,643 Python tests, 32 Worker tests,
typecheck, six eval-capture tests), all pre-commit hooks, package build,
Twine checks, and installed-wheel runtime help. Publication will require
the subscription Codex smoke on the exact release commit; workflow
deployment and live checks follow publication.

> _This was written by Codex on behalf of max-sixty_
max-sixty pushed a commit to max-sixty/worktrunk that referenced this pull request Nov 1, 2026
Update the Tend workflows from 0.3.15 through 0.3.22. The earlier
commits replace the dedicated CI fix path with one failure report and
let triage continue independent repairs when a case has several causes.
This regeneration moves early workflow logic into Tend's installed
runtime, adds bounded parallel issue triage, and gives issue workers
clearer guidance to continue actionable investigations and reconcile
resolved issues. The repository's restricted merge setting and explicit
model pin remain in place.

The new runtime setup step is a prerequisite for the generated jobs.
Triage now selects live issues before starting up to five issue jobs,
while mention, notification, reaction, and CI failure handling call the
pinned Tend runtime. See the [0.3.15–0.3.19
comparison](max-sixty/tend@0.3.15...0.3.19)
and [0.3.19–0.3.22
comparison](max-sixty/tend@0.3.19...0.3.22),
including max-sixty/tend#1603, max-sixty/tend#1608, and
max-sixty/tend#1618.

Verification: generated with `[email protected]`; `git diff --cached --check`
passed. The pinned `[email protected] check` reported no failures and skipped
`actions-event-policy` because this bot lacks the required admin
permission.

---------

Co-authored-by: worktrunk-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants