Skip to content

Comments

chore: bump go-da to v0.5.2#1829

Merged
Manav-Aggarwal merged 3 commits intomainfrom
yarik/bump-go-da
Sep 13, 2024
Merged

chore: bump go-da to v0.5.2#1829
Manav-Aggarwal merged 3 commits intomainfrom
yarik/bump-go-da

Conversation

@yarikbratashchuk
Copy link
Contributor

@yarikbratashchuk yarikbratashchuk commented Sep 4, 2024

Summary by CodeRabbit

  • Chores
    • Updated dependency versions for improved performance and stability.
  • Bug Fixes
    • Adjusted test expectations for block retrieval to reflect changes in error handling.

@yarikbratashchuk yarikbratashchuk self-assigned this Sep 4, 2024
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 4, 2024

Walkthrough

The go.mod file has been updated to reflect new versions of two dependencies: github.com/rollkit/go-da has been upgraded from v0.5.0 to v0.5.2, and github.com/filecoin-project/go-jsonrpc has been updated from v0.3.1 to v0.6.0. Additionally, the da_test.go file has modified a test function to change the expected behavior of the RetrieveHeaders method, indicating a shift in how header retrieval errors are handled.

Changes

File Change Summary
go.mod Updated github.com/rollkit/go-da from v0.5.0 to v0.5.2 and github.com/filecoin-project/go-jsonrpc from v0.3.1 to v0.6.0.
da/da_test.go Modified the doTestRetrieveNoBlocksFound test to change expected error code from StatusNotFound to StatusError. Added comments regarding namespace support.

Sequence Diagram(s)

(No sequence diagrams generated as the changes are too simple and do not affect control flow.)

Possibly related PRs

Poem

🐇 In the meadow where bunnies play,
New versions hop in, hip-hip-hooray!
Dependencies dance, all shiny and bright,
Fixes and features, oh what a delight!
With every leap, our code's in tune,
A joyful update beneath the moon! 🌙

Tip

OpenAI O1 model for chat
  • We have deployed OpenAI's latest O1 model for chat.
  • OpenAI claims that this model has superior reasoning capabilities than their GPT-4o model.
  • Please share any feedback with us in the discussions post.

Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0456da2 and 702d7d6.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (2)
  • da/da_test.go (1 hunks)
  • go.mod (2 hunks)
Files skipped from review as they are similar to previous changes (2)
  • da/da_test.go
  • go.mod

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

@RollkitBot RollkitBot requested review from a team, MSevey, tuxcanfly and tzdybal and removed request for a team September 4, 2024 09:37
@yarikbratashchuk yarikbratashchuk changed the title Bump go-da to v0.5.2 chore: bump go-da to v0.5.2 Sep 4, 2024
Manav-Aggarwal
Manav-Aggarwal previously approved these changes Sep 4, 2024
tzdybal
tzdybal previously approved these changes Sep 4, 2024
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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 87c27c2 and e57c01e.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (2 hunks)
Files skipped from review due to trivial changes (1)
  • go.mod

MSevey
MSevey previously approved these changes Sep 4, 2024
Copy link
Collaborator

@tuxcanfly tuxcanfly left a comment

Choose a reason for hiding this comment

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

Error message in test needs to be updated:

"failed to get IDs: rpc error: code = Unknown desc = given height is from the future" does not contain "blob: not found"

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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between e57c01e and d06e7cd.

Files selected for processing (1)
  • da/da_test.go (1 hunks)
Additional comments not posted (1)
da/da_test.go (1)

346-349: Verify the impact of the change in expected behavior for the RetrieveBlocks method.

The changes indicate that the RetrieveBlocks method no longer reliably returns a StatusNotFound when no blocks are found, and instead returns a StatusError. This change alters the expected outcome of the test, indicating a potential issue with the handling of block retrieval errors.

The comments provide context for the change, explaining that the dummy DA implementation does not support namespaces, which affects the retrieval of the BlockNotFound error.

Please verify the impact of this change on the system and user experience. Ensure that the new behavior is handled correctly throughout the codebase and that it does not introduce any unexpected issues or inconsistencies.

Additionally, update the documentation to reflect the new behavior and limitations of the dummy DA implementation to ensure that users are aware of the potential differences in error handling when using the dummy DA.

@codecov
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.16%. Comparing base (7f61496) to head (702d7d6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1829      +/-   ##
==========================================
+ Coverage   43.14%   43.16%   +0.02%     
==========================================
  Files          80       80              
  Lines       10387    10387              
==========================================
+ Hits         4481     4484       +3     
+ Misses       5165     5163       -2     
+ Partials      741      740       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d06e7cd and 314e8e3.

Files selected for processing (1)
  • da/da_test.go (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • da/da_test.go

MSevey
MSevey previously approved these changes Sep 6, 2024
tzdybal
tzdybal previously approved these changes Sep 10, 2024
Manav-Aggarwal
Manav-Aggarwal previously approved these changes Sep 13, 2024
gupadhyaya
gupadhyaya previously approved these changes Sep 13, 2024
@Manav-Aggarwal Manav-Aggarwal dismissed stale reviews from gupadhyaya and themself via 702d7d6 September 13, 2024 12:08
@gupadhyaya gupadhyaya self-requested a review September 13, 2024 12:24
@Manav-Aggarwal Manav-Aggarwal added this pull request to the merge queue Sep 13, 2024
Merged via the queue into main with commit ca2edbf Sep 13, 2024
@Manav-Aggarwal Manav-Aggarwal deleted the yarik/bump-go-da branch September 13, 2024 12:29
@tac0turtle tac0turtle removed this from Evolve Apr 24, 2025
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.

6 participants