Judge a node-engine change by the controller the mesh runs: the scope sets no validator judge (issue 1391, 1 of 2)
pullScope no longer gives a mesh-host change a Judge, and link.JudgeValidator is gone: the validator is mesh-sdk's, at the controller's pin (ADR 0446 clause 5). An older request that says validator is read as the controller the mesh runs.
This commit is contained in:
@@ -180,8 +180,9 @@ type CheckRequest struct {
|
||||
// gate puts through `module check`.
|
||||
Manifests []string `json:"manifests,omitempty"`
|
||||
// Judge is who judges the gate: empty for the controller the mesh runs; JudgeSelf for a change to
|
||||
// the controller, judged by itself; JudgeValidator for a change to the node-engine, judged by the
|
||||
// running controller built with the change's validator in place of the one it vendors.
|
||||
// the controller, judged by itself. A change to the node-engine is judged by the controller the mesh runs, as any
|
||||
// module is: the validator is mesh-sdk's, at the controller's pin (novox/hq ADR 0446 clause 5). An older request that
|
||||
// says "validator" is read the same way: the judge is the controller the mesh runs.
|
||||
Judge string `json:"judge,omitempty"`
|
||||
// Siblings are the other open pull requests of this one's delivery group the check reads beside it (novox/hq ADR
|
||||
// 0382 §1): each repository found under Dir is read at the sibling's head merged onto the sibling's base, in
|
||||
@@ -295,8 +296,7 @@ type GroupMember struct {
|
||||
|
||||
// Who judges a merge check's gate.
|
||||
const (
|
||||
JudgeSelf = "self"
|
||||
JudgeValidator = "validator"
|
||||
JudgeSelf = "self"
|
||||
)
|
||||
|
||||
// CheckedOut is a repository cloned beside a check, at a ref.
|
||||
|
||||
Reference in New Issue
Block a user