Title: ci: no PR check evaluates a NixOS host — PR #699's broken amd service merged green and failed only on the laptop switch · Issue #705 · developing-today/code · GitHub
Open Graph Title: ci: no PR check evaluates a NixOS host — PR #699's broken amd service merged green and failed only on the laptop switch · Issue #705 · developing-today/code
X Title: ci: no PR check evaluates a NixOS host — PR #699's broken amd service merged green and failed only on the laptop switch · Issue #705 · developing-today/code
Description: Finding No PR check evaluates any NixOS host configuration, so a host definition that fails at evaluation merges green and is only discovered at just switch time on the machine itself. This already happened: PR #699 (commit 7beeff8b) add...
Open Graph Description: Finding No PR check evaluates any NixOS host configuration, so a host definition that fails at evaluation merges green and is only discovered at just switch time on the machine itself. This already...
X Description: Finding No PR check evaluates any NixOS host configuration, so a host definition that fails at evaluation merges green and is only discovered at just switch time on the machine itself. This already...
Opengraph URL: https://github.com/developing-today/code/issues/705
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ci: no PR check evaluates a NixOS host — PR #699's broken amd service merged green and failed only on the laptop switch","articleBody":"## Finding\n\nNo PR check evaluates any NixOS host configuration, so a host definition that fails at evaluation merges green and is only discovered at `just switch` time on the machine itself. This already happened:\n\n- PR #699 (commit `7beeff8b`) added `nixos/hosts/amd-krdp.nix` with `systemd.user.services.app-org.kde.krdpserver` unquoted. Unquoted, the dotted name parses as nested attrsets, and the value violates the systemd leaf-value type.\n- PR #699's checks were all green — verified via its commit's check-runs: `run` success, `Nix flake evaluation` success, `treefmt check` success.\n- PR #701's body records the first switch attempt on amd failing during evaluation:\n\n ```\n error: A definition for option `home-manager.users.user.systemd.user.services.app-org.kde.krdpserver' is not of type `boolean or signed integer or string or absolute path or list of (...)'\n ```\n\n PR #701 (commit `bfe44fe6`) fixed it by quoting the name — a second PR and a failed switch for a one-character-class bug that any host evaluation in CI would have caught pre-merge. PR #699's own body even claimed a targeted eval had verified the service, so the manual eval is demonstrably not a reliable net here.\n\n## Evidence (current main `f7dfea35`)\n\n- `.github/workflows/nix-ci.yml:60-70` — the `flake-check` job named \"Nix flake evaluation\" (the PR gate that passed on #699/#701) runs exactly three evals, none of them a host:\n\n ```\n nix eval .#devShells.x86_64-linux.default.drvPath\n nix eval .#packages.x86_64-linux.mcpx.drvPath\n nix eval .#apps.x86_64-linux.format-check.program\n ```\n\n (Verified two ways: local clone `git show origin/main:.github/workflows/nix-ci.yml` and `gh api repos/developing-today/code/contents/.github/workflows/nix-ci.yml` — lines 68-70 agree.)\n- A grep of `.github/workflows/` for `nixosConfigurations` finds exactly one hit: `jules-daily-flake-sync.yml:71`, which evaluates `.#nixosConfigurations.nixos.config.system.build.toplevel.drvPath` (the Intel host, not amd) inside a scheduled Jules prompt — not a PR gate.\n- Prior instance of the same discovery pattern: #158 (closed) — \"amd host fails at evaluation\" — was also found manually, not by CI.\n\nSingle-repo: the NixOS hosts (`nixos/hosts/`, `amd`, `nixos`) live only in this repo; dezren39/nix has no `nixos/` host tree and no equivalent workflow.\n\n## Why it matters\n\nThe hosts are Drew's actual machines. An evaluation error that reaches main surfaces at the worst possible moment — mid-switch on the laptop — instead of on the PR that introduced it. Host modules are edited regularly (KRdp is one example), and the type system only protects them if something actually forces the evaluation.\n\n## Acceptance criteria\n\n- [ ] A PR check evaluates at least `.#nixosConfigurations.amd.config.system.build.toplevel.drvPath` (and ideally the `nixos` host's too) — evaluating the drvPath only, no build — or an equivalently deep forced evaluation of the hosts' home-manager/systemd options.\n- [ ] The check demonstrably fails on PR #699's original tree (i.e. with PR #701's quoting reverted) and passes on current main.\n- [ ] The check is bounded so it does not blow up PR CI time (drvPath-only eval, a timeout, and/or path filtering to host-affecting changes are all acceptable ways to achieve this — the failure-on-#699 demonstration is the requirement, not the mechanism).\n\nFiled by the pr-diff-review job from its review of PRs #699/#701.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T00:44:33Z","url":"https://github.com/developing-today/code/issues/705"}
| 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:46ec2fd9-7a95-5d07-6274-b57b38d24720 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B2E:3373A3:8E87E8:B783DC:6B062E9D |
| html-safe-nonce | fbd5754d79814ce2f9deca41ddc2e83671530358852f7e4c4e05bc7800f22b39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjJFOjMzNzNBMzo4RTg3RTg6Qjc4M0RDOjZCMDYyRTlEIiwidmlzaXRvcl9pZCI6IjMwMTc1MzIwMTk4MDgwMjIxNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ff3462ebf208bb70f1958e994aaabe3924e572a7b8b1adf37ea005413abf5b88 |
| hovercard-subject-tag | issue:6007631448 |
| 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/705/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5593c2eb37e67e22458e4821c41c3f4129d0ab20597177ba1850d53371bb916/developing-today/code/issues/705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5593c2eb37e67e22458e4821c41c3f4129d0ab20597177ba1850d53371bb916/developing-today/code/issues/705 |
| og:image:alt | Finding No PR check evaluates any NixOS host configuration, so a host definition that fails at evaluation merges green and is only discovered at just switch time on the machine itself. This already... |
| 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 | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| 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 | 494ea0bb1e0feef734a83e2628697647755e8864 |
| 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