`valley-web-publish` collects knot details by running `valley knot show` once per knot (`webui/cmd/valley-web-publish/valley.go`). Each run fetches and loads the whole graph (`status/knot.go`), so a pass costs knots × graph size: - At thousands of knots, a pass cannot finish inside the unit's `TimeoutStartSec`. - At moderate sizes, ordinary graph writes during the long window make every attempt fail as inconsistent. - Policy is read at a snapshot of main while knots are read live. Knots written just after a project goes private can go out in a pass that is already under way, and the window is as long as the pass. A fix: read every knot at the plan's tip with `knot show --at`, which `knotShow` supports, or add one command that returns every knot's detail. Check that the detail's `tip` field then reports the `--at` commit. Fixed when a pass reads the graph at one commit, and its cost grows with the graph's size rather than knots × size. Source: 2026-10-26, review of the web UI as landed on main at `ac8c5f17`.
No comments.