Skip to content

fix(approve): ask chant where the environment waits, so a stage gate's release digest is approved - #416

Merged
lex00 merged 2 commits into
mainfrom
wave/followups-3
Nov 22, 2026
Merged

lex00 merged 2 commits into
mainfrom
wave/followups-3

Conversation

@lex00

@lex00 lex00 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Closes #411

yodel approve <env> --plan <digest> now asks chant where the environment waits, through pendingApprovals from INTENTIUS/chant#5480, in place of the gate lists approveOther built by hand. A --plan with a pipeline stage's release digest is approved at that stage's gate, with --env. One digest that matches several gates is refused with a chant approve line for each, so yodel never guesses. A waves env with nothing left to migrate now tries the --plan against chant's call before it reports up to date.

On a chant below PENDING_APPROVALS_FLOOR yodel keeps its old lists. The last commit moves the pin to chant 0.124.117, which carries INTENTIUS/chant#5480. On that pin the approve tests for the new path run and pass, as do test/ci-pipeline.test.ts and npm run templates:check.

The pipeline row

It ran once on a maintainer grant, against a local pack of chant's wave branch. yodel approve now finds the stage gate on the release digest and approves it. The claim then stops at the stage's own wave: yodel approve reads 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 check ran once at the end of the wave against the local chant pack: 1,180 tests passed.

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.
@lex00
lex00 enabled auto-merge November 22, 2026 22:41
@lex00
lex00 added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 79ccd88 Nov 22, 2026
9 checks passed
@lex00
lex00 deleted the wave/followups-3 branch November 22, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

yodel approve refuses a pipeline stage gate's release digest in a waves project

1 participant