mesh/delivery-group group fix/steps-bucket-ages held: a member is held: novox/mesh-sdk@518dae5ec9c8 (merged without a passing check: only a person decides what…
mesh/delivery held for a person: merged without a passing check: only a person decides what follows
mesh/check pass 4e82a824be7a on cdbe2945cf6e | unit 1994 run, 2322 kept, 5 skipped | integration 2016 run, 2341 kept, 9 skipped | over bound: unit, in…
Without it in Kept, stdio.KeptState refuses the state before the bus (mesh-sdk go/keeps.go refusedUnannounced), so the pause could be neither read nor written.
22 lines
868 B
Go
22 lines
868 B
Go
package main
|
|
|
|
// What this module keeps on the bus, announced from its code (novox/hq ADR 0495 §2 §5; issue 1790): every state it
|
|
// keeps, each readable by others, since another module reads each today (the builder, the checker and the indexer read toolchains; the builder and the checker read steps; gitea reads keys). A state of its own that it
|
|
// did not name here is refused at the call (stdio.Keeps).
|
|
|
|
import (
|
|
stdio "git.novox.be/novox/mesh-sdk/go"
|
|
"git.novox.be/novox/mesh-sdk/go/announce"
|
|
)
|
|
|
|
// Kept are the states the module keeps.
|
|
var Kept = []announce.State{
|
|
{Name: "toolchains", Readable: true},
|
|
{Name: "keys", Readable: true},
|
|
{Name: "steps", Readable: true},
|
|
{Name: "pauses", Readable: true},
|
|
}
|
|
|
|
// keepStates announces Kept as this module's (stdio.Keeps): main calls it before it serves.
|
|
func keepStates() error { return stdio.Keeps(Kept...) }
|