gunk-dev/the-valley
the-valley:bd-8bea2f2bugclosed

No check covers the check worker's five-minute first pass

State
done
Created
2026-10-26 by contributor
Source
2026-10-26, review of lwly as landed on main
Changes
  • valley:the-valley/xpzwnywoxrmuvosvuwxtnxxyzlltpvyr

Body

The host module delays the check worker's first pass by five minutes after activation (`OnActiveSec = "5m"` in `nix/valley-host.nix`). No check covers it:
- `nix/checks/worker-e2e.nix` overrides `OnActiveSec`.
- The eval check in `nix/checks/host-module.nix` asserts only `OnUnitInactiveSec`.

Reverting the delay to `OnBootSec`, or dropping it, passes every check. The publisher's timer is pinned the same way, and its check asserts both fields.

The comment beside the delay says the first pass never runs inside a switch. `OnActiveSec` only delays the first pass; `OnUnitInactiveSec` can fire during any switch. The comment should state that limit, as the publisher module's does.

Also, from the same change: worker-e2e's CPU measurement window went from 10 s to 5 s with the same bounds, and the spin from 1M to 250k iterations, so the test is less sensitive to overlapping builds.

Fixed when the eval check asserts `OnActiveSec` is five minutes and no `OnBootSec` is set, and the comment states what the delay does.

Source: 2026-10-26, review of the-valley change lwly as landed on main.

Comments

  1. contributor2026-10-26 19:36 UTC
    Change valley:the-valley/xpzwnywoxrmuvosvuwxtnxxyzlltpvyr landed: v1 as 8e6da50db59a5d39944eb31000e87a558a7e3053.