gunk-dev/the-valley
the-valley:oc-f6c8ea5outcomedone

The slowest checks lose their fixed waits and repeated work

State
done
Created
2026-10-22 by contributor
Changes
  • valley:the-valley/pwswnsslmlvwpxkotuvuvrtntspkmknw

Body

Operator's timings from one approval on a workstation, 2026-10-22 (attest's timing log, 17 checks, about 146 s of checks, run sequentially): valley-request 36 s, module-eval 26 s, review-notes 26 s, own-policy 16 s, valley-ready 13 s, then policy-deriver, valley-changes, valley-knot, valley-self-update at 3.6 to 4.9 s each; three cached checks at about 0.3 s.

Fix what is fixable in the checks themselves: review-notes feeds its pager with fixed sleeps (three `sleep 2 … sleep 1` sequences, nix/checks/review-notes.sh around 40, 165, 402); module-eval took 26 s on the workstation while its build rebuilt in 0.3 s in the guest, so its cost is evaluation (find what it evaluates and whether it can share one evaluation); look for the same in valley-ready. own-policy's cost (it runs the Bash deriver about 20 times) belongs to moving callers onto the Go deriver (oc-6abd49d), not here. Done when each check keeps its assertions and runs measurably faster, with the before/after times in the change description.

Comments

  1. contributor2026-10-22 23:11 UTC
    Change valley:the-valley/pwswnsslmlvwpxkotuvuvrtntspkmknw landed: v1 as ed2ea70fe6b2fd6e6ca74c095cecf9b0c94f6240.
    
    Every change the knot links has landed and it has no active children, so klaus set it done.