Repository navigation
Commit 02bc10e
wp6: pin Bun 1.4.2 and catch up the drifted workflow (#4064)
* chore(deps): move the pinned Bun runtime to 1.4.2
package.json's dependencies.bun is the single source of truth for the runtime:
.github/actions/setup-project-bun reads it with node -p and feeds it to
setup-bun, so one line moves fourteen usages across four workflows. The
Dockerfile tag and its digest move with it, and
tests/ci-workflows/install-scripts.test.ts hard-pins both package.json values,
so it has to move in the same commit or CI goes red.
MIN_FIXED_BUN_VERSION and MIN_BOUNDED_CODEX_WS_BUN_VERSION stay at 1.4.0.
They are thresholds for the lowest release carrying their fixes, not mirrors of
the bundled version; raising them would reclassify healthy 1.4.0 and 1.4.1
runtimes as known-bad and push traffic back to legacy-tee. The
bunRuntimeVersion fixture in container-bootstrap.test.ts is synthetic and also
stays.
bun.lock regenerated with bun install --lockfile-only.
* ci: catch the orphan-cleanup workflow up to the pinned Bun
This workflow opted out of .github/actions/setup-project-bun and named its own
version, so it stayed on 1.3.14 through the 1.4.0 bump and would have stayed
there through this one. It runs one script with no repository install, so the
drift was harmless in practice, but a workflow silently two minor versions
behind the pinned runtime is the kind of thing that is only harmless until it
is not.
Kept as a literal version rather than switching to the composite action:
tests/ci-workflows/cleanup-orphaned-workflows.test.ts asserts this workflow
references the SHA-pinned oven-sh/setup-bun directly, so adopting the composite
is a separate change about that pinning contract.
* test(config): give the config-lock child room to exit on Windows
The full lane=all dispatch for the Bun 1.4.2 bump failed one assertion on
Windows shard 2/6: exit 143 where 0 was expected, in
"a live cross-process holder is not stolen". 143 is SIGTERM — this helper's own
kill() after its 5 s race lost, not a lock defect. The case measured 5858 ms
end to end, so it was sitting right on the boundary.
The child polls for the release marker on a 10 ms sleep, so its exit is bounded
by the filesystem noticing that write plus one Bun teardown, and both are slower
on a loaded Windows runner. 30 s leaves the timeout meaningful for a genuine
hang while removing the false red.
The assertion itself is unchanged: the child must still exit 0.
---------
Co-authored-by: t <[email protected]>1 parent ff524ae commit 02bc10e
6 files changed
Lines changed: 30 additions & 25 deletions
File tree
- .github/workflows
- tests
- ci-workflows
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments