A want asking bus state waits until a build offering bus-state runs healthy on a node present (ADR 0614 §5; issue 774)
bus-state is answered with no credential of a consumer's own, so ADR 0603 §5 counts the provider's own have: the assigner reads, per pass, what the running healthy builds on online nodes offer (their manifests through the builder's builds) and holds a consumer with a bus-state entry under the provisions' rule until one offers it, handed or not and with no provisioner key. The words name bus state, and the delivery view names the edge from them. Claude-Session: https://claude.ai/code/session_01JG73KG7AfSdh6FP8VrBqCn
This commit is contained in:
@@ -135,8 +135,9 @@ func TestGraphEdges(t *testing.T) {
|
||||
for words, want := range map[string]string{
|
||||
VerbWaitWords("seat:mesh-catalog.modules", "artifact-store-tools", "g14"): "verb seat:mesh-catalog.modules",
|
||||
ReaderWaitWords("g14", []string{"tool-runner", "bus-state"}, "node-tools", "src2:abcdef"): "reader capability tool-runner, bus-state",
|
||||
"the verb is served": "",
|
||||
"the node-engine of g14 has not started": "",
|
||||
BusStateWaitWords("keeper", "g14"): "bus state",
|
||||
"the verb is served": "",
|
||||
"the node-engine of g14 has not started": "",
|
||||
} {
|
||||
if got := EdgeOfWords(words); got != want {
|
||||
t.Errorf("the edge of %q = %q, want %q", words, got, want)
|
||||
|
||||
Reference in New Issue
Block a user