Title: dogfood: prevent tool version pin rot in release-branch image builds · Issue #30876 · coder/coder · GitHub
Open Graph Title: dogfood: prevent tool version pin rot in release-branch image builds · Issue #30876 · coder/coder
X Title: dogfood: prevent tool version pin rot in release-branch image builds · Issue #30876 · coder/coder
Description: Follow-up from review on #30874 (comment). Problem Dogfood image builds on long-lived release branches keep breaking from "pin rot": tools installed at build time resolve against today's upstream registries while the base image toolchain...
Open Graph Description: Follow-up from review on #30874 (comment). Problem Dogfood image builds on long-lived release branches keep breaking from "pin rot": tools installed at build time resolve against today's upstream r...
X Description: Follow-up from review on #30874 (comment). Problem Dogfood image builds on long-lived release branches keep breaking from "pin rot": tools installed at build time resolve against today...
Opengraph URL: https://github.com/coder/coder/issues/30876
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dogfood: prevent tool version pin rot in release-branch image builds","articleBody":"Follow-up from review on #30874 ([comment](https://github.com/coder/coder/pull/30874#pullrequestreview-5538704308)).\n\n## Problem\n\nDogfood image builds on long-lived release branches keep breaking from \"pin rot\": tools installed at build time resolve against today's upstream registries while the base image toolchain is frozen by digest. On `release/2.29`, `cargo install jj-cli typos-cli watchexec-cli@2.3.2` (unpinned, unlocked) started requiring a newer rustc than the pinned base image provides, and the Nix image broke because the pinned nixpkgs fetches a Chrome build Google no longer serves (also seen on 2.34 in #30858).\n\n#30874 fixed 2.29 by pinning `jj-cli`/`typos-cli` and adding `--locked`, which follows what we do elsewhere, but it's a point fix. The same class of failure can recur on any branch that installs tools from upstream registries at image build time.\n\n## Context\n\nPer @denisra on #30874, more recent releases moved these tools to mise, so the immediate exposure may be limited to 2.29, which is expected to get about one more release before EOL. Worth confirming whether the mise setup on current branches fully pins versions (and checksums), or whether the same rot can happen there over a release branch's lifetime.\n\n## Proposal\n\nAgree on a systemic approach so release-branch dogfood builds stay reproducible, e.g.:\n\n- Audit dogfood image tool installs on `main` and supported release branches for unpinned or unlocked versions.\n- Require exact versions (and lockfiles/checksums where supported) for build-time tool installs.\n- Consider periodic scheduled builds of release-branch dogfood images so rot is caught before it blocks a backport.\n\nCreated on behalf of @droopy4096\n","author":{"url":"https://github.com/apps/coder","@type":"Person","name":"coder"},"datePublished":"2026-10-15T19:54:16Z","url":"https://github.com/coder/coder/issues/30876"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cce9e09f-9118-e706-9a33-900d1b31d2f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B76C:229B2E:13807C2:19BDD3A:6B011D57 |
| html-safe-nonce | 339ced8263bb4d001d6a4f5588d1b0c3ed34ef5b08cc7b407f8817a9276ed68f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzZDOjIyOUIyRToxMzgwN0MyOjE5QkREM0E6NkIwMTFENTciLCJ2aXNpdG9yX2lkIjoiNDYzMTY2NjU4MTc0NTc2OTgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a71001b64e2dfceaa6770d5be2f7f6fbcd657de3d2efca9f69e7b01f5de5f958 |
| hovercard-subject-tag | issue:5872946377 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/30876/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be0c8f88e721a4b161a668d074b432dcbb14fdda9df6e971e366b87cc365dfc1/coder/coder/issues/30876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be0c8f88e721a4b161a668d074b432dcbb14fdda9df6e971e366b87cc365dfc1/coder/coder/issues/30876 |
| og:image:alt | Follow-up from review on #30874 (comment). Problem Dogfood image builds on long-lived release branches keep breaking from "pin rot": tools installed at build time resolve against today's upstream r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coder[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width