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: fix typos in network upgrades and Docker documentation #4195

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

tiendn
Copy link
Contributor

@tiendn tiendn commented Jan 7, 2025

Corrected minor grammatical errors in the ADR 018 document and the Docker documentation.
Changes includes:

  • adding commas for clarity
  • correcting the capitalization of "GitHub."

These updates enhance the readability and consistency of the documentation.

Corrected minor grammatical errors in the ADR 018 document and the Docker documentation. Changes include adding commas for clarity and correcting the capitalization of "GitHub." These updates enhance the readability and consistency of the documentation.
@tiendn tiendn requested a review from a team as a code owner January 7, 2025 16:41
@tiendn tiendn requested review from cmwaters and evan-forbes and removed request for a team January 7, 2025 16:41
Copy link
Contributor

coderabbitai bot commented Jan 7, 2025

📝 Walkthrough

Walkthrough

The pull request involves minor documentation updates across three files. In docs/architecture/adr-018-network-upgrades.md, grammatical and punctuation corrections were made to enhance sentence clarity and readability. The document docs/maintainers/docker.md had a capitalization correction, changing "Github" to "GitHub." Additionally, docs/release-notes/release-notes.md underwent formatting adjustments and clarifications, including capitalizing the term "update" for consistency. These changes are stylistic and do not affect the technical content or functionality of the documents.

Changes

File Change Summary
docs/architecture/adr-018-network-upgrades.md Added commas for improved sentence clarity and readability
docs/maintainers/docker.md Corrected capitalization of "GitHub"
docs/release-notes/release-notes.md Minor formatting adjustments and clarifications, including capitalization of "update"

Possibly related PRs

  • docs: fix typo #4180: This PR is related as it also addresses typographical errors in the adr-018-network-upgrades.md document, similar to the main PR's focus on grammatical corrections in the same document.
  • docs: correct capitalization in release notes #4187: This PR involves grammatical corrections in the release-notes.md, which shares a similar objective of improving clarity through minor textual adjustments.
  • docs: fix typo in Docker documentation #4190: This PR corrects a typo in the docker.md documentation, aligning with the main PR's focus on enhancing documentation clarity through grammatical corrections.

Suggested reviewers

  • cmwaters
  • rach-id
  • evan-forbes
  • rootulp
  • 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 generate docstrings to generate docstrings for this PR. (Beta)
  • @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 (1)
docs/architecture/adr-018-network-upgrades.md (1)

42-42: Add semicolon or period for better clarity

The sentence contains two independent clauses that should be properly separated. Consider adding a semicolon or splitting into two sentences:

-The design depends on a versioned state machine whereby the app version displayed in each block and agreed upon by all validators is the version that the transactions are both validated and executed against. If the celestia state machine is given a block at version 1, it will execute it with the v1 state machine if consensus provides a v2 block, all the transactions will be executed against the v2 state machine.
+The design depends on a versioned state machine whereby the app version displayed in each block and agreed upon by all validators is the version that the transactions are both validated and executed against. If the celestia state machine is given a block at version 1, it will execute it with the v1 state machine; if consensus provides a v2 block, all the transactions will be executed against the v2 state machine.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~42-~42: A punctuation mark might be missing here.
Context: ...ill execute it with the v1 state machine if consensus provides a v2 block, all the ...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between d032f48 and f04c113.

📒 Files selected for processing (2)
  • docs/architecture/adr-018-network-upgrades.md (1 hunks)
  • docs/maintainers/docker.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/maintainers/docker.md
🧰 Additional context used
🪛 LanguageTool
docs/architecture/adr-018-network-upgrades.md

[uncategorized] ~42-~42: A punctuation mark might be missing here.
Context: ...ill execute it with the v1 state machine if consensus provides a v2 block, all the ...

(AI_EN_LECTOR_MISSING_PUNCTUATION)

⏰ Context from checks skipped due to timeout of 90000ms (9)
  • 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-short
  • GitHub Check: test / test-race
  • GitHub Check: test / test-fuzz
  • GitHub Check: test / test-coverage
  • GitHub Check: test / test
  • GitHub Check: markdown-linter / markdown-link-check
  • GitHub Check: Summary
🔇 Additional comments (1)
docs/architecture/adr-018-network-upgrades.md (1)

44-44: LGTM!

The comma before "which" in this sentence is correctly placed, improving readability.

Copy link
Contributor

coderabbitai bot commented Jan 7, 2025

Caution

Review failed

The head commit changed during the review from f04c113 to 09a36c5.


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. (Beta)
  • @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 (3)
docs/architecture/adr-018-network-upgrades.md (3)

42-42: Add semicolon for better sentence structure

The compound sentence needs better separation between independent clauses.

-The design depends on a versioned state machine whereby the app version displayed in each block and agreed upon by all validators is the version that the transactions are both validated and executed against. If the celestia state machine is given a block at version 1, it will execute it with the v1 state machine if consensus provides a v2 block, all the transactions will be executed against the v2 state machine.
+The design depends on a versioned state machine whereby the app version displayed in each block and agreed upon by all validators is the version that the transactions are both validated and executed against. If the celestia state machine is given a block at version 1, it will execute it with the v1 state machine; if consensus provides a v2 block, all the transactions will be executed against the v2 state machine.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~42-~42: A punctuation mark might be missing here.
Context: ...ill execute it with the v1 state machine if consensus provides a v2 block, all the ...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


44-44: Add comma after introductory phrase

Add a comma after the introductory phrase for better readability.

-Given this a node can at any time spin up a v2 binary, which will immediately be able to continue validating and executing v1 blocks as if it were a v1 machine.
+Given this, a node can at any time spin up a v2 binary, which will immediately be able to continue validating and executing v1 blocks as if it were a v1 machine.

59-59: Improve sentence structure and subject-verb agreement

Multiple grammatical improvements needed in this paragraph:

  1. Add comma after "in fact"
  2. Remove incorrect comma before "that"
  3. Fix subject-verb agreement with "quorum"
-There is no indication that a quorum has in fact upgraded and that when the proposer proposes a block with the message to change version, that consensus will be reached.
+There is no indication that a quorum has, in fact, upgraded and that when the proposer proposes a block with the message to change version that consensus will be reached.
-the `MsgVersionChange` that the quorum have agreed to.
+the `MsgVersionChange` that the quorum has agreed to.
🧰 Tools
🪛 LanguageTool

[typographical] ~59-~59: Consider isolating this adverbial phrase with commas.
Context: ...There is no indication that a quorum has in fact upgraded and that when the proposer pro...

(IN_FACT_COMMA_2)


[typographical] ~59-~59: Make sure that the comma (,) is correct. Do not use a comma before a dependent clause that starts with ‘that’.
Context: ...block with the message to change version, that consensus will be reached. To mitigate ...

(COMMA_THAT_NOUN)


[uncategorized] ~59-~59: A comma might be missing here.
Context: ...here is no verification. Upon a certain threshold which must be at least 2/3+ but could p...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[uncategorized] ~59-~59: This verb does not appear to agree with the subject. Consider using a different form.
Context: ... the MsgVersionChange that the quorum have agreed to. The rest works as before. F...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between f04c113 and 09a36c5.

📒 Files selected for processing (2)
  • docs/architecture/adr-018-network-upgrades.md (2 hunks)
  • docs/release-notes/release-notes.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • docs/release-notes/release-notes.md
🧰 Additional context used
🪛 LanguageTool
docs/architecture/adr-018-network-upgrades.md

[uncategorized] ~42-~42: A punctuation mark might be missing here.
Context: ...ill execute it with the v1 state machine if consensus provides a v2 block, all the ...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


[typographical] ~59-~59: Consider isolating this adverbial phrase with commas.
Context: ...There is no indication that a quorum has in fact upgraded and that when the proposer pro...

(IN_FACT_COMMA_2)


[typographical] ~59-~59: Make sure that the comma (,) is correct. Do not use a comma before a dependent clause that starts with ‘that’.
Context: ...block with the message to change version, that consensus will be reached. To mitigate ...

(COMMA_THAT_NOUN)


[uncategorized] ~59-~59: A comma might be missing here.
Context: ...here is no verification. Upon a certain threshold which must be at least 2/3+ but could p...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)


[uncategorized] ~59-~59: This verb does not appear to agree with the subject. Consider using a different form.
Context: ... the MsgVersionChange that the quorum have agreed to. The rest works as before. F...

(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Summary

@ninabarbakadze ninabarbakadze merged commit 0079f3c into celestiaorg:main Jan 9, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants