Skip to content

Fix child-pipeline to include trigger stages (0.17.1)

Horizon Bot requested to merge bump-0.17.0 into master

Summary

Fixes a bug in the child-pipeline module where trigger stages were not being added to the pipeline stages list.

Problem

The child-pipeline module only added "generate" stage but did not collect the trigger stages from child-pipeline configurations. This caused errors like:

test:modules:flake job: chosen stage does not exist; available stages are .pre, generate, validate, build, publish, .post

Solution

Now collects all unique triggerStage values from configured child pipelines and adds them to the stages list.

Changes

  • Update child-pipeline.nix to collect trigger stages from all child-pipelines
  • Add lib.unique to deduplicate stages
  • Tag as 0.17.1

Testing

Tested with ghc-common-hadrian which uses triggerStage = "test". The "test" stage is now properly included in the generated CI.

🤖 Generated with Claude Code

Merge request reports