Commit de1cb8d
ci: census pnpm acquisition by need, not by mechanism spelling (#11779)
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.
Claude-Session: https://claude.ai/code/session_015ahemw8RcTgqtxrj15PEZx
Co-authored-by: Claude <noreply@anthropic.com>1 parent 705d321 commit de1cb8d
4 files changed
Lines changed: 615 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1671 | 1671 | | |
1672 | 1672 | | |
1673 | 1673 | | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1674 | 1698 | | |
1675 | 1699 | | |
1676 | 1700 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
0 commit comments