Commit 62c5ec5
committed
docs(ci): correct the app-image runner sizing rationale with measured numbers
The comment justified 16 vCPU by claiming both dominant steps scale with
cores. Only one does. Measured across two runs that restored the same
sticky-disk parent snapshot, so runner size was the only variable:
[builder 5/6] next build 490.5s -> 143.9s (3.4x)
[deps 4/4] bun install+gyp 465.3s -> 547.2s (no gain)
The deps layer is a bun install plus a node-gyp rebuild pinned to JOBS=4
to avoid an OOM, so cores cannot help it.
This matters because end-to-end duration says the opposite. The deps layer
misses the Docker cache on nearly every run, and that ~500s swing swamps the
3.4x -- the one 16 vCPU sample (965s) lands mid-spread of the 8 vCPU samples
(766/778/1020/1167s), which reads as "no win" and invites a revert that would
throw away a real one. The miss is upstream: all five image builds share one
Blacksmith sticky disk (setup-docker-builder keys it on GITHUB_REPO_NAME
alone), so consecutive app builds restore the same parent snapshot and each
one's cache commit is discarded.
Comment-only; no behavior change.1 parent 258a37c commit 62c5ec5
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
168 | 173 | | |
169 | 174 | | |
170 | 175 | | |
| |||
0 commit comments