Skip to content
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

docs: update release guide #4362

Merged
merged 1 commit into from
Feb 27, 2025
Merged

docs: update release guide #4362

merged 1 commit into from
Feb 27, 2025

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Feb 27, 2025

To instruct maintainers to use a minor version branch.

Note: this still doesn't enforce that releases are created via minor branches but it's a first step.

To instruct maintainers to use a minor version branch
@rootulp rootulp requested a review from evan-forbes February 27, 2025 19:08
@rootulp rootulp self-assigned this Feb 27, 2025
@rootulp rootulp requested a review from a team as a code owner February 27, 2025 19:08
@rootulp rootulp requested review from ninabarbakadze and removed request for a team February 27, 2025 19:08
@rootulp rootulp enabled auto-merge (squash) February 27, 2025 19:08
Copy link
Contributor

coderabbitai bot commented Feb 27, 2025

📝 Walkthrough

Walkthrough

The release guide documentation has been updated. The "Official Release" section has been renamed to "Testnet Release" with revised instructions for creating pre-releases. A new "Mainnet Release" section has been added, which specifies different tag naming and release state toggling. Instructions now clarify creating a minor version branch when missing and provide concrete examples for branch names and tag suffixes.

Changes

File(s) Change Summary
docs/maintainers/release-guide.md Renamed "Official Release" to "Testnet Release"; added "Mainnet Release" section; updated instructions to create minor version branches when needed; clarified tag suffix usage and release checkbox toggling.

Sequence Diagram(s)

sequenceDiagram
    participant Maintainer
    participant Repository

    %% Testnet Release Flow
    note over Maintainer,Repository: Testnet Release Flow
    Maintainer->>Repository: Check for minor version branch existence
    alt Branch exists
        Maintainer->>Repository: Use existing branch (e.g., v3.4.x)
    else Branch does not exist
        Maintainer->>Repository: Create minor version branch (e.g., v3.4.x)
    end
    Maintainer->>Repository: Tag release with -arabica or -mocha suffix (no -rc)
    Maintainer->>Repository: Include Upgrade Notice in release notes

    %% Mainnet Release Flow
    note over Maintainer,Repository: Mainnet Release Flow
    Maintainer->>Repository: Check for minor version branch existence
    alt Branch exists
        Maintainer->>Repository: Use existing branch (e.g., v3.4.x)
    else Branch does not exist
        Maintainer->>Repository: Create minor version branch (e.g., v3.4.x)
    end
    Maintainer->>Repository: Tag release without any suffixes
    Maintainer->>Repository: Toggle off pre-release checkbox
    Maintainer->>Repository: Toggle on latest release checkbox
Loading

Possibly related PRs

Suggested labels

external

Suggested reviewers

  • liamsi
  • cmwaters
  • ninabarbakadze
  • evan-forbes
  • staheri14

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • 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 generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • 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 generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

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 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: 0

🧹 Nitpick comments (5)
docs/maintainers/release-guide.md (5)

16-16: Correct Typo in Minor Version Branch Instruction
The word “doex” appears to be a typo. It should be corrected to “does” to improve clarity.

- 1. If a minor version branch doex not exist for the release you are about to create, create one. Example: `v3.4.x`.
+ 1. If a minor version branch does not exist for the release you are about to create, create one. Example: `v3.4.x`.

17-17: Clarify Target Branch Instruction
The instruction “Change the target branch to a minor version based. Example: v3.4.x.” is slightly unclear. Consider rephrasing it for better readability, for example: “Change the target branch to the appropriate minor version branch. For example: v3.4.x.”

- 1. Change the target branch to a minor version based. Example: `v3.4.x`.
+ 1. Change the target branch to the appropriate minor version branch. For example: `v3.4.x`.

35-35: Add Comma for Improved Readability
A comma after “Instead” is recommended to adhere to proper punctuation style.

- - The version tag should not include the `-rc` suffix. Instead append the release with `-arabica` or `-mocha` depending on the target network.
+ - The version tag should not include the `-rc` suffix. Instead, append the release with `-arabica` or `-mocha` depending on the target network.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~35-~35: A comma may be missing after the conjunctive/linking adverb ‘Instead’.
Context: ...ag should not include the -rc suffix. Instead append the release with -arabica or `...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


39-39: Remove Trailing Punctuation from Heading
The heading “### After creating the release:” should not have a trailing colon as per markdown style guidelines (MD026).

- ### After creating the release:
+ ### After creating the release
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

39-39: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


43-49: Ensure Proper Markdown Formatting for Mainnet Release Section
For improved readability and to satisfy markdownlint MD032 guidelines, consider adding a blank line before and after the list items in this section. This will visually separate the list from the surrounding text.

- Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:
- - The version tag should not include the `-rc`, `-arabica`, or `-mocha` suffix.
- - Toggle off the **Set as a pre-release** checkbox.
- - Toggle on the **Set as the latest release** checkbox.
+ Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:
+
+ - The version tag should not include the `-rc`, `-arabica`, or `-mocha` suffix.
+ - Toggle off the **Set as a pre-release** checkbox.
+ - Toggle on the **Set as the latest release** checkbox.
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

47-47: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 4186da3 and 4a8362e.

📒 Files selected for processing (1)
  • docs/maintainers/release-guide.md (2 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/maintainers/release-guide.md

[uncategorized] ~35-~35: A comma may be missing after the conjunctive/linking adverb ‘Instead’.
Context: ...ag should not include the -rc suffix. Instead append the release with -arabica or `...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)

🪛 markdownlint-cli2 (0.17.2)
docs/maintainers/release-guide.md

39-39: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


47-47: Lists should be surrounded by blank lines
null

(MD032, blanks-around-lists)

⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: docker-security-build / docker-build (GHCR; ghcr.io/celestiaorg/celestia-app)
  • GitHub Check: docker-txsim-build / docker-build (GHCR; ghcr.io/celestiaorg/txsim)
  • GitHub Check: test / test-fuzz
  • GitHub Check: test / test-race
  • GitHub Check: test / test-coverage
  • GitHub Check: test / test
  • GitHub Check: markdown-linter / markdown-link-check
  • GitHub Check: Summary

@@ -13,7 +13,8 @@ The target audience for this guide is maintainers of this repo. In general, the

1. Navigate to <https://github.com/celestiaorg/celestia-app/releases/new>.
1. Choose a version tag based on [Semantic Versioning](https://semver.org/). Include the `-rc` suffix followed by the next integer. RCs start at 0.
1. Change the target branch to `v1.x` or `v2.x` based on the version you're releasing.
1. If a minor version branch doex not exist for the release you are about to create, create one. Example: `v3.4.x`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
1. If a minor version branch doex not exist for the release you are about to create, create one. Example: `v3.4.x`.
1. If a minor version branch does not exist for the release you are about to create, create one. Example: `v3.4.x`.

Copy link
Member

Choose a reason for hiding this comment

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

doex should be a word tbh

- The release notes should contain an **Upgrade Notice** section with notable changes for node operators or library consumers.
- The release notes section should contain a link to <https://github.com/celestiaorg/celestia-app/blob/main/docs/release-notes/release-notes.md> where we capture breaking changes

After creating the release:
### After creating the release:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
### After creating the release:
### After creating the release

@rootulp rootulp merged commit eeeded3 into main Feb 27, 2025
29 checks passed
@rootulp rootulp deleted the rp/release-guide-minor-branch branch February 27, 2025 20:51
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.

3 participants