Commit 40f3308
ci: install git in stock-Ubuntu baseline job (#4847)
The nodeJsBaselineAptCompatibility job runs `apt install --yes nodejs npm`
in an ubuntu:26.04 container. The test suite bootstraps throwaway repos via
`git init`, and the git binary only ever arrived as an apt Recommends of the
npm chain — never a hard dependency.
On 2026-06-25 that broke: with the identical image digest and identical
nodejs 22.22.1 / npm 9.2.0, apt stopped installing Recommends (logging
`Recommended packages: build-essential git ...` and skipping them), so git
was absent and ~189 git-dependent tests errored. Same commit had passed the
day before — purely an environment shift in the fast-moving 26.04 archive.
Install git explicitly so the job no longer relies on an un-guaranteed
Recommends default. This stays in the spirit of the job (stock apt packages,
no actions/setup-node); git is a standard system tool, not a Node shortcut.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d4a7962 commit 40f3308
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| |||
0 commit comments