fix(dashy): Studio's Pi Durable links follow their services (#10) #19

Manually merged
bryan merged 1 commit from n10-3a-dashy-links into main 2026-11-10 23:07:31 +00:00
Owner

Follow-up of N10.3 (#10, #16).

Problem. Studio's Dashy links always named the SGG pre-review, Claude usage and Planning probes. Those probes are declared only while their Pi Durable service is enabled, so evaluating Studio with the sampler, the service or planning off tripped Dashy's assertion "each link's statusName must name a contentProbes entry". scripts/test_pi_durable_module.py had 5 failures on main since dd9824a.

Fix. modules/hosts/studio.nix lists each Pi Durable page's link only while its service is enabled and has a Serve port, which is when its probe exists. The assertion and the existing tests are unchanged.

Checks

  • scripts/test_pi_durable_module.py: 61 OK (was 5 failures).
  • scripts/test_dashy_status_api.py: 22 OK; new test_a_pi_durable_link_follows_its_service fails 3 subtests against main.
  • darwin-rebuild build --flake .#studio: builds, and the system is the same store path as main's (Dashy's built conf.yml too), so nothing changes on the host.
  • nixpkgs-fmt --check clean on the changed Nix file.
Follow-up of N10.3 (#10, #16). **Problem.** Studio's Dashy links always named the `SGG pre-review`, `Claude usage` and `Planning` probes. Those probes are declared only while their Pi Durable service is enabled, so evaluating Studio with the sampler, the service or planning off tripped Dashy's assertion "each link's statusName must name a contentProbes entry". `scripts/test_pi_durable_module.py` had 5 failures on main since `dd9824a`. **Fix.** `modules/hosts/studio.nix` lists each Pi Durable page's link only while its service is enabled and has a Serve port, which is when its probe exists. The assertion and the existing tests are unchanged. **Checks** - `scripts/test_pi_durable_module.py`: 61 OK (was 5 failures). - `scripts/test_dashy_status_api.py`: 22 OK; new `test_a_pi_durable_link_follows_its_service` fails 3 subtests against main. - `darwin-rebuild build --flake .#studio`: builds, and the system is the same store path as main's (Dashy's built `conf.yml` too), so nothing changes on the host. - `nixpkgs-fmt --check` clean on the changed Nix file.
Studio named the SGG pre-review, Claude usage and Planning probes in its
Dashy links unconditionally, so turning a Pi Durable service off tripped
Dashy's statusName assertion (5 failures in test_pi_durable_module.py
since dd9824a). Each link is now listed only while its service is
enabled and has a Serve port, which is when its probe is declared.
Studio's built system is unchanged.
bryan manually merged commit 392e74a648 into main 2026-11-10 23:07:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bryan/nix-configs!19
No description provided.