Skip to content

perf(verify): load only the changed records for score --changed - #114

Merged
Seungpyo1007 merged 1 commit into
mainfrom
perf/verify-scoped-load
Sep 30, 2026
Merged

Seungpyo1007 merged 1 commit into
mainfrom
perf/verify-scoped-load

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Step 2 of GetTechAPI/TechAPI#350.

score --changed used to parse every seed file and then filter to the PR diff. _load/load_all now accept the changed path set; brand/soc are still loaded whole so FK and release-date checks are unchanged. pr is untouched (its full-dataset baseline goes to status.json in the next step).

Tests: tests/verify all pass; new test_scoped_load.py covers scoped vs full load. Not benchmarked on real data yet (the data tree is not checked out locally).

`app.verify score --changed` parsed all ~190k seed files and then filtered
down to the diff. `_load`/`load_all` now take an optional set of changed
paths; brand and soc stay fully loaded because foreign-key checks and SoC
release dates depend on them. `pr` keeps the full load until its baseline
moves to status.json.

Refs GetTechAPI/TechAPI#350
@Seungpyo1007 Seungpyo1007 added the ci Continuous integration changes label Sep 30, 2026
@Seungpyo1007 Seungpyo1007 self-assigned this Sep 30, 2026
@Seungpyo1007
Seungpyo1007 merged commit ee035e9 into main Sep 30, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the perf/verify-scoped-load branch September 30, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant