Commit 44fecec
committed
ci: census pnpm acquisition by need, not by mechanism spelling
A grep for `corepack enable` across .github/workflows/ is on its way to 0 as
those sites move onto .github/actions/setup-pnpm. That zero is a true answer
about Corepack that reads as a complete answer about pnpm acquisition, and it
is not one: showcase-smoke.yml acquires pnpm through pnpm/action-setup, which
contains no Corepack string and is invisible to that key. A metric that reaches
zero while its subject survives is worse than no metric.
check-pnpm-acquisition keys the population on the NEED -- every job that RUNS
pnpm -- rather than on any one mechanism spelling, so a mechanism nobody has
taught it cannot become a silent zero: it surfaces as a job running pnpm with
no recognised acquisition, a loud failure. The full census prints on SUCCESS,
every mechanism keeping a row including the ones at 0.
It also pins the ordering that killed two jobs here with "Unable to locate
executable file: pnpm": a setup-node asking for the pnpm store cache shells out
to pnpm, so pnpm must be acquired strictly earlier. That is what makes
showcase-smoke.yml's inverted order safe to leave in place, and what catches the
naive conversion of it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ahemw8RcTgqtxrj15PEZx1 parent 5cb62d8 commit 44fecec
4 files changed
Lines changed: 615 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1654 | 1654 | | |
1655 | 1655 | | |
1656 | 1656 | | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1657 | 1681 | | |
1658 | 1682 | | |
1659 | 1683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
22 | 47 | | |
23 | 48 | | |
24 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments