Title: Nix CI cannot read the relay kit from the repo-root doc tree · Issue #238 · developing-today/code · GitHub
Open Graph Title: Nix CI cannot read the relay kit from the repo-root doc tree · Issue #238 · developing-today/code
X Title: Nix CI cannot read the relay kit from the repo-root doc tree · Issue #238 · developing-today/code
Description: Problem test-sandbox fails in Nix CI for every PR: thread '...' panicked at tests/relay_ops.rs:31:36: the relay kit is readable: Os { code: 2, kind: NotFound, ... } pkgs/id/tests/relay_ops.rs reads the relay kit from pkgs/id/../../doc/20...
Open Graph Description: Problem test-sandbox fails in Nix CI for every PR: thread '...' panicked at tests/relay_ops.rs:31:36: the relay kit is readable: Os { code: 2, kind: NotFound, ... } pkgs/id/tests/relay_ops.rs reads...
X Description: Problem test-sandbox fails in Nix CI for every PR: thread '...' panicked at tests/relay_ops.rs:31:36: the relay kit is readable: Os { code: 2, kind: NotFound, ... } pkgs/id/tests/relay_ops....
Opengraph URL: https://github.com/developing-today/code/issues/238
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nix CI cannot read the relay kit from the repo-root doc tree","articleBody":"## Problem\n\n`test-sandbox` fails in Nix CI for every PR:\n\n```\nthread '...' panicked at tests/relay_ops.rs:31:36:\nthe relay kit is readable: Os { code: 2, kind: NotFound, ... }\n```\n\n`pkgs/id/tests/relay_ops.rs` reads the relay kit from\n`pkgs/id/../../doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay`.\nThe `id` flake lives in `pkgs/id`, so its source tree does not contain that\nrepo-root `doc/` directory. Locally the tests pass; in the Nix sandbox all 21\n`relay_ops` tests fail in 0.01s.\n\nObserved on PR #228 (run 38904420841), #231 (run 38907546331), and main-based\nPRs #235/#236, so it is pre-existing rather than stack-specific.\n\n## Follow-up\n\nKeep one source of truth and make it visible to the flake. Options:\n\n- Vendor the relay kit under `pkgs/id/tests/fixtures/relay` and point the test\n there, with a note that the design doc copy is canonical (or move it and link\n the doc to the new location).\n- Add the directory to the flake's source (for example via `lib.fileset` or a\n `builtins.path` import) and pass its store path to the test as an env var.\n A flake may not reference paths outside its own source directly.\n\nWhichever lands, the test should fail loudly rather than skip when the kit is\nmissing, so CI keeps checking the unit/config files.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-17T07:24:19Z","url":"https://github.com/developing-today/code/issues/238"}
| 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:d4b18920-9d0c-d8f3-58e1-01a152543940 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9914:29C715:2F337B:3E0FCD:6B061668 |
| html-safe-nonce | 75dff0343222ceda8893a8e888f5620212ed830b7795d6823ec18f630b6cd6cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTE0OjI5QzcxNToyRjMzN0I6M0UwRkNEOjZCMDYxNjY4IiwidmlzaXRvcl9pZCI6IjE5NzkzNTYyNjkyMTA1NTg0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7686119d21b67038383356c269fd0a85096ff467201ba0688d08a79b1b9a41a5 |
| hovercard-subject-tag | issue:5896062356 |
| 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/238/issue_layout |
| twitter:image | https://opengraph.githubassets.com/264ac638893e06b958ded523fbc4297143ebfe6143ec174f15fe86f0f4d17eb7/developing-today/code/issues/238 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/264ac638893e06b958ded523fbc4297143ebfe6143ec174f15fe86f0f4d17eb7/developing-today/code/issues/238 |
| og:image:alt | Problem test-sandbox fails in Nix CI for every PR: thread '...' panicked at tests/relay_ops.rs:31:36: the relay kit is readable: Os { code: 2, kind: NotFound, ... } pkgs/id/tests/relay_ops.rs reads... |
| 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 | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| 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 | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| 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