Repository navigation
ci(release): reject release sources that use the retired radius-publisher - #13952
Open
DariuszPorowski wants to merge 1 commit into
Open
DariuszPorowski wants to merge 1 commit into
DariuszPorowski wants to merge 1 commit into
Conversation
…sher azure-octo/radius-publisher is retired. The release controller now requires the GHCR-only Bicep and transferred Deployment Engine contracts for published resumes as well as new releases, so no tagged workflow that dispatches to the publisher or uses RADIUS_PUBLISHER_BOT_* can run. Remove the unused monitor-remote-workflow helper, whose only remaining user was its publisher test fixture, and update the release docs. Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Radius functional test overviewClick here to see the test run details
Test Status⌛ Building Radius and pushing container images for functional tests... |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the release-contract enforcement and retired-publisher cleanup.
No open issues 🎉
What changed in this PR
Closes the published-release recovery path to the retired azure-octo/radius-publisher, aligning all Radius release sources with the current publishing contracts.
Changes:
- Requires current GHCR-only Bicep and transferred Deployment Engine contracts for every release state, including published resumes.
- Removes the unused remote-workflow monitor, its tests, and its Make target.
- Updates release guidance and migration documentation to reflect publisher retirement.
No findings.
| File | Description |
|---|---|
eng/design-notes/tools/2026-09-bicep-extension-ghcr-migration.md |
Adds publisher retirement status. |
docs/contributing/contributing-releases/README.md |
Documents stricter resume requirements and retired credentials. |
docs/contributing/contributing-code/contributing-code-github-workflows/README.md |
Removes the deleted test from check instructions. |
build/test.mk |
Removes the monitor test target and dependency. |
.github/scripts/resolve-release-controller.mjs |
Requires current publishing contracts unconditionally. |
.github/scripts/resolve-release-controller_test.mjs |
Asserts both contract flags for every release state. |
.github/scripts/monitor-remote-workflow.mjs |
Deletes the unused remote-dispatch helper. |
.github/scripts/monitor-remote-workflow_test.mjs |
Deletes the helper’s tests and publisher fixture. |
Review effort: Balanced (adaptive)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stops Radius release tooling from using the retired
azure-octo/radius-publisher.resolve-release-controller.mjsalways passes--require-current-bicep --require-current-enginetoverify-release-build-contract.sh, including when resuming a published release. Before, only unpublished sources had to use the GHCR-only Bicep and transferred Deployment Engine writers, so published historical resumes could still run tagged workflows that dispatch toazure-octo/radius-publisheror use theRADIUS_PUBLISHER_BOT_*App..github/scripts/monitor-remote-workflow.mjsand its test, along with thetest-monitor-remote-workflowMake target. No workflow onmainloads the script; its only remaining user was a test fixture targetingazure-octo/radius-publisher. Tagged releases keep their own copies. The existing negative guards inbicep-types.test.mjsandverify-release-build-contract.sh, which reject any reference to the publisher or this helper, are unchanged.RADIUS_PUBLISHER_BOT_*for published-release retries.Reason for change
azure-octo/radius-publishermust no longer be used anywhere inradius-project.main's workflows already don't call it; the remaining path was published-release recovery from older tags. Those releases (≤ v0.62) are complete, and their tagged coordinators also depend on the docs/samples upmerges being removed in #13950.This PR is independent of the docs/samples PRs and can merge at any time. After it merges, maintainers can remove the leftover publisher credentials:
RADIUS_PUBLISHER_BOT_*secrets inradius,bicep-types-aws, anddocs, and the App's installation onradius-projectrepositories.How to test
Prerequisites: Node.js and
yq.Both Node suites passed locally (35 tests).
markdownlint-cli2reports no issues on the changed docs. This branch and #13950 were checked withgit merge-treeand merge cleanly.File change summary
.github/scripts/resolve-release-controller.mjs.github/scripts/resolve-release-controller_test.mjs.github/scripts/monitor-remote-workflow.mjs,monitor-remote-workflow_test.mjsbuild/test.mktest-monitor-remote-workflowtarget.docs/contributing/contributing-code/contributing-code-github-workflows/README.mddocs/contributing/contributing-releases/README.mdeng/design-notes/tools/2026-09-bicep-extension-ghcr-migration.md