Repository navigation
chore: drop a dead stdout allowlist entry and correct two stale docs - #4910
Merged
Merged
Conversation
- `output_system_guard`: `commands/worktree/switch.rs` no longer writes stdout itself; its `--format=json` answer goes through `output/json.rs`, which is already listed. A leftover entry would pre-approve a future stray `println!` there. - `TempIndex` doc: the caller list had fallen behind (it missed the squash dry-run, the `wt remove --force` backup and others). Name two examples and point at `temp_index`'s callers instead. - `packaged_assets` module doc: nothing embeds `gemini-extension.json`; the embedded files are `dev/*.example.toml` and the `dev/*.ts` plugins.
This was referenced Nov 25, 2026
Merged
max-sixty
pushed a commit
that referenced
this pull request
Nov 25, 2026
…ed mirror fails in 5 min (#4917) Every remaining `apt-get` call in CI now runs under the same `sudo timeout -k 30 300` bound that `tend-setup` has used since #3855. That covers `test-setup`, `coverage.yaml`, `benchmarks.yaml` and the three `nightly.yaml` steps. A wedged Ubuntu mirror now fails the step after five minutes, where a rerun fixes it. Today it holds the job until GitHub kills it at the 360-minute cap, along with every tend session polling that PR. This PR's own `test (linux)` and `affected tests (linux)` jobs exercise the new `test-setup` step. #3855 left these sites unbounded because none had hung yet, and offered to widen the bound if one did. Three hangs have hit them since: | when | job | outcome | |---|---|---| | 2026-10-07 | six x86_64 Linux jobs across nightly and PR runs (#4396) | all killed at the 360-min cap | | 2026-11-20 | `test (linux)` on #4852 | stuck 4.5 h, until a review-runs sweep cancelled it; one triage and two review sessions polled it the whole time | | 2026-11-24 | `affected tests (linux, advisory)` on #4910 ([job](https://github.com/max-sixty/worktrunk/actions/runs/45343341632/attempts/1)) | killed at the cap; nightly [45340530290](https://github.com/max-sixty/worktrunk/actions/runs/45340530290) and review [45343341664](https://github.com/max-sixty/worktrunk/actions/runs/45343341664) each sat ~340 min in `poll-pr-checks` and ended unverified | Each log ends mid-`apt-get update` (after `Get:5 … noble-security InRelease` on 11-24), followed by hours of silence and then `##[error]The operation was canceled.` Observations are tracked in #4657. <details><summary>Why <code>timeout(1)</code> and not step-level <code>timeout-minutes</code></summary> `test-setup` is a composite action, and composite steps don't accept `timeout-minutes`. That's why `tend-setup` uses `timeout(1)`, and its comment explains the `-k 30` escalation. Using the same form at the workflow-file sites keeps a single pattern. A healthy update takes about 15 s, so five minutes is headroom. Both expiry codes (124 on SIGTERM, 137 after the kill) fail the step. </details> 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.
Three small corrections found in the nightly survey. None changes behavior.
tests/integration_tests/output_system_guard.rs: removescommands/worktree/switch.rsfromSTDOUT_ALLOWED_PATHS. The file has noprintln!/print!, and its--format=jsonoutput goes throughprint_jsoninoutput/json.rs, which has its own entry. The guard's docs warn that a leftover entry silently pre-approves stdout writes, andallowlisted_paths_still_existonly checks that the file exists.src/git/repository/working_tree.rs: theTempIndexdoc listed "the callers", but the list had gone stale: it missedwt step squash --dry-run, thewt remove --forcebackup andwrite_index_tree. It now gives two examples and points atWorkingTree::temp_index's callers for the full list, so it can't go stale again.tests/integration_tests/packaged_assets.rs: the module doc namedgemini-extension.jsonas embedded at compile time. Nothing undersrc/embeds it. The embedded files aredev/*.example.tomland thedev/*.tsagent plugins. (Theflake_coversdoc correctly mentions it, because the flake's source filter keeps it.)output_system_guardandpackaged_assetspass locally.