fix(relay,discord-triage): align turbo on 2.10.9 so pruned builds resolve

Merged
SA
3mo ago
+11-11

Deploy Relay has been failing on main since #6505 merged:

error: lockfile had changes, but lockfile is frozen

Cause. Both the relay and discord-triage images prune the monorepo with turbo prune and then run bun install --frozen-lockfile. #6505 deduped @octokit/app, which reshuffled hoisting in the root lockfile and dropped some top-level entries (readable-stream@3.6.2, tar-stream@2.2.0, and several nested overrides). turbo 2.8.7's pruned lockfile no longer covers the relay graph, so bun re-resolves and the frozen check fails.

Bisected by prune version against one unchanged checkout of main, so the only variable is turbo:

turbopruned frozen install
2.8.7fails
2.9.14fails
2.10.9succeeds, 1284 packages

One version everywhere. Root was 2.9.14, relay 2.8.7, discord-triage 2.8.7 — all three are 2.10.9 now. discord-triage carried the same latent bug and would have broken on its next build.

Not 2.10.10: it is younger than bunfig.toml's minimumReleaseAge (3 days), which blocks it inside the image build as well as locally.

Not a dependency bump. turbo runs only to produce the pruned tree; the installed set is unchanged. Regenerating the root lockfile also fixes the prune, but only by re-resolving 59 packages to newer versions (ai 5.0.220 → 5.0.236, esbuild, undici, electron-to-chromium…) — a silent mass upgrade that belongs in its own reviewed PR, not in a deploy fix.

Summary by CodeRabbit

  • Chores
    • Updated the container build process to use Turbo version 2.10.9.
    • Updated the project’s Turbo development dependency to version 2.10.9.