Repository navigation
fix: fail the security preflight on an unreadable CODEOWNERS read, not as a missing rule - #1643
Merged
Merged
Conversation
…t as a missing rule A rate-limited CODEOWNERS query or codeowners/errors read returned the same answer as a missing file, so yolo runs failed with the 'run tend check --fix' control-plane error for a rule that was in place. Both reads now raise, like the gate's other required reads, so the step's error names the failed gh call. Refs #1642
max-sixty
pushed a commit
to max-sixty/worktrunk
that referenced
this pull request
Nov 10, 2026
Regenerates the Tend workflows with tend 0.3.24 (from 0.3.23). The only structural change is to `tend-triage`: triage now runs one concurrency group per issue instead of a single workflow-wide lane, so a burst of new issues is triaged in parallel rather than queuing behind each other. The same issue still never runs twice at once, and `max-parallel` still bounds one dispatched batch. The other workflows only move their action pins and the generator stamp to 0.3.24. Other behavior consumers may notice in the bundled skills and actions ([compare](max-sixty/tend@0.3.23...0.3.24)): - Review sessions treat a stale-approval dismissal on push as GitHub's own, not the PR author's (max-sixty/tend#1650). - `tend check`'s security preflight fails on an unreadable CODEOWNERS file instead of reporting the rule as missing (max-sixty/tend#1643), and setup refuses to overwrite customized tag-ruleset conditions (max-sixty/tend#1638). - The monthly review-reviewers run closes prior months' tracking issues (max-sixty/tend#1657). - Claude Code is bumped to 2.1.316 (max-sixty/tend#1633). max-sixty/tend#1648 and max-sixty/tend#1652 also change how sessions hand bot PRs' CI to `tend-land`; that path applies under `yolo` merge mode, and this repo runs `restricted`, so bot sessions here keep polling their own PRs' CI. Co-authored-by: worktrunk-bot <[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.
When the bot's GitHub quota runs out, yolo runs failed the security preflight with "requires a pull-request rule … Run
tend check --fix", though the rule was in place.codeowners_textcaught a failedghread and returnedNone, the same answer as a missing CODEOWNERS file, andhas_valid_control_plane_codeownersdid the same for thecodeowners/errorsread. Both now raise, as the gate's other required reads already do._common.runturns that into a step error naming the failedghcall, with gh's "API rate limit exceeded" above it. The gate still fails closed. A query that reads cleanly but has an unexpected shape still counts as no valid CODEOWNERS.The leaf run linked in the issue shows one rate-limited
ghcall in the preflight step followed directly by the control-plane error, which matches these two reads. The parametrizedtest_control_plane_codeowners_raises_on_a_failed_readfails on the old code for both reads and passes now. It replaces the test that pinned the oldreturn 1.Refs #1642 — automated triage. The issue's token-report half is in a separate PR.