Title: id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI · Issue #541 · developing-today/code · GitHub
Open Graph Title: id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI · Issue #541 · developing-today/code
X Title: id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI · Issue #541 · developing-today/code
Description: What and why Rebuild every example with the nix/roc.nix compiler, make each build.sh refuse another compiler, and add a CI job that rebuilds examples and checks behaviour (not hashes) with the sandbox suite and fuel budgets. Checked-in m...
Open Graph Description: What and why Rebuild every example with the nix/roc.nix compiler, make each build.sh refuse another compiler, and add a CI job that rebuilds examples and checks behaviour (not hashes) with the sand...
X Description: What and why Rebuild every example with the nix/roc.nix compiler, make each build.sh refuse another compiler, and add a CI job that rebuilds examples and checks behaviour (not hashes) with the sand...
Opengraph URL: https://github.com/developing-today/code/issues/541
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(roc): F11.18 pin the Roc compiler for checked-in example modules and rebuild them in CI","articleBody":"## What and why\n\nRebuild every example with the `nix/roc.nix` compiler, make each build.sh refuse another compiler, and add a CI job that rebuilds examples and checks behaviour (not hashes) with the sandbox suite and fuel budgets. Checked-in modules are built with whatever `roc` is on PATH, so nobody can tell which compiler produced them or rebuild them the same way.\n\n## Source\n\n- [`.opencode/plans/phase-11-foundations.md:58`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-11-foundations.md#L58)\n- [`.opencode/plans/2026-10-20_phase-11-status.md:28`](https://github.com/developing-today/code/blob/main/.opencode/plans/2026-10-20_phase-11-status.md#L28)\n\n## Current status\n\n**Not started.** pkgs/id/examples/territory/build.sh:4 `ROC=\"${ROC:-roc}\"`, with no version check (the same pattern is in every build.sh). pkgs/id/tests/toolchain_pin.rs covers only the Rust toolchain. No workflow in .github/workflows/ rebuilds examples.\n\n## Acceptance criteria\n\n- [ ] Every example is rebuilt with the `nix/roc.nix` compiler\n- [ ] Each `build.sh` refuses to run with any other compiler version\n- [ ] A CI job rebuilds the examples and checks behaviour (sandbox suite and fuel budgets), not hashes\n\n## Size\n\nM\n\n## Prerequisites\n\nNone.\n\n\u003c!-- discovery:D1-018 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:07:44Z","url":"https://github.com/developing-today/code/issues/541"}
| 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:88987acc-c5ae-cdbe-e74e-320137f0df07 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA3C:3CBF9:A55113:D4B8C3:6B063433 |
| html-safe-nonce | bccaebd5c19e574fc98e8cfc3706037f61615ec9d1c1be44527550cd242b100a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTNDOjNDQkY5OkE1NTExMzpENEI4QzM6NkIwNjM0MzMiLCJ2aXNpdG9yX2lkIjoiMTQxOTU5NDUwNTM5MjYzMjg4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e0758873ac911c8bfd83c43bee710a0d570aa6f84a381ad58152e52cea67908b |
| hovercard-subject-tag | issue:5974045165 |
| 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/developing-today/code/541/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b7a616f55905f7bf5d54496e0ee4669c6c2ef72a7c4ff4af6766da3490242ad/developing-today/code/issues/541 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b7a616f55905f7bf5d54496e0ee4669c6c2ef72a7c4ff4af6766da3490242ad/developing-today/code/issues/541 |
| og:image:alt | What and why Rebuild every example with the nix/roc.nix compiler, make each build.sh refuse another compiler, and add a CI job that rebuilds examples and checks behaviour (not hashes) with the sand... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width