You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
promote: run a stage's op wave for products with no components #5427
A product whose stages run op waves and declare no components, as INTENTIUS/sql-yodeler#394 does with sql-migrate, cannot move a release past its first stage. chant components promote stops before it applies anything, for three reasons:
where
why it stops
loadProject and planPromotion
they discover *.component.ts declarations, and a yodel project has none, so the answer is "nothing to promote"
stepReleaseRequests with opWaveReleaseNames
with no spec.release.component, the release record is named after the environment (dev), not a name every stage shares
the sql lexicon's run
it applies only an op wave's decided plan with spec, which the promote's driver never passes
Everything components promote reads before the apply works as built; the apply itself is what never happens. The full trace is in the comment below.
Acceptance criteria
After the stage gate passes, chant runs that stage's op wave (stageWavesSpec(spec, to) of the pipeline folded at the default branch). The gate's decision binds the release digest, so sql-migrate plans with spec and applies under the engine's lock.
The step's spec file is the stage's rendered spec (pipelineStageSpecFile).
An op-waves stage records its release under a component name the pipeline fixes.
PipelinePromoteStageInputs can ask for the forge's OIDC token on a stage job without a cloud trade.
Tests promote a sql-migrate release into staging in a temp repo with a fake engine; skipping a stage or lacking the gate's approval applies nothing.
Core exports a *_FLOOR constant, and the floor table is regenerated.
Trace from INTENTIUS/sql-yodeler#394, read against chant's integration of the open epic pull requests. A yodel project applies dev through op waves with a sql-migrate step whose spec is yodel-waves.json. It then cuts a release, and each later stage's job runs yodel chant components promote --to <stage> --release <release>.
runComponentsPromote loads the project with resolveComponentTargets(projectPath, "all"), which finds no component. opWaveReleaseNames uses run.target as the component when the spec names none. lexicons/sql/src/capability-plugin.ts refuses unless DeployContext.plans[env] is a sql-migrate artifact with wavePlan and spec, and yodel-waves.json holds only the first stage's waves, so the engine's own check of the wave decision would fail too.
Activity
lex00 commentedon Nov 20, 2026
Trace from INTENTIUS/sql-yodeler#394, read against chant's integration of the open epic pull requests. A yodel project applies dev through op waves with a
sql-migratestep whosespecisyodel-waves.json. It then cuts a release, and each later stage's job runsyodel chant components promote --to <stage> --release <release>.runComponentsPromoteloads the project withresolveComponentTargets(projectPath, "all"), which finds no component.opWaveReleaseNamesusesrun.targetas the component when the spec names none.lexicons/sql/src/capability-plugin.tsrefuses unlessDeployContext.plans[env]is asql-migrateartifact withwavePlanandspec, andyodel-waves.jsonholds only the first stage's waves, so the engine's own check of the wave decision would fail too.feat(core): promote runs a stage's op waves for a member with no comp…
feat(core): promote runs a stage's op waves for a member with no comp…