Skip to content

chore: optimize sql tests and demo playback perf#349

Merged
lukepolo merged 4 commits into
mainfrom
chore/optimize-sql-migrations-test
Jul 10, 2026
Merged

chore: optimize sql tests and demo playback perf#349
lukepolo merged 4 commits into
mainfrom
chore/optimize-sql-migrations-test

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

No description provided.

lukepolo and others added 4 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 merged commit 771265f into main Jul 10, 2026
2 checks passed
@lukepolo lukepolo deleted the chore/optimize-sql-migrations-test branch July 10, 2026 13:13
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