Git SHA injection broke Docker caching: fixing 28-minute CI rebuilds with bundle hashing
DanielLockyer · x · 2026-11-28
DanielLockyer's PR to Orbit fixes CI image builds that recompiled orbit-server from scratch (28 min amd64, 21 min arm64) on every push, even doc-only changes.
- Root cause: the git SHA was baked into both the web build and the server via ORBITBUILDREVISION, so neither the web nor Rust Docker layer could ever cache.
- Fix: the web revision is now a hash of emitted files (Vite plugin writes orbit-build.json and a <meta name="orbit-revision"> tag); the server no longer checks a revision.
- Side benefit: deploys that don't touch the web app no longer trigger the "New version available" toast.
More from coding & agent
- Claude Code writes worse GPU kernels, 42% slower, when told no one will review the code — bremen79 · 2026-11-28
- Gemini Neon botches a user's year-end recap and apologizes, as Antigravity's permission policy draws flak — teortaxesTex · 2026-11-28
- Claude Sonnet 6 Leak: Early Tests Beat Opus 5.5 With Less Reasoning, Plus Grok 4.8 and Gemini Updates — WorldofAI · 2026-11-28
- Agent memory poisoning: one hallucinated summary can permanently corrupt a persistent-memory agent — Mammoth-Anywhere7285 · 2026-11-28
- Filter Research Ideas with AI: Have Neon Implement It, Claude Reproduce, Drop If They Don't Match — cgarciae88 · 2026-11-28
- Four backend problems still blocking multi-agent systems from scaling past prototypes — TheInnvoator · 2026-11-28