Skip to content

The release cut's compile child runs the host's bin without its chant subcommand #5474

Closed

Description

@lex00

The pipeline claim in sql-yodeler gets past the first-release failure of sql-yodeler#406 and stops at the next step of the same release cut. The cut compiles each environment in a child process, and under yodel chant release cut that child runs yodel release compile, a command yodel does not have.

The run used a local pack of chant's wave/followups-2 at 0107cdd, with a fixture that tags a first release so the cut finds a previous release. The log of the pipeline claim (pg, plain run, stages part) shows yodel: unknown command "release" and then error: no release was cut: compiling "pipeline-dev" failed (exit 1).

The function spawnTargetCompiler in chant's core package (components/release-compile) defaults its command to ownChantCommand(), which returns the running node binary, its flags and the script path. The CLI runs as yodel chant <args> there, and the script path is yodel's bin, so the child's command lacks the word chant.

The project's release config carries bin: ["yodel", "chant"] for this case, written by sql-yodeler's ci/pipeline module as the bin key under release. The cut in the release handler calls spawnTargetCompiler(...) without a command, so the compile never reads that bin. Passing the bin key under release as the command when it is set would fix it, and so would having ownChantCommand() keep the host's subcommand words that precede chant's arguments.

Reproduce it with just chant-local <chant checkout> followed by just claims pipeline in INTENTIUS/sql-yodeler, and the run's log is the pipeline.pg.plain file in the run's log directory 2026-11-22T05-25-11-151Z under scenarios/.logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions