Dependency graph rebuilt on every test report #220

Open
opened 2026-11-21 12:36:56 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-lens/src/testrun.rs (report generation)
What is hacky: The graph is rebuilt per report (walk + line scan), slow on big repos.
Proper fix: Cache the graph keyed by project seq and update incrementally.
Original comment: "ponytail: graph rebuilt per report (walk + line scan). Cache keyed by seq if it gets slow on big repos."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-lens/src/testrun.rs (report generation) What is hacky: The graph is rebuilt per report (walk + line scan), slow on big repos. Proper fix: Cache the graph keyed by project seq and update incrementally. Original comment: "ponytail: graph rebuilt per report (walk + line scan). Cache keyed by seq if it gets slow on big repos." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the lens label 2026-11-21 12:36:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#220