Skip to content

Conversation

@oddessentials
Copy link
Owner

  • Add TUI tests must pass from cargo package tarball before release (R1 invariant)
  • Add TestEnvGuard RAII struct for cwd/env isolation in tests
  • Add serial_test and tempfile dev-dependencies
  • Add #[serial] to env-mutating tests to prevent parallel races
  • Add hermetic find_project_root tests using synthetic temp directories
  • Mark test_find_project_root_finds_scripts as #[ignore] (integration test)
  • Add test-packaged job to release.yml (tests from cargo package tarball)
  • Use strict git status --porcelain for clean workspace check
  • Use cargo test --locked --test-threads=1 for release gate

Fixes: environment-dependent test failure in release pipeline

- Add TUI tests must pass from cargo package tarball before release (R1 invariant)
- Add TestEnvGuard RAII struct for cwd/env isolation in tests
- Add serial_test and tempfile dev-dependencies
- Add #[serial] to env-mutating tests to prevent parallel races
- Add hermetic find_project_root tests using synthetic temp directories
- Mark test_find_project_root_finds_scripts as #[ignore] (integration test)
- Add test-packaged job to release.yml (tests from cargo package tarball)
- Use strict git status --porcelain for clean workspace check
- Use cargo test --locked --test-threads=1 for release gate

Fixes: environment-dependent test failure in release pipeline
@oddessentials oddessentials merged commit e47140e into main Dec 27, 2025
14 checks passed
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.

3 participants