The seat mesh-delivery-checker's generated Go seat, client and TypeScript package go from mesh-delivery-contracts (and their entries in its manifest), with the old copies under contracts/go; the indexer, the forge bridge and the assigner require them no more, and the assigner judges with its own internal/assignment verdict constants. The git, node-build-go and node-build-node fixtures, the buildstep and steprun tests and the indexer's and assigner's whole tests name the seat mesh-wants (the asker of every check-kind run in H1) or the runner where they named the checker; the indexer's unused CheckerModule and the judge's stream exemption for the checker go. The step kinds check and recheck stay with their queues (H-A-117). Builds: design 47 H H-A-57, H-A-117 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
28 lines
1.2 KiB
Go
28 lines
1.2 KiB
Go
package index
|
|
|
|
// The holders, states and buckets the indexer names, taken from its own manifest (module.json: its name, its `state`, its
|
|
// `reads`) and from the manifests of the holders it reads; a unit row checks them against the manifest
|
|
// (TestTheNamesAreTheManifests). No contract names a holder (novox/hq ADR 0625 §4, ADR 0634 §1).
|
|
const (
|
|
// The indexer's own states, with the revisions each keeps per key (module.json `state`).
|
|
CandidatesState = "candidates"
|
|
CandidatesHistory = 10
|
|
ModulesState = "modules"
|
|
ManifestsState = "manifests"
|
|
ManifestsHistory = 1
|
|
PredefinedState = "predefined"
|
|
PackagesState = "packages"
|
|
PackagesHistory = 5
|
|
TakenState = "taken"
|
|
PredefinedListKey = "list"
|
|
GateModule = "mesh-delivery-gate"
|
|
toolchainsState = "toolchains"
|
|
)
|
|
|
|
// ToolchainsBucket is the toolchains state of a build module (reads: mesh-build-go.toolchains, mesh-build-node.toolchains).
|
|
func ToolchainsBucket(module string) string { return module + "_" + toolchainsState }
|
|
|
|
// Bucket is the bus's bucket of the indexer's own state, `<module>_<state>`, module its credential's, never a constant
|
|
// (design 47 G A-296).
|
|
func Bucket(module, state string) string { return module + "_" + state }
|