Repository navigation
build: run Pack alongside the tests instead of after them - #410
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]>
This was referenced Oct 25, 2026
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
Problem
Packhadneeds: [ 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. Onmainandrelease/**, where checks must pass on an up-to-date branch, every serialized merge pays that time again.The gate guarded nothing.
Packuses no output of either job, and at release timerelease.yml'sVerify and packbuilds the tag, runs the whole suite withCI=true, packs and smoke-testsdistbeforePublishcan start.Change
.github/workflows/dotnet.yml:packhas noneedsany more. Its steps are unchanged: build, pack, the README check,./test/consumer-smoke-test.sh dist, the SBOMs. A comment above the job says why it doesn't wait.FloatCheckConstraintTestsrunsdocs/efcore.md's SQL against PostgreSQL (Integration tests read docs/efcore.md and candidates.json as declared inputs, not through the repository root #344), and the time it would save is small. CI: run Pack alongside the tests instead of after them #409 also has the recommendation onrelease/**strict mode and asks whether this should be cherry-picked torelease/10.x.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: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.
Packused to run from +144–181 s to +261–266 s; it now finishes at +103 s.🤖 Generated with Claude Code