DLV-C3: tag-wanted is the mesh-delivery-checker definition's holder event, branch included
Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -12,6 +12,7 @@ require git.novox.be/novox/mesh-catalog/modules/mesh-build-go/buildstep v0.0.0-2
|
||||
|
||||
require (
|
||||
git.novox.be/novox/mesh-contracts/go/seats/gopackageregistry v0.0.0-00010101000000-000000000000
|
||||
git.novox.be/novox/mesh-contracts/go/seats/meshdeliverychecker v0.0.0-00010101000000-000000000000
|
||||
git.novox.be/novox/mesh-contracts/go/seats/npmpackageregistry v0.0.0-00010101000000-000000000000
|
||||
git.novox.be/novox/mesh-delivery/modules/mesh-delivery-builder/buildrun v0.0.0-00010101000000-000000000000
|
||||
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op // indirect
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"git.novox.be/novox/mesh-contracts/go/seats/meshdeliverychecker"
|
||||
"git.novox.be/novox/mesh-sdk/go/catalogue"
|
||||
"git.novox.be/novox/mesh-sdk/go/delivery"
|
||||
)
|
||||
@@ -15,7 +16,7 @@ import (
|
||||
// EventTagWanted is the checker's event that asks the builder for a group member's tagged versions (design 51 *Tagged
|
||||
// versions*, ADR 0610 §1), on the checker's own family asks (its stream asks, kept seven days), apart from the stream
|
||||
// checks, so a waiter on a verdict does not wake on it.
|
||||
const EventTagWanted = "tag-wanted"
|
||||
const EventTagWanted = meshdeliverychecker.HolderEventTagWanted
|
||||
|
||||
// AsksStream is the checker's stream that carries tag-wanted and verdict, in its old streams section (ADR 0619): the
|
||||
// bus names it ASKS.
|
||||
@@ -25,18 +26,9 @@ const AsksStream = "asks"
|
||||
// fails naming the package (design 51 *Tagged versions*: the publish's bound, 10 minutes).
|
||||
const DefaultPublishBound = 10 * time.Minute
|
||||
|
||||
// TagWanted is the body of tag-wanted: the seat definition of mesh-delivery-checker, its holder event tag-wanted, with
|
||||
// the branch the builder keeps the ask under (the lead's ruling of 2026-11-04 12:5x). The tag is left to the builder,
|
||||
// which makes it from the branch, so one part alone names a branch's tag.
|
||||
type TagWanted struct {
|
||||
Repository string `json:"repository"`
|
||||
Branch string `json:"branch"`
|
||||
Head string `json:"head"`
|
||||
Tag string `json:"tag,omitempty"`
|
||||
Module string `json:"module"`
|
||||
Package string `json:"package"`
|
||||
Pull int64 `json:"pull,omitempty"`
|
||||
}
|
||||
// TagWanted is the body of tag-wanted, as the seat definition of mesh-delivery-checker says it. The tag is left to the
|
||||
// builder, which makes it from the branch, so one part alone names a branch's tag.
|
||||
type TagWanted = meshdeliverychecker.TagWantedHolderEvent
|
||||
|
||||
// PackageSeats are the registry seats a package of each language is published through (design 51 *The seats*).
|
||||
var PackageSeats = map[string]string{"go": "go-package-registry", "typescript": "npm-package-registry"}
|
||||
|
||||
Reference in New Issue
Block a user