M7 networkmanager: its tools and health

The bundle serves uplink_sign_in, uplink_names_again, uplink_rating_again,
uplink_publish_again and uplink_health: the read of the reaction, the three acts the
parts do by themselves, and the watcher process's health, which also gives the names
again where the resolver no longer holds them.

Builds: design 08 sign-in-page §13, §23
This commit is contained in:
jochen
2026-11-24 21:25:17 +01:00
parent 786a23638b
commit 1dec6eb02c
4 changed files with 299 additions and 12 deletions
@@ -43,17 +43,6 @@ func seatPublish(subject string, body json.RawMessage, id string) error {
return stdio.SeatPublish(subject, body, id)
}
// startBundle is networkmanager's bundle's own work, beside serving its tools.
func startBundle() {
f, err := theFolder()
if err != nil {
journal("the module's folder: %v", err)
return
}
newBundle(f).start(bundleRuns{files: fileEvents, fileMade: fileMade, onHeartbeat: stdio.OnHeartbeat,
subscribe: stdio.Subscribe})
}
// start publishes what is kept and gives the resolver the check's host name, then does each again at its moments: a
// file event on pending/ publishes, a changed check-address gives the names, node-resolver's holder running gives the
// names, and the bus connection's return does both (§13, §20).