Skip to content

build: run Pack alongside the tests instead of after them - #410

Merged
CaffeinatedCoder merged 3 commits into
mainfrom
ci/409-pack-alongside-tests
Oct 25, 2026
Merged

CaffeinatedCoder merged 3 commits into
mainfrom
ci/409-pack-alongside-tests

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Closes #409

Problem

Pack had needs: [ test, integration ], so it started only after the slowest integration leg and the gate were done, at +139 s to +181 s. The last three runs took 261 s to 266 s. On main and release/**, where checks must pass on an up-to-date branch, every serialized merge pays that time again.

The gate guarded nothing. Pack uses no output of either job, and at release time release.yml's Verify and pack builds the tag, runs the whole suite with CI=true, packs and smoke-tests dist before Publish can start.

Change

Tests

  • ReleaseWiringConventionTests (12) pass locally. The required check names and the integration gate are unchanged.

  • Every check is green on this PR's own run, 40181793770, on a branch up to date with main. All five jobs start at +0 s:

    Job Duration Ends
    Consumer smoke test 98 s +98 s
    Pack 103 s +103 s
    Integration (PostgreSQL 16) 116 s +116 s
    Test (ubuntu-latest) 123 s +123 s
    Integration (PostgreSQL 18) 162 s +162 s
    Integration (live PostgreSQL), the gate 2 s +166 s

    Wall clock: 166 s, down from 261 s to 266 s on the last three runs before this change, which is about 95 s off every run. The critical path is now the PostgreSQL 18 leg plus the gate. Pack used to run from +144–181 s to +261–266 s; it now finishes at +103 s.

🤖 Generated with Claude Code

Pack used no output of test or integration, but `needs: [ test, integration ]`
made it start only after the slowest integration leg and the gate, about 90 s
into every run. It builds, packs, checks the READMEs, smoke-tests dist and
writes the SBOMs on its own, and release.yml re-runs the whole suite before
Publish, so the gate guarded nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Oct 25, 2026
@CaffeinatedCoder CaffeinatedCoder added chore Build, CI, packaging, refactoring with no behaviour change area/release Versioning, changelogs, release wiring labels Oct 25, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit eb81580 into main Oct 25, 2026
11 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the ci/409-pack-alongside-tests branch October 25, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring chore Build, CI, packaging, refactoring with no behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: run Pack alongside the tests instead of after them

1 participant