Reconcile docs with reality; fix module graph, token compare, health #1

Open
kami wants to merge 216 commits from webui-and-audit-reconciliation into master
2 changed files with 11 additions and 0 deletions
Showing only changes of commit 86b67d9fbf - Show all commits
+5
View File
@@ -1462,6 +1462,11 @@ func main() {
if err := w.api.Register(context.Background(), w.registration); err != nil {
log.Fatalf("register %s: %v", spec.ID, err)
}
// Same reason as the coordinator's: the worker half of the pair must be
// checkable from journalctl, not only from the coordinator's
// credentialed worker list.
b := buildinfo.Current()
log.Printf("orchestra-worker revision %s built %s dirty %s", b.Revision, b.Time, b.Dirty)
log.Printf("serving harness %s (%s) on %s backend, state %s", spec.ID, spec.Harness, w.backend.Kind(), w.statePath)
workers = append(workers, w)
}
+6
View File
@@ -1661,6 +1661,12 @@ func main() {
if port == "" {
port = "9145"
}
// Deployed identity, without a credential. A burn-in run pairs a
// coordinator and a worker, and matching revisions must be evidence rather
// than assumption. /v1/admin/diagnostics carries the same object behind
// the operator login.
b := buildinfo.Current()
log.Printf("orchestra revision %s built %s dirty %s", b.Revision, b.Time, b.Dirty)
log.Println("orchestra listening on :" + port)
tokens := map[authz.Surface]string{
authz.TUI: os.Getenv("ORCHESTRA_TUI_TOKEN"),