Skip to content

build: run Pack alongside the tests instead of after them (10.x) - #412

Merged
CaffeinatedCoder merged 2 commits into
release/10.xfrom
ci/409-pack-alongside-tests-10.x
Oct 25, 2026
Merged

CaffeinatedCoder merged 2 commits into
release/10.xfrom
ci/409-pack-alongside-tests-10.x

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Closes #409

The 10.x half of #410, cherry-picked with -x. Closes #n acts only on main, so #409 is closed from #410.

Problem

On release/10.x, Pack had needs: [ test, integration ]. It started only after the slowest of the four integration legs (PostgreSQL 16 and 18 × EF Core floor and newest patch) and the gate were done. In run 40181175011, Pack started at +144 s and the run took 266 s. The branch requires its checks on an up-to-date branch, so every one-at-a-time merge in the 10.2.0 burst paid that time again.

Pack uses no output of either job. release.yml's Verify and pack on this branch builds the tag, runs the whole suite with CI=true, packs and smoke-tests dist before Publish can start.

Change

  • .github/workflows/dotnet.yml: pack has no needs any more, with the same comment as on main. Its steps are unchanged.

Tests

  • ReleaseWiringConventionTests (12) pass locally on this branch.

  • Every check is green on this PR's own run, 40182915762. All eight jobs except the gate start at +0 s:

    Job Duration Ends
    Consumer smoke test 104 s +104 s
    Test (ubuntu-latest) 108 s +108 s
    Pack 122 s +122 s
    Integration (PostgreSQL 16, EF Core floor) 127 s +127 s
    Integration (PostgreSQL 18, EF Core floor) 128 s +128 s
    Integration (PostgreSQL 18, EF Core 10.0.13) 132 s +132 s
    Integration (PostgreSQL 16, EF Core 10.0.13) 138 s +138 s
    Integration (live PostgreSQL), the gate 3 s +143 s

    Wall clock: 143 s, down from 266 s in run 40181175011 before the change. The critical path is now the slowest integration leg plus the gate. Pack finishes at +122 s, just ahead of it.

🤖 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]>
(cherry picked from commit 66cbbe0)
@CaffeinatedCoder CaffeinatedCoder added this to the 10.2.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 modified the milestones: 10.2.0, 10.3.0 Oct 25, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit 604b7e1 into release/10.x Oct 25, 2026
10 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the ci/409-pack-alongside-tests-10.x branch October 25, 2026 10:23
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.

1 participant