Skip to content

Update build and release documentation to include beta text #60035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 5, 2025

Conversation

prettyboymp
Copy link
Contributor

Changes proposed in this Pull Request:

This updates the build and release documentation to include the shift from labeling the initial builds after code freeze RCs to beta's.

This reflects the following:

  • Code freeze -> tag x.y.0-dev - only published on GH (pre-release), Automatic
  • Beta 1 -> tag x.y.0-beta.1 - published to GH (pre-release) and SVN, Release Lead
  • Beta 2 -> tag x.y.0-beta.2 - published to GH (pre-release) and SVN, Release Lead
  • RC1 -> tag x.y.0-rc.1 - published to GH (pre-release), SVN, and internal testing, Release Lead
  • Stable -> tag x.y.0 - published to GH (latest-release) and SVN (stable), Release Lead

Changelog entry

  • Automatically create a changelog entry from the details below.
  • This Pull Request does not require a changelog entry. (Comment required below)
    Doc changes only.
Changelog Entry Details

Significance

  • Patch
  • Minor
  • Major

Type

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Message

Changelog Entry Comment

Comment

@github-actions github-actions bot added the Documentation Issues and PRs related to improving documentation label Jul 25, 2025
@prettyboymp prettyboymp requested review from a team and joshuatf and removed request for a team July 25, 2025 20:37
@prettyboymp prettyboymp marked this pull request as ready for review July 25, 2025 20:37
@prettyboymp prettyboymp requested a review from a team as a code owner July 25, 2025 20:37
@woocommercebot woocommercebot requested a review from a team July 25, 2025 20:37
Copy link
Contributor

github-actions bot commented Jul 25, 2025

Testing Guidelines

Hi @joshuatf @woocommerce/developer-advocacy @woocommerce/flux,

Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed.

Reminder: PR reviewers are required to document testing performed. This includes:

  • 🖼️ Screenshots or screen recordings.
  • 📝 List of functionality tested / steps followed.
  • 🌐 Site details (environment attributes such as hosting type, plugins, theme, store size, store age, and relevant settings).
  • 🔍 Any analysis performed, such as assessing potential impacts on environment attributes and other plugins, conducting performance profiling, or using LLM/AI-based analysis.

⚠️ Within the testing details you provide, please ensure that no sensitive information (such as API keys, passwords, user data, etc.) is included in this public issue.

Copy link
Contributor

coderabbitai bot commented Jul 25, 2025

📝 Walkthrough

Walkthrough

The documentation for the build and publishing process was updated. Changes include adding explicit hyperlinks for pre-checks, introducing a check for GitHub service status, expanding version type options to include "beta," broadening the testing condition to cover both stable and RC releases, refining stable tag updates, and updating pre-release tagging instructions.

Changes

File(s) Summary of Changes
Documentation update
docs/contribution/releases/building-and-publishing.md
Added explicit hyperlinks for verifying open PRs and Issues in pre-checks, introduced a GitHub service status check, expanded version types to include beta, updated conditions for testing and validation steps to include stable and RC releases, refined stable tag update conditions to exclude RCs, and revised pre-release tagging instructions to mark dev, beta, and RC releases as pre-releases.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Possibly related PRs

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 40cb181 and 866bfcc.

📒 Files selected for processing (1)
  • docs/contribution/releases/building-and-publishing.md (3 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/contribution/releases/building-and-publishing.md
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release-build-docs-include-beta

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/contribution/releases/building-and-publishing.md (1)

26-27: Tiny wording nit – list the version types in chronological order.

Readers mentally map the release flow as beta → rc → stable. Swapping the order matches that mental model:

-   - Choose the type of version you're releasing (`beta`, `rc`, or `stable`).
+   - Choose the type of version you're releasing (`beta`, `rc`, or `stable`).

(Only the order inside the parenthesis changes.)

📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fd8cd89 and 40cb181.

📒 Files selected for processing (1)
  • docs/contribution/releases/building-and-publishing.md (3 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: jorgeatorres
PR: woocommerce/woocommerce#59675
File: .github/workflows/release-bump-as-requirement.yml:48-65
Timestamp: 2025-07-15T15:39:21.856Z
Learning: In WooCommerce core repository, changelog entries for all PRs live in `plugins/woocommerce/changelog/` directory and are processed during releases, not at the repository root level.
Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Provide clear, step-by-step instructions for how to test the changes in the PR description.
Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Applies to .github/PULL_REQUEST_TEMPLATE.md : The changelog section in the PR description must keep the markdown structure from the PR template exactly as-is, including all checkboxes, comments, and headings. Only the appropriate checkbox may be checked, and the changelog message must be placed under the `#### Comment` heading and before the closing `</details>` tag. Do not add, remove, or reformat any part of the changelog section except for checking the box and adding the message in the correct place.
Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Applies to .github/PULL_REQUEST_TEMPLATE.md : Preserve required markdown sections in the PR description, especially those used by automation (e.g., changelog entry details and comments). Do not remove or alter them.
docs/contribution/releases/building-and-publishing.md (11)

Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Provide clear, step-by-step instructions for how to test the changes in the PR description.

Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Summarize the changes, testing steps, and rationale in a way that is concise and clear for reviewers.

Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Applies to .github/PULL_REQUEST_TEMPLATE.md : Preserve required markdown sections in the PR description, especially those used by automation (e.g., changelog entry details and comments). Do not remove or alter them.

Learnt from: CR
PR: woocommerce/woocommerce#0
File: .cursor/rules/generate-pr-description.mdc:0-0
Timestamp: 2025-07-21T05:22:46.426Z
Learning: Applies to .github/PULL_REQUEST_TEMPLATE.md : The changelog section in the PR description must keep the markdown structure from the PR template exactly as-is, including all checkboxes, comments, and headings. Only the appropriate checkbox may be checked, and the changelog message must be placed under the #### Comment heading and before the closing </details> tag. Do not add, remove, or reformat any part of the changelog section except for checking the box and adding the message in the correct place.

Learnt from: jorgeatorres
PR: #59675
File: .github/workflows/release-bump-as-requirement.yml:48-65
Timestamp: 2025-07-15T15:39:21.856Z
Learning: In WooCommerce core repository, changelog entries for all PRs live in plugins/woocommerce/changelog/ directory and are processed during releases, not at the repository root level.

Learnt from: prettyboymp
PR: #59048
File: .github/workflows/cherry-pick-milestoned-prs.yml:60-83
Timestamp: 2025-06-26T12:45:40.709Z
Learning: WooCommerce uses WordPress versioning conventions where minor versions in X.Y.Z format are constrained to 0-9 (Y cannot exceed 9). This means version increment logic should reset minor to 0 and increment major when minor reaches 9, rather than allowing two-digit minor versions like 9.10 or 9.11.

Learnt from: prettyboymp
PR: #59048
File: .github/workflows/cherry-pick-milestoned-prs.yml:118-131
Timestamp: 2025-07-11T13:05:08.440Z
Learning: In GitHub Actions workflows, when reviewing steps that access event data like github.event.pull_request.milestone, check the entire job dependency chain and conditional logic. If upstream jobs already validate the data exists (like checking github.event.pull_request.milestone != null in a prerequisite job), then downstream jobs don't need redundant null-checks since the data is guaranteed to exist by that point.

Learnt from: jorgeatorres
PR: #59946
File: .github/workflows/release-code-freeze.yml:108-124
Timestamp: 2025-07-23T19:42:10.564Z
Learning: WooCommerce trunk versions follow the pattern X.Y.0-dev where the patch version is always 0. This means when calculating release branches, string operations like slice(0, -2) on the version after removing -dev will always work correctly since the input format is predictable (e.g., 10.2.010.2).

Learnt from: lysyjan
PR: #59632
File: packages/js/email-editor/src/layouts/flex-email.tsx:116-122
Timestamp: 2025-07-14T10:41:46.200Z
Learning: In WooCommerce projects, formatting suggestions should respect the project's Prettier configuration and linting rules. Changes that would break the lint job should be avoided, even if they appear to improve readability.

Learnt from: opr
PR: woocommerce/woocommerce#0
File: :0-0
Timestamp: 2025-06-20T17:38:16.565Z
Learning: WooCommerce legacy JavaScript files in plugins/woocommerce/client/legacy/js/ must use older JavaScript syntax and cannot use modern features like optional chaining (?.) due to browser compatibility requirements. Explicit null checking with && operators should be used instead.

Learnt from: albarin
PR: #59815
File: .github/workflows/maintenance-update-version-requirements.yml:19-23
Timestamp: 2025-07-23T09:39:44.095Z
Learning: The WordPress SVN repository at https://core.svn.wordpress.org/tags/ only contains stable numeric release versions (like 6.8.2, 6.7.1, etc.) and does not include RC (release candidate), beta, or alpha versions. Therefore, no filtering is needed when fetching the latest WordPress version from this repository.

🔇 Additional comments (1)
docs/contribution/releases/building-and-publishing.md (1)

20-21: Good call-out adding the GitHub status check.

Including a quick link to https://www.githubstatus.com/ is a useful safeguard before triggering long-running workflows.

@piinthecloud
Copy link
Contributor

Hey folks, are we going back to referring to RC-1 as Beta?

@prettyboymp
Copy link
Contributor Author

Hey folks, are we going back to referring to RC-1 as Beta?

@piinthecloud, that is what we're currently discussing and planning, likely starting with the 10.2 release cycle. We decided it was better to separate the concept of what we consider a true release candidate vs the initial releases made shortly after code freeze. RCs at this point will be releases that we would otherwise consider stable releases, but are releasing to some internal environments for some final review prior to labeling it as the stable X.Y.0 release.

Copy link
Contributor

@albarin albarin left a comment

Choose a reason for hiding this comment

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

Changes look good!
As Coderabbit suggested, we should update the decision table for step 4 but also for step 5.

Copy link
Contributor

@albarin albarin left a comment

Choose a reason for hiding this comment

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

Change to docs look good to me ✅ TY!

@prettyboymp prettyboymp merged commit ee04a05 into trunk Aug 5, 2025
12 checks passed
@prettyboymp prettyboymp deleted the release-build-docs-include-beta branch August 5, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues and PRs related to improving documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants