Repository navigation
Live filter honours the glob exemption for gitignored paths - #1776
Open
thekevinbot wants to merge 7 commits into
Open
thekevinbot wants to merge 7 commits into
thekevinbot wants to merge 7 commits into
Conversation
thekevinbot
marked this pull request as ready for review
November 19, 2026 03:09
This branch has not been deployed
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.
Fixes #1774
The live event filter now drops exactly what the startup scan skips:
route_file_eventcalls a newscanner::gitignore_drops, which judges each entry on the way to the path against the.gitignorefiles in force there and exempts any a table glob spells (the scan'sWalk::admitsrule).enters_dir, the watch walk's check from #1775, now goes through the same function, so there is one copy of the rule.Red: integration test
a_file_a_glob_spells_under_a_gitignored_directory_leaves_the_index_when_deletedfailed in CI job 135304168118 (panicked at packages/rust/tests/config_gitignore_watch.rs:74:5: events: []).Manual exercise: repo with
.gitignore=build/,dirsql server -cwith a table globbingbuild/x.json;SELECT * FROM treturned[{"base":"x.json"}], then after movingbuild/x.jsonaway it returned[].E2E Verification
cargo test --test config_gitignore_watch --test watch_gitignore_change --test watcher)packages/python/e2e-attestations/<branch>.jsonreceipt written ifpackages/pythonchanged (just e2e-attest-python)packages/ts/e2e-attestations/<branch>.jsonreceipt written ifpackages/tschanged (just e2e-attest-ts)testing-conventions e2e attest 'uv run python -m pytest tests/e2e/watch_fault_test.py tests/e2e/fanout_test.py tests/e2e/fresh_declared_repros_test.py tests/e2e/glob_speed_gitignore_test.py tests/e2e/watch_speed_test.py -x -q';testing-conventions e2e attest 'pnpm test:e2e'Changelog / Migrations
<root>/<pkg>/changelog.d/for each changed package (or:skip-changelogtrailer on a commit with reason)<root>/<pkg>/migrations.d/for each changed package (every subsection but Summary_None._when nothing breaks)