Files
mesh-delivery/modules/mesh-delivery-builder/buildrun/names.go
T
jschoubben 07c13b0b9c B1 (builder): the builder's own buckets are named from its credential's module
The versions, bounds, reserved, publish-queue, acted, toolchains-heard and instances buckets were constants naming
mesh-delivery-builder; ownBucketsOf takes them from the module the credential names.

Builds: design 47 G A-296, §428

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 23:32:42 +01:00

12 lines
698 B
Go

package buildrun
// The holders' states the runner reads are named from the build seats' and the assigner's holders found at run time: a bucket is
// `<holder module>_<state>`, and no contract names a holder (novox/hq ADR 0625 §4, ADR 0634 §1).
// StepsBucket is the bucket of a build module's state steps.
func StepsBucket(module string) string { return module + "_steps" }
// ToolchainsBucket is the bucket of a build module's state toolchains, which the checker and the indexer read (the builder
// hears the toolchain-reported events and keeps the state ToolchainsHeardState instead; design 47 G §492, §604).
func ToolchainsBucket(module string) string { return module + "_toolchains" }