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

ci: enable backport:v3.x label #4046

Merged
merged 2 commits into from
Nov 22, 2024
Merged

ci: enable backport:v3.x label #4046

merged 2 commits into from
Nov 22, 2024

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Nov 21, 2024

I want to use this label on another PR I just made.

@rootulp rootulp self-assigned this Nov 21, 2024
@rootulp rootulp requested a review from a team as a code owner November 21, 2024 21:52
@rootulp rootulp requested review from cmwaters, rach-id and evan-forbes and removed request for a team November 21, 2024 21:52
@rootulp rootulp enabled auto-merge (squash) November 21, 2024 21:52
@celestia-bot celestia-bot requested a review from a team November 21, 2024 21:52
evan-forbes
evan-forbes previously approved these changes Nov 21, 2024
Copy link
Contributor

coderabbitai bot commented Nov 21, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The changes introduce a new rule to the .github/mergify.yml file that facilitates backporting patches to the v3.x branch. This rule activates when a pull request is based on the main branch and is labeled with backport:v3.x. The existing rules for backporting to the v1.x and v2.x branches remain unchanged, ensuring a consistent management structure for pull requests across different branches.

Changes

File Change Summary
.github/mergify.yml Added a new rule named "backport patches to v3.x branch" with conditions for base branch and label.
docs/maintainers/release-guide.md Updated formatting and clarity of release process instructions, including markdown link format for breaking changes.
docs/release-notes/release-notes.md Updated release notes for version 3.0.0 with detailed instructions for node operators and library consumers, including configuration updates and signaling process.

Possibly related PRs

Suggested labels

backport:v2.x, WS: V3 3️⃣

Suggested reviewers

  • liamsi
  • cmwaters
  • evan-forbes
  • ninabarbakadze

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

🧹 Outside diff range and nitpick comments (1)
.github/mergify.yml (1)

25-25: Remove trailing spaces.

The line contains trailing spaces which should be removed.

-          - v3.x          
+          - v3.x
🧰 Tools
🪛 yamllint (1.29.0-1)

[error] 25-25: trailing spaces

(trailing-spaces)

🪛 GitHub Check: lint / yamllint

[failure] 25-25:
25:17 [trailing-spaces] trailing spaces

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 66699e7 and 6e453b6.

📒 Files selected for processing (1)
  • .github/mergify.yml (1 hunks)
🧰 Additional context used
🪛 yamllint (1.29.0-1)
.github/mergify.yml

[error] 25-25: trailing spaces

(trailing-spaces)

🪛 GitHub Check: lint / yamllint
.github/mergify.yml

[failure] 25-25:
25:17 [trailing-spaces] trailing spaces

🔇 Additional comments (2)
.github/mergify.yml (2)

18-25: LGTM! The new rule follows the established pattern.

The new backport rule for v3.x maintains consistency with existing rules for v1.x and v2.x, following the same structure and naming convention.

🧰 Tools
🪛 yamllint (1.29.0-1)

[error] 25-25: trailing spaces

(trailing-spaces)

🪛 GitHub Check: lint / yamllint

[failure] 25-25:
25:17 [trailing-spaces] trailing spaces


20-25: Verify v3.x branch existence.

Let's ensure the target branch exists to prevent backport failures.

✅ Verification successful

Branch v3.x exists and is valid for backporting

The v3.x branch exists in the repository with commit ceac540, confirming that the backport configuration is valid and will work as expected.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if v3.x branch exists in the repository

# Check if v3.x branch exists
git ls-remote --heads origin v3.x

# If branch doesn't exist, this might cause backport failures

Length of output: 92

🧰 Tools
🪛 yamllint (1.29.0-1)

[error] 25-25: trailing spaces

(trailing-spaces)

🪛 GitHub Check: lint / yamllint

[failure] 25-25:
25:17 [trailing-spaces] trailing spaces

rach-id
rach-id previously approved these changes Nov 21, 2024
@rootulp rootulp dismissed stale reviews from rach-id and evan-forbes via b763d07 November 22, 2024 14:02
@rootulp rootulp requested a review from liamsi as a code owner November 22, 2024 14:02
@celestia-bot celestia-bot requested a review from a team November 22, 2024 14:02
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 and nitpick comments (1)
docs/release-notes/release-notes.md (1)

57-57: Fix hyphenation: "hard coded" → "hard-coded"

The compound adjective "hard-coded" should be hyphenated when used as a modifier before a noun.

-Once 5/6+ of the voting power have signalled, the upgrade will be ready. There is a hard coded delay between confirmation of the upgrade and execution to the new state machine.
+Once 5/6+ of the voting power have signalled, the upgrade will be ready. There is a hard-coded delay between confirmation of the upgrade and execution to the new state machine.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~57-~57: This word is normally spelled with a hyphen.
Context: ..., the upgrade will be ready. There is a hard coded delay between confirmation of the upgra...

(HARD_CODE_COMPOUND)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 6e453b6 and b763d07.

📒 Files selected for processing (3)
  • .github/mergify.yml (1 hunks)
  • docs/maintainers/release-guide.md (1 hunks)
  • docs/release-notes/release-notes.md (2 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/maintainers/release-guide.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/mergify.yml
🧰 Additional context used
🪛 LanguageTool
docs/release-notes/release-notes.md

[uncategorized] ~57-~57: This word is normally spelled with a hyphen.
Context: ..., the upgrade will be ready. There is a hard coded delay between confirmation of the upgra...

(HARD_CODE_COMPOUND)

🔇 Additional comments (1)
docs/release-notes/release-notes.md (1)

57-57: Please specify the hard-coded delay duration

The release notes mention a hard-coded delay between upgrade confirmation and execution but don't specify its duration. This information is crucial for node operators to plan their upgrades effectively.

Let's check the codebase for this delay value:

🧰 Tools
🪛 LanguageTool

[uncategorized] ~57-~57: This word is normally spelled with a hyphen.
Context: ..., the upgrade will be ready. There is a hard coded delay between confirmation of the upgra...

(HARD_CODE_COMPOUND)

Copy link
Member

@ninabarbakadze ninabarbakadze left a comment

Choose a reason for hiding this comment

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

utAck

@rootulp rootulp merged commit 2831f3b into main Nov 22, 2024
29 of 30 checks passed
@rootulp rootulp deleted the rp/backport-v3.x-label branch November 22, 2024 17:19
rach-id pushed a commit that referenced this pull request Nov 26, 2024
I want to use this label on another PR I just made.

(cherry picked from commit 2831f3b)
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.

4 participants