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

feat: revert nitro guide to stable commit and remove placeholder images #1389

Closed
wants to merge 5 commits into from

Conversation

jcstein
Copy link
Member

@jcstein jcstein commented Feb 1, 2024

Overview

This PR reverts Nitro docs to a stable commit based on testing below. Testing done on arm64 machine.

Description celestia-node Version Commit or tag Status Reference Link
celestia-node v0.12.1 v0.12.1 c6f5ac2 Worked Celenium, Logs
celestia-node v0.12.4 v0.12.4 c6f5ac2 Worked Celenium, Logs
Applying Debugging Diff to c6f5ac2 v0.12.4 c6f5ac2 Worked Celenium
After fresh clone of v0.2.2-no-blobstream with v0.12.1 v0.12.1 v0.2.2-no-blobstream Did not work Logs
After fresh clone of v0.2.2-no-blobstream with v0.12.4 v0.12.4 v0.2.2-no-blobstream Did not work Logs
Testing c6f5ac2 with v0.12.1 with --validation posts (doesn't validate) v0.12.1 c6f5ac2 Posts but doesn't validate Celenium, Logs
c6f5ac2 with v0.12.4 with --validation posts (doesn't validate) v0.12.4 c6f5ac2 Posts but doesn't validate Celenium, Logs - I accidentally closed the terminal RIP

Errors posting seem to boil down to connection issues in docker, yet to be resolved:

poster-1         | WARN [01-31|20:25:54.641] error posting batch                      err="RPC client error: sendRequest failed: Post \"http://da:26658\": dial tcp 172.21.0.2:26658: connect: connection refused"

See preview of modified content

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Updated the deployment instructions for the Arbitrum network to reflect the latest codebase version.
    • Updated the image version for deploying Arbitrum Nitro rollup to the Mocha testnet.

@jcstein jcstein requested a review from Bidon15 February 1, 2024 00:31
@jcstein jcstein self-assigned this Feb 1, 2024
@jcstein jcstein requested a review from Ferret-san February 1, 2024 00:32
@jcstein jcstein added the documentation Improvements or additions to documentation label Feb 1, 2024
Copy link
Contributor

coderabbitai bot commented Feb 1, 2024

Walkthrough

The transition involves moving from a specific tagged version (v2.2.2-no-blobstream) to a precise commit (c6f5ac2). This change signals a shift towards a more targeted and potentially stable or feature-specific commit, reflecting a refined approach to selecting the deployment state.

Changes

File Path Change Summary
developers/arbitrum-deploy.md Changed from tag v2.2.2-no-blobstream to commit c6f5ac2
developers/arbitrum-mocha.md Updated Arbitrum Nitro rollup image version from v0.12.1 to v0.12.4 for Mocha testnet

🐇✨
In the realm of code, where changes abide,
From a tag to a commit, we gracefully slide.
Each line, a journey; each commit, a stride,
Together we hop, in innovation, we pride.
🌟🐾

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>.
    • Generate unit-tests for this file.
  • 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 tests 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 from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

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

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link
Contributor

github-actions bot commented Feb 1, 2024

PR Preview Action v1.4.6
Preview removed because the pull request was closed.
2024-02-02 16:52 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.

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 874ec9d and e9296a1.
Files selected for processing (1)
  • developers/arbitrum-deploy.md (1 hunks)

developers/arbitrum-deploy.md Show resolved Hide resolved
@jcstein
Copy link
Member Author

jcstein commented Feb 1, 2024

  • update the pr to show that in the mocha guide it is possible to use that old commit, v2.2.2-no-blobstream will not post to mocha, and run into errors update guide for mocha to v0.12.4 and old commit, because it is compatible
  • test v2.2.2-no-blobstream using host.docker.internal:26658, didn't work
  • test v2.2.2-no-blobstream using localhost:26658, didn't work
  • test v2.2.2-no-blobstream using 172.17.0.1:26658, didn't work

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.

Review Status

Actionable comments generated: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between e9296a1 and 1811762.
Files ignored due to path filters (2)
  • public/img/nitro-vroom-devnet.png is excluded by: !**/*.png
  • public/img/nitro-vroom.png is excluded by: !**/*.png
Files selected for processing (2)
  • developers/arbitrum-deploy.md (2 hunks)
  • developers/arbitrum-mocha.md (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • developers/arbitrum-deploy.md
Additional comments: 5
developers/arbitrum-mocha.md (5)
  • 40-41: The image version for deploying an Arbitrum Nitro rollup to the Mocha testnet has been updated from v0.12.1 to v0.12.4. Ensure that this version change is consistent with the testing outcomes mentioned in the PR objectives, specifically that v0.12.4 has been tested and confirmed to work effectively in the desired configurations.
  • 38-44: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [40-49]

The addition of celestia light start command with specific flags (--core.ip, --p2p.network, --log.level, and --gateway) in the docker-compose.yaml file is a significant change. It's crucial to ensure that these flags are correctly documented and supported by the v0.12.4 version of celestia-node. Additionally, verify that the network and logging configurations are appropriate for the intended use case in the Mocha testnet environment.

  • 4-9: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [53-54]

The update to NODE_PATH in the test-node.bash script to use .celestia-light-{{constants.mochaChainId}} directory aligns with the changes in the docker-compose configuration. This consistency is good, but ensure that the constants.mochaChainId is correctly defined and accessible in this script's context to avoid path resolution issues.

  • 4-9: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [56-56]

The change in the export CELESTIA_NODE_AUTH_TOKEN command to use the celestia-da container name is aligned with the updated container name in the docker-compose file. This change is necessary for consistency and should work as intended if the container name matches across all scripts and configurations.

  • 38-44: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-62]

Overall, the documentation update to reflect the change from v0.12.1 to v0.12.4 for deploying an Arbitrum Nitro rollup to the Mocha testnet seems thorough. However, it's crucial to ensure that all changes, including command updates and configuration adjustments, are validated against the actual behavior of celestia-node version v0.12.4 and the specific requirements of the Mocha testnet environment. Additionally, consider adding more detailed guidance for users on configuring their deployment securely, especially regarding running containers as non-root users.

Comment on lines 4 to 9

# Deploy an Arbitrum rollup to Mocha testnet

![nitro-vroom](/img/nitro-vroom.png)

<!-- markdownlint-disable MD033 -->
<script setup>
import constants from '/.vitepress/constants/constants.js'
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [50-50]

The warning about not advising to run with user: root permissions in production is important for security best practices. It's good that this caution is included, but it might be beneficial to provide an alternative configuration for users to avoid running as root, especially if this documentation is intended for a wider audience that might include production environments.


📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [59-60]

The update to the tendermint-rpc URL and the placeholder for <your-10bytenamespace> in the config.ts file are critical for connecting to the correct Tendermint RPC and using a unique namespace. Users should be guided on how to generate or choose their 10-byte namespace if not already provided, ensuring they understand the importance of this value in the context of their deployment.

@jcstein jcstein changed the title feat: revert nitro guide to stable commit feat: revert nitro guide to stable commit and remove placeholder images Feb 2, 2024
@jcstein jcstein mentioned this pull request Feb 2, 2024
11 tasks
@jcstein
Copy link
Member Author

jcstein commented Feb 2, 2024

chef still cooking

@jcstein jcstein closed this Feb 2, 2024
@jcstein jcstein deleted the jcstein-patch-3 branch October 1, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant