Skip to content

build: Pack and Consumer start alongside the test legs - #114

Closed
CaffeinatedCoder wants to merge 1 commit into
release/2.3.0from
chore/pack-alongside-tests
Closed

CaffeinatedCoder wants to merge 1 commit into
release/2.3.0from
chore/pack-alongside-tests

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #72

Problem

pack and consumer needed the whole test matrix, so Pack started after the Windows leg and set the run's critical path (median 16.9 min, p90 18.6). Neither reads the tests' outcome: each builds on its own.

Change

  • .github/workflows/dotnet.yml: pack and consumer need [ changes ] alone and start alongside the test legs. A comment says why.
  • Merge blocking is unchanged. A red Linux test leg blocks through its own required check. A red Windows or macOS leg blocked nothing before either: it skipped Pack, and a skipped required check reads as passing. The gate job of CI: a gate job over every job, and which legs it requires #71 makes every leg count.
  • release.yml's verify job keeps its order.
  • ReleaseWiringTests holds both jobs' needs to [ changes ].

Tests

  • Conventions tests: 1548 passed.
  • Seeded: test put back into the consumer job's needs fails The_build_workflow_packs_a_pull_request_only_when_the_diff_can_change_a_package; undone, it passes.
  • The wall-clock gain (estimated 9 to 10 minutes) is measured on this PR's runs and recorded on CI: Pack and Consumer start alongside the test legs #72.

🤖 Generated with Claude Code

They build on their own and never read the tests' outcome, but needed the
whole test matrix, so Pack started after the Windows leg and set the run's
critical path (median 16.9 min, #72). Both now need changes alone.

A red Linux test leg still blocks the merge through its required check. A red
Windows or macOS leg blocked nothing before either: it skipped Pack, and a
skipped required check reads as passing. The gate job (#71) makes every leg
count. release.yml's verify job keeps its order.

ReleaseWiringTests holds the needs key to [ changes ]; seeded: putting test
back into the consumer job's needs fails it.

Refs #72

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 2.3.0 milestone Oct 29, 2026
@CaffeinatedCoder CaffeinatedCoder added chore Build, CI, tooling, packaging, refactoring with no behaviour change area/tooling The repository's tools: prober, verdict, guard, docs-query, smoke test labels Oct 29, 2026
@CaffeinatedCoder

Copy link
Copy Markdown
Owner Author

Superseded by #117: the same commit on build/pack-alongside-tests, since chore/ is no branch type PR hygiene accepts (build/ maps to the chore label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tooling The repository's tools: prober, verdict, guard, docs-query, smoke test chore Build, CI, tooling, packaging, refactoring with no behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant