Skip to content

fix(release): allow main instead of master - #6064

Merged
killagu merged 2 commits into
nextfrom
fix/release-main
Oct 6, 2026
Merged

killagu merged 2 commits into
nextfrom
fix/release-main

Conversation

@killagu

@killagu killagu commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The planned stable branch is now main, but the manual release workflow still offers and accepts master. Replace that choice and guard entry with main, retaining next and the current next default during migration. The dispatch ref must still match the selected full branch ref.

Update regression cases to accept main and reject master, same-named main tags, and mismatched main/next refs. Refresh the release guide and wiki log. The release environment branch rule has separately been changed from master to main, retaining next.

Validation: node --test scripts/test/release.test.js scripts/test/ci.test.js passed all 10 tests in an isolated checkout with temporary test dependencies; git diff --check passed. No release was dispatched or packages published. Branch rename/default/protection settings, CI/E2E triggers, and Pages settings are outside this change.

Summary by CodeRabbit

  • Release Updates

    • Releases can now be run from main or next; master is no longer an allowed release branch. The branch selection still defaults to next.
    • Release requests must use a reference that matches the selected branch. Tags and mismatched branch references are rejected.
  • Documentation

    • Updated release guidance to explain that dry runs also use the release environment and that its deployment policy must allow the selected branch. Changing the release branch options does not rename branches or change the repository’s default branch.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 11:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 877c8c7b-d151-4cdb-acfb-1e148c938ab5
📥 Commits

Reviewing files that changed from the base of the PR and between a5f92a8 and fb3b9ff.

📒 Files selected for processing (4)
  • .github/workflows/release.yml
  • scripts/test/release.test.js
  • wiki/log.md
  • wiki/workflows/release.md
 __________________________________________________
< Making NVIDIA proud with all this bug detection. >
 --------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying egg with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb3b9ff
Status: ✅  Deploy successful!
Preview URL: https://b642bea1.egg-cci.pages.dev
Branch Preview URL: https://fix-release-main.egg-cci.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying egg-v3 with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb3b9ff
Status: ✅  Deploy successful!
Preview URL: https://3ac2f189.egg-v3.pages.dev
Branch Preview URL: https://fix-release-main.egg-v3.pages.dev

View logs

Copilot AI balanced review requested due to automatic review settings October 6, 2026 11:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@killagu
killagu merged commit b6e3ac3 into next Oct 6, 2026
33 of 35 checks passed
@killagu
killagu deleted the fix/release-main branch October 6, 2026 11:52
@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.91%. Comparing base (a5f92a8) to head (fb3b9ff).
⚠️ Report is 3 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #6064      +/-   ##
==========================================
+ Coverage   79.52%   83.91%   +4.39%     
==========================================
  Files          18      731     +713     
  Lines         845    22602   +21757     
  Branches      228     4554    +4326     
==========================================
+ Hits          672    18967   +18295     
- Misses        145     3141    +2996     
- Partials       28      494     +466     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants