Repository navigation
ci: release samples from a tested edge commit and remove upmerges - #2747
Open
DariuszPorowski wants to merge 1 commit into
Open
DariuszPorowski wants to merge 1 commit into
DariuszPorowski wants to merge 1 commit into
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned Files
|
Keep edge as the default branch and drop the release-to-edge upmerge. Release samples now takes the tested edge commit, verifies that it is on edge, and publishes vX.Y from it plus the release configuration commit. It no longer changes the default branch or needs Administration access. Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
DariuszPorowski
force-pushed
the
dariuszporowski-samples-remove-upmerge
branch
from
December 1, 2026 19:44
fbf6984 to
ef06aea
Compare
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
Removes the release-to-
edgeupmerge and keepsedgeas the default branch. Release samples now publishesvX.Yfrom an exact, testededgecommit instead of theedgetip.Reason for change
Docs and samples move to a snapshot release model: develop on
edge, test each RC on an exactedgecommit, and publish the final release from the accepted snapshot plus release configuration only. Fixes for a supported release are backported by separate PRs.The Radius release coordinator, updated in radius-project/radius#13950, calls:
test.yamlonedgewithversion; the run'shead_shais the samples snapshot.release.yamlonedgewithversionandcommit, thentest.yamlonvX.Y.test.yamlonvX.Ywithversion.test.yamlalready meets this contract: it acceptsversionand testsgithub.sha, so it is unchanged. The shared upmerge workflow and its sync are being removed from radius-project/.github, so the deleted caller will not be re-synced.Merge order, with no release in flight:
Merge after radius-project/radius#13950, which stops dispatching
upmerge.yaml, and radius-project/.github#60, so the sync does not recreate it. Merge it before the first v0.63 final, which passes the newcommitinput.Fixes #
How to test
actionlint .github/workflows/release.yamlreports nothing.zizmor --offline .github/workflows/release.yamlreports no findings.yamllint -c .github/linters/.yamllint.yml .github/workflows/release.yamlreports no errors. The synced config reads.yamlignore; add an empty one locally if it is missing.npx markdownlint-cli2 --config .github/linters/.markdownlint-cli2.yaml CONTRIBUTING.mdreports 0 errors.origin/edgeandorigin/v0.61fetched. Run the regex andgit merge-base --is-ancestor <commit> origin/edgechecks from the Ensure inputs.commit steps:edgecommit is accepted.v0.61tip is rejected as not onedge.<sha>; echo pwnedare rejected by the format check.edgeskips the job. Dispatching it fromedgewith a non-edgecommitfails before the release script runs.gh api repos/radius-project/samples --jq .default_branchstill returnsedge.git rev-parse vX.Y^equalscommit.git diff <commit> vX.Yshows only release configuration.Local results: steps 1 and 2 passed. Steps 3 and 4 need real workflow dispatches and were not run.
File change summary
.github/workflows/release.yamlcommitinput. Runs only when dispatched onedge. Rejects anycommitthat is not a full lowercase SHA or not reachable fromorigin/edge. Checks out exactlycommitand runs the unchangedrelease-samples.sh, so the release commit's only parent iscommit. Passes inputs throughenv. Removes the default-branch change, its unused channel step, and the App's Administration permission..github/workflows/upmerge.yamledge.CONTRIBUTING.mdedgeis the default branch and PR target, with backports tovX.Yand the RC, final, and patch flows.