Skip to content

chore: speed up sql tests further#348

Closed
lukepolo wants to merge 3 commits into
mainfrom
chore/optimize-sql-migrations
Closed

chore: speed up sql tests further#348
lukepolo wants to merge 3 commits into
mainfrom
chore/optimize-sql-migrations

Conversation

@lukepolo

@lukepolo lukepolo commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

lukepolo and others added 3 commits July 10, 2026 08:26
Run known-slow suites first via a custom sequencer, move draft-order off
its inline container boot onto the shared template clone, split the warm
setup() re-apply out of fixtures.spec so both heavy flows parallelize,
and pull the database image in the background of yarn install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replica mode skips user triggers on hypertables, which DISABLE TRIGGER
can't cover and whose per-row stat accumulation dominated the fixture
load. The aggregate tables are now recomputed set-based from the
inserted player_kills rows at the end of the load, with the same
semantics the triggers apply per row — which also fixes the season
stats under-attributing kills from the tournament sections, and drops
the parallel array bookkeeping the fixture kept for early matches.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lukepolo lukepolo closed this Jul 10, 2026
@lukepolo lukepolo deleted the chore/optimize-sql-migrations branch July 10, 2026 13:15
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