Drop node-engine's optional verb pull-waits: no record gives the seat that verb
The lead's ruling (14:2x): the pull waits ENG-9 shows are carried in the engine's have, read through node_haves, as ENG-9 allows, so the seat serves no verb of its own for them. Regenerated; seatgen -check finds nothing out of step. Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
@@ -17,7 +17,6 @@ const (
|
||||
VerbComposition = "composition"
|
||||
VerbCompose = "compose"
|
||||
VerbComposeCandidate = "compose-candidate"
|
||||
VerbPullWaits = "pull-waits"
|
||||
VerbManifestReads = "manifest-reads"
|
||||
)
|
||||
|
||||
@@ -30,7 +29,7 @@ const (
|
||||
|
||||
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
|
||||
func Verbs() []string {
|
||||
return []string{VerbHandOver, VerbAccessAct, VerbJudgeDirectories, VerbSetuidSearch, VerbRootFree, VerbActs, VerbPackages, VerbComposition, VerbCompose, VerbComposeCandidate, VerbPullWaits, VerbManifestReads}
|
||||
return []string{VerbHandOver, VerbAccessAct, VerbJudgeDirectories, VerbSetuidSearch, VerbRootFree, VerbActs, VerbPackages, VerbComposition, VerbCompose, VerbComposeCandidate, VerbManifestReads}
|
||||
}
|
||||
|
||||
// Events is every event published on the seat's subject: a new copy each call.
|
||||
@@ -493,38 +492,6 @@ type ComposeCandidateAnswer struct {
|
||||
Verdict string `json:"verdict"`
|
||||
}
|
||||
|
||||
// PullWaitsInput is what pull-waits takes.
|
||||
type PullWaitsInput struct {
|
||||
}
|
||||
|
||||
// PullWaitsAnswerWaitsItem is a type of the contract.
|
||||
type PullWaitsAnswerWaitsItem struct {
|
||||
// that seat's holder, whose settled the retry waits on
|
||||
Holder string `json:"holder,omitempty"`
|
||||
// the image whose pull failed
|
||||
Image string `json:"image"`
|
||||
// the module whose apply failed
|
||||
Module string `json:"module"`
|
||||
// when the failed pull began, RFC 3339
|
||||
PullBegan string `json:"pull-began,omitempty"`
|
||||
// when it was last tried again, RFC 3339
|
||||
RetryLast string `json:"retry-last,omitempty"`
|
||||
// what started that retry: settled, or the engine's start
|
||||
RetryTrigger string `json:"retry-trigger,omitempty"`
|
||||
// the seat the image came through
|
||||
Seat string `json:"seat,omitempty"`
|
||||
// the settled events of the holder heard since the engine started
|
||||
SettledCount int64 `json:"settled-count,omitempty"`
|
||||
// when the last was heard, RFC 3339
|
||||
SettledLast string `json:"settled-last,omitempty"`
|
||||
}
|
||||
|
||||
// PullWaitsAnswer is what pull-waits answers.
|
||||
type PullWaitsAnswer struct {
|
||||
// every failed pull waiting on a holder
|
||||
Waits []PullWaitsAnswerWaitsItem `json:"waits"`
|
||||
}
|
||||
|
||||
// ManifestReadsInput is what manifest-reads takes.
|
||||
type ManifestReadsInput struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user