Repository navigation
Reset .gitignore inheritance at nested repositories - #1303
Merged
Merged
Conversation
thekevinscott
enabled auto-merge
October 5, 2026 20:15
skip-changelog: TypeScript CI scope correction only; published behavior is unchanged
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
Reset inherited
.gitignoreframes when a path-table walk enters a nested repository, matching Git's ignore boundary. A nested repository's files are no longer hidden by the outer repository's rules.Restore the TypeScript e2e gate's directory-only extra-scope after the package-root Cargo manifest moved on
main; the verifier rejects file paths.Fixes #1286
Test plan
a6a8048: CI Rust Integration tests failed onquery_glob_does_not_apply_outer_gitignore_inside_nested_repowithleft: [],right: [{"path": "repo/z.log"}]../**and./repo/*.logreturnrepo/z.logfrom both outer layouts, matching nestedgit ls-files --others --exclude-standard.E2E Verification
cargo test --workspace --features cli -- --test-threads=1; parallel run hit the host's open-file limit in two unrelated watcher tests)packages/python/e2e-attestations/claude-1286-nested-repo.jsonreceipt writtenpackages/ts/e2e-attestations/claude-1286-nested-repo.jsonreceipt writtencargo test --workspace --features cli -- --test-threads=1;just e2e-attest-python;just e2e-attest-tsChangelog / Migrations
packages/rust/changelog.d/2026-10-05-nested-repo-gitignore.mdpackages/rust/migrations.d/2026-10-05-nested-repo-gitignore.mdskip-changelog:reason in commit9c03149; published behavior is unchanged.