Skip to content

fix(ci): repair source-bound CLI release tests - #4803

Merged
yannickmonney merged 1 commit into
mainfrom
fix/release-source-tests
Oct 11, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/release-source-tests

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Problem

The source-bound release change made the CLI publication workflow fail its native unit-test gate. The release metadata step embedded a GitHub expression directly in a shell command, and release fixtures did not provide the required source SHA.

Change

  • pass the prepared source SHA through the release metadata step’s environment;
  • use the shell variable for the image revision label;
  • update the release workflow fixtures with a deterministic full source SHA and prepared output.

Validation

  • bun test tools/cli/scripts/automation-image-protocol.test.ts
  • bun test tools/cli/scripts/ci-build-optimization.test.ts --test-name-pattern 'release schedules expensive images first'
  • bun test tools/cli/src/lib/compose/services/compose-parity.test.ts --test-name-pattern 'service → image parity|release artifact identity'
  • git diff --check

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.

1 participant