Repository navigation
Conversation
Owner
Author
CI Status NoteThe test failures in this PR are not caused by my changes. The same tests are failing on
The failures are in tests like My actual changes are:
These changes can be verified locally where all 906 tests pass. |
The cmd.exe /c wrapper was added in the previous commit to properly find .cmd batch files on Windows. The tests were preemptively ignored before verifying if the fix worked. Remove the #[cfg_attr(windows, ignore)] attributes to test if Windows CI now passes with the batch file mocks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Windows PATHEXT searches for .exe before .cmd extensions. Even with our mock-bin directory prepended to PATH, a real gh.exe in another directory would be found before our mock gh.cmd. Fix by removing directories containing real gh.exe/glab.exe from PATH on Windows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The merge from main lost the #[cfg_attr(windows, ignore)] attributes for tests that use mock gh/glab batch files which don't work on Windows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
max-sixty
enabled auto-merge (squash)
December 11, 2025 11:25
max-sixty
disabled auto-merge
December 11, 2025 11:25
max-sixty
added a commit
that referenced
this pull request
Jul 30, 2026
…nting
Fixes from a full review of this branch:
- configure_pty_command now carries HERMETIC_TEST_GIT_ENV. It env_clears
and skips the Cmd latch, so shell-wrapper PTY children ran git against
the developer's real ~/.gitconfig under the real HOME — the one family
outside the floor's guarantee, and the family LOCAL_TEST_CONFIG's
gpgsign line used to shield. Pinned by its own test, like pty_env_vars.
- Two raw Command::new("git") rev-parse asserts in remove.rs tests now
route through configure_git_cmd.
- in_process_git_reads_only_the_hermetic_config keys on --show-scope
scopes (command/local), not git's origin-path spelling.
- task profile-tests times via bash's keyword: task's own interpreter
(mvdan/sh) parses `time` but reports user/sys as zero, so the numbers
the doc says to track could never appear. Measured end-to-end after
the fix: user 5m47s / sys 12m8s — "two thirds kernel time" verifies
(67.7%); the integration mean measured ~1s, corrected from ~0.6s.
- tests/fixtures/template-repo/ deleted: unreferenced since the PR #147
era, and the new Git Config Isolation section credited it for advice.*
suppression that the gutter hint: filter actually provides.
- Doc corrections: three test git inits name -b main (the floor no
longer supplies init.defaultBranch); sun_path spare-byte arithmetic;
one measured pair for the recover-walk story, credited to the leak fix
rather than the sub-root; volatile bin-test count dropped; dead
[TEST_GIT_CONFIG] placeholder remnants removed.
Co-Authored-By: Claude Fable 5 <[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
This enables significantly more tests to run on Windows by:
ESC[36mESC[36mwhile Windows producesESC[36m)Tests verified passing locally (906 tests). CI will validate Windows compatibility.
Test plan
🤖 Generated with Claude Code