Skip to content

fix: use correct release-please output key for root package dispatch - #15

Merged
kphunter merged 1 commit into
mainfrom
devin/1778830396-fix-release-dispatch
May 15, 2026
Merged

fix: use correct release-please output key for root package dispatch#15
kphunter merged 1 commit into
mainfrom
devin/1778830396-fix-release-dispatch

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the dispatch-publish job in release-please.yaml which was using the wrong output key to read the release tag name, causing helm-publish.yaml and release-retag.yaml to never be dispatched.

Root cause: The release-please-action v4 source code shows that for packages at root path ., outputs use plain keys (e.g. tag_name), NOT path-prefixed keys (.--tag_name). The workflow was using steps.rp.outputs['.--tag_name'] which always resolved to empty, causing the dispatch guard to skip with the warning: "release-please reported a release but no tag_name output; skipping dispatch".

Impact: No clean semver chart tags (e.g. 1.1.7) or Docker image tags were ever published for any release. Only CI-generated RC pre-release tags exist in GHCR. This breaks Flux OCIRepository semver matching for the stable overlay (cluster04), which requires clean release tags.

Fix: Change steps.rp.outputs['.--tag_name']steps.rp.outputs['tag_name'].

After merging: Manually trigger helm-publish.yaml and release-retag.yaml via workflow_dispatch with tag_name=v1.1.7 to publish the missing clean tags for the current release.

Review & Testing Checklist for Human

  • After merging, manually dispatch helm-publish.yaml with input tag_name=v1.1.7 from the Actions tab to publish clean chart tag 1.1.7
  • After merging, manually dispatch release-retag.yaml with input tag_name=v1.1.7 to publish clean Docker image tags
  • Verify the chart tag 1.1.7 appears in GHCR at ghcr.io/bcit-tlu/conversion-guide/charts/conversion-guide
  • Verify cluster04's OCIRepository for conversion-guide reconciles successfully

Notes

Confirmed via CI run logs that the v1.1.7 release dispatch job printed the empty-TAG warning and skipped both downstream workflows. The path-prefixed output format (.--tag_name) is only used for non-root packages in monorepos — single-package repos at . get plain keys per the action's setPathOutput function.

Link to Devin session: https://app.devin.ai/sessions/90351d31211c4d5fa00523df61bc4b90
Requested by: @kphunter


Open in Devin Review

The release-please-action v4 outputs plain keys (e.g. 'tag_name') for
packages at root path '.', NOT path-prefixed keys ('.--tag_name').
The incorrect key caused dispatch-publish to always receive an empty
TAG, silently skipping the helm-publish and release-retag dispatches.

This prevented clean semver chart tags from being published to GHCR,
breaking Flux OCIRepository semver matching for stable overlays.

Co-Authored-By: kyle_hunter@bcit.ca <kyle_hunter@bcit.ca>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

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