The three constants named modules the builder no longer calls or reads: the gate and the checker by nothing, the indexer only by a test's stand-in of a tool the builder stopped calling when the catalog half named the requirements (A-119). A deletion: nothing reads them. Builds: design 47 G §7, §428, A-210 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
26 lines
1.4 KiB
Go
26 lines
1.4 KiB
Go
package main
|
|
|
|
import (
|
|
"git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/seats/meshcatalog"
|
|
)
|
|
|
|
// namedTreePrefix opens the tree input of a module whose every artifact names its paths.
|
|
const namedTreePrefix = "named:"
|
|
|
|
// seatEventPatterns are the seats' events the builder's own handler takes off its durable consumer (its manifest's `consumes` of
|
|
// them): the registry seats' words, artifacts-gone, the build seats' toolchain-reported, condition-cleared, the node-engine
|
|
// seat's events and, of the seat mesh-catalog, manifest-accepted, version-released and versions-filled. The seat mesh-catalog's
|
|
// catalog-revision and registration-changed and the seat mesh-delivery's source-moved are the views reader's (the branch
|
|
// follower's), so no pattern here covers them: a message has one taker.
|
|
var seatEventPatterns = func() []string {
|
|
var out []string
|
|
for _, seat := range []string{"container-image-registry", "go-package-registry", "npm-package-registry", "oci-artifact-registry",
|
|
"mesh-artifact-sweep", "mesh-conditions", "node-engine", "node-build-go", "node-build-image", "node-build-node"} {
|
|
out = append(out, "mesh.seat."+seat+".event.>")
|
|
}
|
|
for _, event := range []string{meshcatalog.EventManifestAccepted, meshcatalog.EventVersionReleased, meshcatalog.EventVersionsFilled} {
|
|
out = append(out, "mesh.seat."+meshcatalog.Seat+".event."+event, "mesh.seat."+meshcatalog.Seat+".event."+event+".>")
|
|
}
|
|
return out
|
|
}()
|