Repository navigation
fix(approve): ask chant where the environment waits, so a stage gate's release digest is approved - #416
Merged
Conversation
yodel approve <env> --plan <digest> searched only the migrations Op's gates and the wave gate, so the release digest a stage gate of yodel promote waits on was refused with exit 4. With a chant that has pendingApprovals (0.124.117, chant#5480), approveOther asks it where the environment waits and approves the one fact bound to the digest, with the fact's op, gate and --env. Several facts on one digest are refused with a list. A waves project with nothing left to migrate also looks there. Below the floor the earlier gate lists are searched, so the pin (0.124.116) keeps its behaviour. The cleanup drop digest is still worked out from retained servers. Gate deferred to the end of the wave.
The release carries INTENTIUS/chant#5487, with pendingApprovals for #411.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #411
yodel approve <env> --plan <digest>now asks chant where the environment waits, throughpendingApprovalsfrom INTENTIUS/chant#5480, in place of the gate listsapproveOtherbuilt by hand. A--planwith a pipeline stage's release digest is approved at that stage's gate, with--env. One digest that matches several gates is refused with achant approveline for each, so yodel never guesses. A waves env with nothing left to migrate now tries the--planagainst chant's call before it reports up to date.On a chant below
PENDING_APPROVALS_FLOORyodel keeps its old lists. The last commit moves the pin to chant0.124.117, which carries INTENTIUS/chant#5480. On that pin the approve tests for the new path run and pass, as dotest/ci-pipeline.test.tsandnpm run templates:check.The
pipelinerowIt ran once on a maintainer grant, against a local pack of chant's wave branch.
yodel approvenow finds the stage gate on the release digest and approves it. The claim then stops at the stage's own wave:yodel approvereads that wait as wave 3 of the merge pipeline and records an approval where nothing waits (#415). That fix is for a later pull request.Local gate
npm run checkran once at the end of the wave against the local chant pack: 1,180 tests passed.