Skip to content

ci(nightly): temporarily disable nix-flake job - #2647

Merged
max-sixty merged 1 commit into
mainfrom
nix
May 8, 2026
Merged

max-sixty merged 1 commit into
mainfrom
nix

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Summary

Comment out the nix-flake job in the nightly workflow. The cron-driven
run keeps creating tracking issues from a known cluster of sandbox-specific
failures (bare wt_command() inheriting CWD, target/debug vs target/release
snapshot hardcoding) that need real fixes, not noise.

The nightly PR-label trigger added in #2645 still works — a follow-up
PR 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

  • YAML still parses; remaining jobs unchanged
  • create-issue-on-nightly-failure.needs no longer references the disabled job

🤖 Generated with Claude Code

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]>
@max-sixty
max-sixty merged commit e93be0e into main May 8, 2026
33 checks passed
@max-sixty
max-sixty deleted the nix branch May 8, 2026 18:50
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]>
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