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: release guide #3821

Merged
merged 5 commits into from
Aug 27, 2024
Merged

docs: release guide #3821

merged 5 commits into from
Aug 27, 2024

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Aug 26, 2024

Closes #3521

@rootulp rootulp self-assigned this Aug 26, 2024
@rootulp rootulp requested review from liamsi and a team as code owners August 26, 2024 18:22
Copy link
Contributor

coderabbitai bot commented Aug 26, 2024

Walkthrough

Walkthrough

A new file, release-guide.md, has been introduced to provide a structured guide for maintainers on the release process of the software. It details the steps for creating release candidates and official releases, emphasizing testing and documentation practices.

Changes

File Path Change Summary
docs/maintainers/release-guide.md Added a comprehensive guide for maintainers on the release process, including steps for creating release candidates and official releases, along with testing and documentation requirements.

Assessment against linked issues

Objective Addressed Explanation
Draft a release guide (##3521)
Document release blocking steps (##3521)

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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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 resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

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

Outside diff range, codebase verification and nitpick comments (1)
docs/maintainers/release-guide.md (1)

10-19: LGTM! Fix minor typo.

The steps for creating a release candidate are clear and detailed. However, there is a minor typo in step 18: "pre-relase" should be "pre-release".

Apply this diff to fix the typo:

- Toggle on the **Set as a pre-relase** checkbox.
+ Toggle on the **Set as a pre-release** checkbox.

evan-forbes
evan-forbes previously approved these changes Aug 26, 2024
cmwaters
cmwaters previously approved these changes Aug 26, 2024
docs/maintainers/release-guide.md Outdated Show resolved Hide resolved
@rootulp rootulp dismissed stale reviews from cmwaters and evan-forbes via 22fe196 August 26, 2024 21:03
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
@rootulp rootulp enabled auto-merge (squash) August 26, 2024 21:04
@celestia-bot celestia-bot requested a review from a team August 26, 2024 21:04
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

Outside diff range, codebase verification and nitpick comments (2)
docs/maintainers/release-guide.md (2)

3-3: Add missing article for clarity.

Consider adding "the" before "maintainers" for better readability.

-The target audience for this guide is maintainers of this repo. In general, the release process is as follows:
+The target audience for this guide is the maintainers of this repo. In general, the release process is as follows:
Tools
LanguageTool

[uncategorized] ~3-~3: You might be missing the article “the” here.
Context: ... The target audience for this guide is maintainers of this repo. In general, the release p...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


15-15: Add more information for clarity.

Include the -rc suffix followed by the next integer. RCs start at 0.

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.

staheri14
staheri14 previously approved these changes Aug 26, 2024
Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

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

Very nice, I added a comment about some optional text reformatting.

docs/maintainers/release-guide.md Outdated Show resolved Hide resolved
docs/maintainers/release-guide.md Outdated Show resolved Hide resolved
docs/maintainers/release-guide.md Outdated Show resolved Hide resolved
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
rootulp and others added 2 commits August 27, 2024 10:17
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
@celestia-bot celestia-bot requested a review from a team August 27, 2024 14:17
@rootulp rootulp requested a review from staheri14 August 27, 2024 14:17
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: 3

Comment on lines +10 to +20
## Release Candidate

### Creating a release candidate

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. Click **Generate release notes**.
1. Toggle on the **Set as a pre-relase** checkbox.
1. **Publish release**.

Copy link
Contributor

Choose a reason for hiding this comment

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

Consider converting steps to sub-headers.

Converting steps to sub-headers will improve readability and allow better referencing in other sections.

Apply this diff to convert steps to sub-headers:

 ## Release Candidate

-### Creating a release candidate
+### Step 1: Creating a release candidate

 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. Click **Generate release notes**.
 1. Toggle on the **Set as a pre-relase** checkbox.
 1. **Publish release**.

Committable suggestion was skipped due to low confidence.

Comment on lines +21 to +26
### After creating the release candidate

1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
1. [Optional] Start a testnet via auto-devops that uses the release candidate. Confirm it works.
1. [Optional] Use the release candidate to sync from genesis. Confirm it works.
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider converting steps to sub-headers.

Converting steps to sub-headers will improve readability and allow better referencing in other sections.

Apply this diff to convert steps to sub-headers:

 ### After creating the release candidate

 1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
 1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
 1. [Optional] Start a testnet via auto-devops that uses the release candidate. Confirm it works.
 1. [Optional] Use the release candidate to sync from genesis. Confirm it works.

Committable suggestion was skipped due to low confidence.

Comment on lines +28 to +38
## Official Release

Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:

- The version tag should not include the `-rc` suffix.
- The release notes should contain an **Upgrade Notice** section with notable changes for node operators or library consumers.

After creating the release:

1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider converting steps to sub-headers and removing trailing spaces.

Converting steps to sub-headers will improve readability and allow better referencing in other sections. Also, remove trailing spaces to adhere to markdown linting rules.

Apply this diff to convert steps to sub-headers and remove trailing spaces:

 ## Official Release

-Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations: 
+Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:

- The version tag should not include the `-rc` suffix.
- The release notes should contain an **Upgrade Notice** section with notable changes for node operators or library consumers.

 ### After creating the release:

 1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
 1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Official Release
Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:
- The version tag should not include the `-rc` suffix.
- The release notes should contain an **Upgrade Notice** section with notable changes for node operators or library consumers.
After creating the release:
1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
## Official Release
Follow the [creating a release candidate](#creating-a-release-candidate) section with the following considerations:
- The version tag should not include the `-rc` suffix.
- The release notes should contain an **Upgrade Notice** section with notable changes for node operators or library consumers.
### After creating the release:
1. Wait until CI passes on the release and verify that prebuilt binaries were attached to the release.
1. Create a PR to bump the celestia-app dependency in [celestia-node](https://github.com/celestiaorg/celestia-node).
Tools
Markdownlint

30-30: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)

@rootulp rootulp merged commit 359f993 into celestiaorg:main Aug 27, 2024
32 checks passed
@rootulp rootulp deleted the rp/release-guide branch August 27, 2024 17:04
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.

Draft a release guide
4 participants