Repository navigation
build: run Pack alongside the tests instead of after them (10.x) - #412
Merged
Merged
Conversation
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #409
The 10.x half of #410, cherry-picked with
-x.Closes #nacts only onmain, so #409 is closed from #410.Problem
On
release/10.x,Packhadneeds: [ 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,Packstarted 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.Packuses no output of either job.release.yml'sVerify and packon this branch builds the tag, runs the whole suite withCI=true, packs and smoke-testsdistbeforePublishcan start.Change
.github/workflows/dotnet.yml:packhas noneedsany more, with the same comment as onmain. 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:
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.
Packfinishes at +122 s, just ahead of it.🤖 Generated with Claude Code