Skip to content

build: export impact facts in the background once the graph is queryable - #1848

Merged
swapnilpaliwal-sd merged 2 commits into
0.1.9from
fix/graph-lookup-indexes
Oct 2, 2026
Merged

swapnilpaliwal-sd merged 2 commits into
0.1.9from
fix/graph-lookup-indexes

Conversation

@swapnilpaliwal-sd

Copy link
Copy Markdown
Contributor

index waited for the warm step (the export of impact facts) after the graph was already queryable. On a large Java repository that was about 3 minutes of looking frozen. The export now runs detached, after it closes the build-lock descriptor so the lock is released when the build ends. Its writes were already atomic renames. A query that arrives first exports the facts itself, as it would without warm.

Measured on a repository with 8,619 Java files: index returned at 5 min 21 s (was 7 min 19 s), and the graph is queryable at the same point as before. Tests pass: latency, freshness, refresh, refresh_races, front_door, enrich_budget, and the Java cases (329 of 329).

…yable

Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit 1cb2b38 into 0.1.9 Oct 2, 2026
12 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the fix/graph-lookup-indexes branch October 2, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant