Repository navigation
freshness: watch files whose extension case the parser ignores (Main.JS, Up.VUE) - #1785
Merged
Merged
Conversation
….JS, Up.VUE, Calc.CS) The JavaScript parser matches an extension whatever its case and the C# parser reads *.CS, but the file table matched exactly, so such a file was parsed yet never watched: an edit to it left the graph 'up to date'. The table now folds case for exactly the extensions those parsers fold; TypeScript, Python and Java stay case-sensitive, as their parsers are (the control in tests/freshness.py). Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com> Co-Authored-By: Claude <noreply@anthropic.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
September 29, 2026 06:40
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.
The file table matched extensions exactly, while the JavaScript parser reads
Main.JS/Up.VUEand the C# parser reads*.CS. Such files were parsed but never watched, so an edit left the graph "up to date".ax_fresh.watched(and the source count) now fold case for exactly the extensions those parsers fold..TS,.PY,.JAVAstay unwatched, as their parsers match exactly.impact thirdnames both users (fixture call edges 3 → 5). A real Express app: 51 files, 2041 call edges before and after.tests/freshness.py57/57,tests/latency.py27 held; refresh / multi_language / refresh_races / graph_verb were still running locally.Closes #1771