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

[GH Action] Update release tags and commit SHAs for mocha #1817

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

celestia-bot
Copy link
Contributor

@celestia-bot celestia-bot commented Dec 2, 2024

Automated changes by create-pull-request GitHub action

Summary by CodeRabbit

  • New Features
    • Updated version tags for the app components to enhance compatibility and performance.
  • Bug Fixes
    • Resolved issues related to outdated version identifiers for the app components.

Copy link
Contributor

coderabbitai bot commented Dec 2, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

The changes in this pull request involve updates to the mochaVersions constant defined in the .vitepress/constants/mocha_versions.js file and the arabicaVersions constant in the .vitepress/constants/arabica_versions.js file. Specifically, version tags and SHA identifiers for the app-latest-tag and core-latest-tag have been modified in both files. The app-latest-tag in mochaVersions has been updated to "v3.0.2" with a new SHA, and the core-latest-tag has been changed to "v1.44.0-tm-v0.34.35" with its corresponding SHA updated. Similar updates were made to the arabicaVersions constant.

Changes

File Change Summary
.vitepress/constants/mocha_versions.js Updated mochaVersions constant with new values for app-latest-tag, app-latest-sha, core-latest-tag, and core-latest-sha.
.vitepress/constants/arabica_versions.js Updated arabicaVersions constant with new values for app-latest-tag and app-latest-sha.

Possibly related PRs

Suggested reviewers

  • mindstyle85

🐇 In the code we hop and play,
Updating versions day by day.
Mocha tags now shine so bright,
With new SHAs, they take flight!
Let's celebrate this little change,
In our code, it's not so strange! 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between af77fb3 and 30fc3d0.

📒 Files selected for processing (1)
  • .vitepress/constants/arabica_versions.js (1 hunks)

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:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • 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 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.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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

github-actions bot commented Dec 2, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://celestiaorg.github.io/docs-preview/./pr-1817/
on branch main at 2024-12-02 14:44 UTC

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

🧹 Outside diff range and nitpick comments (1)
.vitepress/constants/mocha_versions.js (1)

2-7: Review version naming consistency

There are inconsistencies in the version naming patterns:

  • app: clean semver (v3.0.2)
  • core: includes Tendermint version (v1.44.0-tm-v0.34.35)
  • node: includes test suffix (v0.20.4-test2)

Consider establishing and documenting a consistent version naming strategy across all components. This will help prevent confusion and make it easier to track dependencies.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 5707d8f and 2ef76aa.

📒 Files selected for processing (1)
  • .vitepress/constants/mocha_versions.js (1 hunks)
🔇 Additional comments (2)
.vitepress/constants/mocha_versions.js (2)

4-5: Verify core version tag and SHA existence

The core version has been bumped from v1.43.0-tm-v0.34.35 to v1.44.0-tm-v0.34.35. Let's verify this version exists.

✅ Verification successful

Core version tag and SHA verification successful

The tag v1.44.0-tm-v0.34.35 exists and correctly points to the SHA a1268f7ae3e688144a613c8a439dd31818aae07d. Both the tag and the commit SHA are valid in the celestia-core repository.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence of the core version tag and SHA
# Expected results: The tag and SHA should exist in the repository

# Check if the tag exists and matches the SHA
gh api repos/celestiaorg/celestia-core/git/refs/tags/v1.44.0-tm-v0.34.35 --jq '.object.sha' || echo "Tag not found"

# Verify the SHA exists
gh api repos/celestiaorg/celestia-core/git/commits/a1268f7ae3e688144a613c8a439dd31818aae07d --jq '.sha' || echo "SHA not found"

Length of output: 277


2-3: Verify app version tag and SHA existence

The app version has changed from v3.0.1-mocha to v3.0.2, dropping the -mocha suffix. Let's verify this version exists.

✅ Verification successful

Version tag and SHA verification successful

The version tag v3.0.2 and its corresponding SHA b24feac743182b33192d46ed42d8f89578c084ab exist in the celestia-app repository and are correctly matched. The removal of the -mocha suffix appears to be an intentional change in the versioning strategy.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence of the app version tag and SHA
# Expected results: The tag and SHA should exist in the repository

# Check if the tag exists and matches the SHA
gh api repos/celestiaorg/celestia-app/git/refs/tags/v3.0.2 --jq '.object.sha' || echo "Tag not found"

# Verify the SHA exists
gh api repos/celestiaorg/celestia-app/git/commits/b24feac743182b33192d46ed42d8f89578c084ab --jq '.sha' || echo "SHA not found"

Length of output: 262

Comment on lines 6 to 7
"node-latest-tag": "v0.20.4-test2",
"node-latest-sha": "774be14be2debe5f77ce7f37424e8a074b357b13",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

⚠️ Potential issue

Version tag v0.20.4-test2 appears to be non-standard and should be updated

The repository shows that v0.20.4 is the latest production release, with standard variants being:

  • v0.20.4 (main release)
  • v0.20.4-mocha
  • v0.20.4-arabica

The current v0.20.4-test2 tag is not aligned with the versioning pattern used in the repository and should be updated to use one of the standard version tags.

  • Consider updating to either v0.20.4, v0.20.4-mocha, or v0.20.4-arabica based on your requirements
  • The SHA 774be14be2debe5f77ce7f37424e8a074b357b13 exists but should be referenced with the correct version tag
🔗 Analysis chain

Verify node version tag and SHA existence, and flag potential testing version

The node version has changed from v0.20.4-mocha to v0.20.4-test2, which suggests this might be a testing version. This needs verification.

The -test2 suffix suggests this might be a testing version. Please confirm if this is intentional or if we should be using a production release version instead.


Let me gather more information about this version tag to understand its context better.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence of the node version tag and SHA
# Expected results: The tag and SHA should exist in the repository

# Check if the tag exists and matches the SHA
gh api repos/celestiaorg/celestia-node/git/refs/tags/v0.20.4-test2 --jq '.object.sha' || echo "Tag not found"

# Verify the SHA exists
gh api repos/celestiaorg/celestia-node/git/commits/774be14be2debe5f77ce7f37424e8a074b357b13 --jq '.sha' || echo "SHA not found"

Length of output: 271


Script:

#!/bin/bash
# Check the commit message and details for this SHA to understand the context
gh api repos/celestiaorg/celestia-node/git/commits/774be14be2debe5f77ce7f37424e8a074b357b13 --jq '.commit.message'

# Let's also check if there are any related production versions around this timeframe
gh api repos/celestiaorg/celestia-node/git/refs/tags | jq -r '.[].ref' | grep -E 'v0.20.[0-9]+$|v0.20.[0-9]+-[^test]'

Length of output: 894

@jcstein jcstein merged commit 9b2f86f into main Dec 2, 2024
4 of 5 checks passed
@jcstein jcstein deleted the create-pull-request/patch branch December 2, 2024 14:44
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