Skip to content

ci(sync): remove shared upmerge workflow - #60

Open
DariuszPorowski wants to merge 1 commit into
mainfrom
dariuszporowski-remove-shared-upmerge
Open

DariuszPorowski wants to merge 1 commit into
mainfrom
dariuszporowski-remove-shared-upmerge

Conversation

@DariuszPorowski

@DariuszPorowski DariuszPorowski commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes the shared release-to-edge upmerge automation. Docs and samples now develop on edge, which is their default branch, and backport selected fixes to vX.Y with separate pull requests. They no longer run upmerges.

Reason for change

Option 2 of the docs and samples release model: development happens on edge, docs and samples content snapshots are pinned and validated for each RC, and selected fixes are backported to vX.Y. The samples upmerge.yaml caller is deleted in the samples repository, so this repository no longer syncs it or keeps its implementation. A GitHub code search (gh search code __upmerge --owner radius-project) found no default-branch callers other than samples' upmerge.yaml, which the samples PR deletes. Old samples and docs release branches that still reference __upmerge.yml@main are expected to stop working.

Merge order, with no release in flight:

  1. ci(release): publish docs from validated edge snapshots docs#2101
  2. ci(release): publish docs and samples from validated RC snapshots radius#13950
  3. ci(sync): remove shared upmerge workflow #60 (this PR)
  4. ci: release samples from a tested edge commit and remove upmerges samples#2747

Hold until radius-project/radius#13950 merges. The current coordinator still dispatches samples upmerge.yaml, which calls __upmerge.yml@main, so merging this first would break the next RC.

Fixes #

How to test

  1. Run git grep -in upmerge. Expect no matches.
  2. Run gh api repos/radius-project/docs --jq .default_branch and gh api repos/radius-project/samples --jq .default_branch. Both should return edge, which matches the updated notes.
  3. Run markdownlint-cli2 --config .github/linters/.markdownlint-cli2.yaml eng/SYNC.md .github/actions/pr-status-labels/README.md .github/actions/dependabot-failures/README.md. Expect no errors. .github/actions/lockfile-registry-policy/README.md already has 4 MD060 errors on line 65 on main. This PR doesn't touch that line.
  4. Run yamllint -c .github/linters/.yamllint.yml .github/sync.yml. Expect only the quoted-strings findings that already exist on main in the untouched Dependabot template blocks: 22 on this branch, the same as main.
  5. Run node --test ".github/actions/*/*.test.mjs". Expect all tests to pass on Linux. The Test Actions workflow runs this on this PR. Locally on Windows Git Bash, 88 of 90 pass, 1 is skipped, and collect-release-backports_test.sh fails. That fixture is unchanged by this PR.
  6. After merge, the next Sync run should no longer manage .github/workflows/upmerge.yaml in radius-project/samples@edge. Every other sync target stays the same.

File change summary

File Summary of change
.github/sync.yml Removes the "Signed release upmerge" group (upmerge-samples.yml to samples upmerge.yaml). Replaces the stale comment saying docs' edge is not its default branch. The docs@edge and samples@edge targets stay the same.
.github/workflows/__upmerge.yml Deleted the shared upmerge reusable workflow.
workflow-templates/upmerge-samples.yml Deleted the samples upmerge caller template.
eng/SYNC.md Removes the Signed Release Upmerge section, its TOC entry, and the __upmerge.yml table row. Release Backports now says docs and samples develop on edge and backport selected fixes to vX.Y with separate PRs, and that the shared automation covers only main to release/X.Y. Fixes stale notes saying edge is not their default branch.
.github/actions/pr-status-labels/README.md Removes the "Non-default sync branch" limitation, which no longer applies. Docs already uses the shared hold check.
.github/actions/dependabot-failures/README.md Says docs and samples sync to edge, their default branch.
.github/actions/lockfile-registry-policy/README.md Says every repository gets the caller on its default branch, with docs and samples listed as @edge.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

  • .github/workflows/__upmerge.yml

@github-actions github-actions Bot added the pr:waiting-for-review A reviewer owns the next action; required approval is pending or unverifiable label Dec 1, 2026
Docs and samples now develop on edge, their default branch, and backport selected fixes to vX.Y with separate pull requests. They no longer run release-to-edge upmerges.

Remove the samples upmerge sync group, the shared __upmerge.yml reusable workflow and its caller template, and the related documentation. Update stale notes that said edge is not the default branch for docs and samples.

Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com>
@DariuszPorowski
DariuszPorowski force-pushed the dariuszporowski-remove-shared-upmerge branch from a52f6fd to 86d7e74 Compare December 1, 2026 19:44
@kachawla
kachawla requested a balanced review from Copilot December 1, 2026 19:50
Comment thread .github/workflows/__upmerge.yml Resolved
@github-actions github-actions Bot added pr:waiting-for-author The author needs to address human review feedback or human-endorsed inline feedback and removed pr:waiting-for-review A reviewer owns the next action; required approval is pending or unverifiable labels Dec 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the removal of centralized upmerge automation and related configuration and documentation updates.

No open issues 🎉

What changed in this PR

Removes the centralized release-to-edge upmerge automation, aligning shared CI with the docs and samples model: develop on edge and backport selected fixes to vX.Y through separate pull requests.

Changes:

  • Deletes the reusable upmerge workflow and samples caller template.
  • Removes the samples upmerge sync mapping without changing other sync targets.
  • Updates documentation to reflect the release model and edge default branches.
File Description
workflow-templates/​upmerge-samples.yml Deletes the samples upmerge caller template.
eng/​SYNC.md Removes upmerge documentation and clarifies backport scope and branch targets.
.github/​workflows/​__upmerge.yml Deletes the shared upmerge implementation.
.github/​sync.yml Removes the upmerge mapping and corrects the docs default-branch comment.
.github/​actions/​pr-status-labels/​README.md Removes the obsolete non-default-branch limitation for docs.
.github/​actions/​lockfile-registry-policy/​README.md Clarifies that callers target each repository’s default branch.
.github/​actions/​dependabot-failures/​README.md Corrects the default-branch notes for docs and samples.

Review effort: Balanced

@github-actions github-actions Bot added pr:waiting-for-review A reviewer owns the next action; required approval is pending or unverifiable and removed pr:waiting-for-author The author needs to address human review feedback or human-endorsed inline feedback labels Dec 1, 2026
@DariuszPorowski
DariuszPorowski requested a max review from Copilot December 1, 2026 20:30
@github-actions github-actions Bot added pr:ready-for-queue Review, checks and mergeability permit adding this PR to the queue pr:review-approved Required reviews are approved; checks may still be pending and removed pr:waiting-for-review A reviewer owns the next action; required approval is pending or unverifiable labels Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ready-for-queue Review, checks and mergeability permit adding this PR to the queue pr:review-approved Required reviews are approved; checks may still be pending

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants