Skip to content

perf(ci): split the e2e server leg pg/rest and rebalance the lake partitions to three - #394

Merged
athvin merged 1 commit into
mainfrom
bm/ci-e2e-rebalance
Nov 2, 2026
Merged

athvin merged 1 commit into
mainfrom
bm/ci-e2e-rebalance

Conversation

@athvin

@athvin athvin commented Nov 2, 2026

Copy link
Copy Markdown
Owner

What

Second pass over the e2e tier #388 split, now that its first run measured where the floor moved:

  • Server leg → 2-slice matrix: pg runs cargo test -p er-server --test main pg_ (the module-name prefix makes the match complete — a test either matches pg_ or runs in the other slice's --skip pg_); rest runs dedupe-cli + er-entity-diff unfiltered (their Postgres tests have non-pg_ fn names in separate binaries — a name filter could silently drop them), er-server's remaining targets with the complementary skip, and the extensions step. Both slices keep the postgres service (non-pg_ er-server tests like db_per_test still reach the DSN). Both stay plain cargo test — nextest must not touch the pg suite.
  • Lake partitions 2 → 3: the first hash run landed 518s/274s of test execution (run 41478579329) — count-balanced, duration-skewed. Three partitions put the expected leg under the server slices' wall.
  • Gate unchanged: its needs: [detect, lake-e2e, ducklake-e2e] aggregates all legs; context "DuckLake + extensions e2e" untouched.

Expected

Tier wall ~15m → ~11m, making rust's PR wall ≈ max(e2e ~11m, test ~10m) ≈ ~11m (was ~30–35m this morning).

Verification

  • This PR's own run: 5 e2e legs + gate green under the old context.
  • pg slice log shows only pg_* tests; rest slice shows er-entity-diff's postgres tests present (nothing dropped).

🤖 Generated with Claude Code

…titions to three

The server leg (14.7m) was the e2e tier's floor after the #388 split: build,
then er-server's 419s suite, then the extensions step's second build. Two
slices now run in parallel — `pg` (er-server's pg_* modules, complementary by
module-name prefix) and `rest` (dedupe-cli + er-entity-diff unfiltered, since
their Postgres tests carry non-pg_ fn names a filter could silently drop;
er-server's remaining targets with the complementary --skip; extensions).

The lake partitions go 2 -> 3: the first hash run landed 518s/274s of test
execution — count-balanced, duration-skewed — and three put the expected leg
under the server slices' wall. Expected tier wall ~15m -> ~11m; the gate's
`needs` is unchanged (the matrix aggregate covers both slices).

Co-Authored-By: Claude Fable 5 <[email protected]>
@athvin
athvin merged commit 1a756a9 into main Nov 2, 2026
32 checks passed
athvin added a commit that referenced this pull request Nov 2, 2026
…ngs (#395)

The after-numbers for #388/#389/#391/#393/#394: PR wall ~32-35m -> ~13.5m,
per-leg breakdowns, the completeness checks that were run rather than
assumed, the remaining floors (er-server's pg suite at 423.8s, hash
lumpiness, playwright shard 2) and the deliberate minutes cost. Plus two
findings: a lock-touching PR runs cold until merge by design (read-only
sccache role), and the disk-reclaim step stays on every leg by measurement
(15G free at boot, ~7G/~2G margins without it).

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
@athvin
athvin deleted the bm/ci-e2e-rebalance branch November 2, 2026 17:04
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.

2 participants