fix(ci): bound the last unguarded bun installs against a hang

Same defect as #4204/#4206: an erroring bun install (corrupt
tarball extraction) can hang instead of exiting, eating a full
job timeout.

- install-workspace-dependencies.sh: portable bash-only watchdog
  (no GNU `timeout` on macOS/Windows runners) so its own retry
  loop can actually fire on a hang.
- k8s-jobs/Dockerfile.example: same timeout+retry as the other
  two fixed Dockerfiles (Debian base, GNU timeout available).
- ci.yml: route the bare Windows install step through the now
  guarded script instead of a raw bun install.

Nothing else in this class is left.

Claude-Session: https://claude.ai/code/session_018Ne5CfTmFV6GStSKZDf2dy
This commit is contained in:
Miguel Angel Simon Sierra
2026-09-19 19:17:13 -04:00
parent 2d84937e1f
commit 33145fa4b6
3 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ jobs:
run: bash scripts/ci/install-workspace-dependencies.sh --ignore-scripts
- name: Install dependencies
if: runner.os == 'Windows'
run: bun install --frozen-lockfile --ignore-scripts --linker=hoisted
run: bash scripts/ci/install-workspace-dependencies.sh --ignore-scripts --linker=hoisted
- run: bun run --cwd packages/cli test src/utils/npxCommand.test.ts src/commands/skills.test.ts
sdk-tests: