`valley telemetry sources` shows mirrors as a single source with the unit states of every project's publish drain. On a host with seven projects, four of them newly given mirrors:
- one project's drain was failing and backing off, and the source read `failed` for all;
- three projects had never pushed to their mirror, because a mirror pushes only when a move is queued and nothing had landed there since the mirror was declared. Their drains read `inactive/dead result success`, which is indistinguishable from a mirror that is up to date.
Nothing states, per project and per mirror, the fact an operator wants: the mirror's tip against the project's, when it last matched, and why the last push failed. A newly declared mirror also stays empty until the project's next landing, with nothing saying so.
Fixed when the mirrors source reports each project's mirrors separately, with last success, how far behind, and the last failure's reason, and when declaring a mirror on an existing project queues its first push.
Comments
contributor2026-11-19 12:14 UTC
The mirror pusher discards git's output (`git push ... >/dev/null 2>&1`) and logs only 'push to <url> FAILED', so the reason a push is refused is recorded nowhere: not in the journal, not in telemetry. A mirror was refused 48 times over eleven hours by a branch rule on the receiving side (pull request and status checks required on main), and it was first diagnosed as a missing credential because nothing said otherwise. The last line of the remote's refusal, with any credential in the URL removed, belongs in the failure record.
contributor2026-11-20 21:43 UTC
Change valley:the-valley/lknrrkutplmqtlpltnlyqoqsmrlzpswk landed: v5 as 672eff5ffaec6174fcf4910e4e696036c0577cc5.
Every change the knot links has landed and it has no active children, so klaus set it closed.
contributor2026-11-20 21:51 UTC
Landed as 672eff5 after four rounds. Final shape: valley-init queues a declared-mirror entry per mirrored project so a first push needs no landing; a failed push logs the remote's reason through pushreason (words end at ASCII spaces only; any word with an address or parameter mark is dropped whole); the declared mirror URL is logged as written. Known limit: a secret a remote prints as a plain word passes through. Takes effect on a host once its configuration takes this revision.