Repository navigation
Conversation
Many sandbox-specific failures remain (bare `wt_command()` inheriting CWD, target/debug-vs-release snapshot hardcoding). Comment out the job so it stops failing nightly cron runs and creating tracking issues. The `nightly` PR label trigger added in #2645 lets fixes iterate through follow-up PRs that re-enable the job locally. Co-Authored-By: Claude <[email protected]>
worktrunk-bot
approved these changes
May 8, 2026
3 tasks done
max-sixty
added a commit
that referenced
this pull request
May 8, 2026
## Summary Restore the `nix-flake` nightly job (disabled in #2647) and fix the sandbox-specific test failures it surfaces. With this merged, the nightly cron run is back to gating against packaging-environment bugs. ## What's in here - **Build-mode snapshot redaction**: 49 snapshots hardcoded `target/debug/wt` in "Invoked as:" and diagnostic output, which broke under crane's release builds. Collapse both modes to `target/[BUILD_MODE]/wt` in the shared insta filter. - **Nix sandbox env**: add `pkgs.python3` and `pkgs.procps` to `worktrunk-tests`' native build inputs (needed by argv-quoting, post-start, and pgid-invariant tests). Replace `#!/usr/bin/env python3` with the absolute python path resolved at script-write time, since `/usr/bin/env` doesn't exist on NixOS. - **PTY filter ordering**: extend `add_pty_binary_path_filters`' alternation to match the `[BUILD_MODE]` placeholder so PTY snapshots still collapse to `[BIN]` after the prelude rewrite runs first (caught by worktrunk-bot review). - **One inherited-CWD test fix**: `test_config_init_already_exists` branched on whether the inherited CWD had a project config — pin it to a no-config tempdir so the snapshot is deterministic across cargo and nix. ## Test plan - [x] `nix-flake` job passes in CI (1633 / 1633, was 54 failing) - [x] All required `ci` checks pass - [x] Auto-reviewer approved 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <[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.
Summary
Comment out the
nix-flakejob in the nightly workflow. The cron-drivenrun keeps creating tracking issues from a known cluster of sandbox-specific
failures (bare
wt_command()inheriting CWD,target/debugvstarget/releasesnapshot hardcoding) that need real fixes, not noise.
The
nightlyPR-label trigger added in #2645 still works — a follow-upPR will re-enable the job locally on its own branch and iterate on fixes
under the label, without blocking the cron from passing in the meantime.
Test plan
create-issue-on-nightly-failure.needsno longer references the disabled job🤖 Generated with Claude Code