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

build(deps): bump github.com/cockroachdb/pebble from 1.1.0 to 1.1.2 #109

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2024

Bumps github.com/cockroachdb/pebble from 1.1.0 to 1.1.2.

Release notes

Sourced from github.com/cockroachdb/pebble's releases.

v1.1.2

Pebble version used by CockroachDB 23.2.x series, plus some newer dependencies and a fix for MIPS.

v1.1.1

Pebble version used by CockroachDB 23.2.x series, plus some newer dependencies.

Commits
  • 9f3904a internal/manual,internal/rawalloc: Reduce max array size to support MIPS.
  • 6803ae8 go: bump cockroachdb/errors to v1.11.3
  • 26e7021 objstorage: add readahead configuration
  • 4a5d7e3 objstorage: fix preallocated handle initialization
  • 6b251de vfs: add Open options to loggingFS
  • 4273469 crl-release-23.2: db: more readable iterator stats
  • a3d91f3 crl-release-23.2: sstable: add LoadBlockSema option
  • 600eaf7 *: ignore some tests on i386
  • 75d2a93 sstable: increment BlockBytes and BlockReadDuration together
  • 3622ade db: ensure Metrics.WAL.BytesWritten is nondecreasing
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • New Features

    • Introduced a new library dependency for enhanced functionality.
  • Bug Fixes

    • Updated multiple dependencies to improve stability and performance, potentially addressing known issues.
  • Chores

    • Upgraded various libraries to their latest versions for better security and efficiency.

Bumps [github.com/cockroachdb/pebble](https://github.com/cockroachdb/pebble) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/cockroachdb/pebble/releases)
- [Commits](cockroachdb/pebble@v1.1.0...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/cockroachdb/pebble
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 15, 2024 18:32
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 15, 2024
Copy link
Contributor

coderabbitai bot commented Aug 15, 2024

Walkthrough

The recent updates to the go.mod file involve upgrading several dependencies, enhancing the functionality, performance, and security of the project. Notable changes include the addition of a new library and various version increments for existing libraries, notably in the Sentry and Protobuf ecosystems, which may introduce new features and improvements.

Changes

Files Change Summary
go.mod Updated several dependencies: pebble to v1.1.2, testify to v1.9.0, errors to v1.11.3, added fifo at v0.0.0-20240606204812-0bbfbd93a7ce, updated sentry-go to v0.27.0, protobuf to v1.5.3, compress to v1.16.0, sys to v0.18.0, text to v0.14.0, and google.protobuf to v1.33.0.

Poem

In the meadow, code does play,
With libraries brightening the day.
Updates hop in, oh what a sight,
Enhancements sparkling, pure delight!
Dependencies dance, a lively tune,
Hopping forward, like flowers in bloom! 🌼🐇


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

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

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

@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 e75f6e4 and 33cf0fc.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (3 hunks)
Additional comments not posted (10)
go.mod (10)

10-10: Upgrade github.com/stretchr/testify to v1.9.0.

This update likely introduces new features or fixes. Review the test cases to ensure they are compatible with the new version of the library.


6-6: Upgrade github.com/cockroachdb/pebble to v1.1.2.

The update from v1.1.0 to v1.1.2 likely includes bug fixes and improvements, particularly for MIPS architecture support. Ensure that all functionalities dependent on this library are tested for compatibility with the new version.

Verification successful

Verify compatibility with github.com/cockroachdb/pebble v1.1.2.

The codebase makes extensive use of Pebble's API for database operations. Ensure that all functionalities, especially those involving batch operations and iterators, are tested for compatibility with the new version. No immediate issues were found in the current usage, but thorough testing is recommended.

  • Check the Pebble release notes for any breaking changes or deprecations.
  • Test all database operations to ensure they function correctly with the updated library.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility and changes for `github.com/cockroachdb/pebble` v1.1.2.

# Test: Check for any breaking changes or deprecations in the updated version.
rg --type go 'pebble' -A 5

Length of output: 8321


42-42: Upgrade golang.org/x/text to v0.14.0.

This substantial update may include new features or improvements. Ensure that text processing functionalities are tested for compatibility.


20-20: Add new dependency github.com/cockroachdb/fifo.

The addition of this new library indicates new functionality or features being introduced. Ensure that its integration is thoroughly tested.


43-43: Upgrade google.golang.org/protobuf to v1.33.0.

This significant version change may introduce new features or improvements. Review protobuf-related functionalities for compatibility with the updated library.


25-25: Upgrade github.com/getsentry/sentry-go to v0.27.0.

This update may include significant updates or new features. Review the integration with Sentry to ensure compatibility and leverage any new features.

Verification successful

Indirect Dependency: github.com/getsentry/sentry-go

The sentry-go package is listed as an indirect dependency and is not directly imported in the codebase. Therefore, upgrading to v0.27.0 should not directly impact your code. However, ensure that any dependencies relying on sentry-go are compatible with this version.

  • go.mod: github.com/getsentry/sentry-go v0.27.0 is listed as an indirect dependency.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility and changes for `github.com/getsentry/sentry-go` v0.27.0.

# Test: Check for any breaking changes or deprecations in the updated version.
rg --type go 'sentry-go' -A 5

Length of output: 29


Script:

#!/bin/bash
# Search for import statements of `sentry-go` in Go files
rg --type go 'import.*sentry-go' -A 5

# Check the go.mod file for the `sentry-go` dependency
rg 'github.com/getsentry/sentry-go' go.mod -A 5

Length of output: 368


41-41: Upgrade golang.org/x/sys to v0.18.0.

This substantial update may include new features or improvements. Ensure that system-related functionalities are tested for compatibility.


19-19: Upgrade github.com/cockroachdb/errors to v1.11.3.

The update from v1.11.1 to v1.11.3 suggests enhancements or bug fixes. Ensure that error handling logic is tested for compatibility with the updated library.

Verification successful

No direct usage of github.com/cockroachdb/errors found in the codebase.

The package github.com/cockroachdb/errors is listed as an indirect dependency, indicating it is not directly used in your code. Therefore, the update to v1.11.3 should not impact your codebase directly. Ensure that any dependencies using this package are compatible with the new version.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility and changes for `github.com/cockroachdb/errors` v1.11.3.

# Test: Check for any breaking changes or deprecations in the updated version.
rg --type go 'cockroachdb/errors' -A 5

Length of output: 38


Script:

#!/bin/bash
# Description: Search for specific usages of the `cockroachdb/errors` package in the codebase.

# Find all Go files and search for usage of the `cockroachdb/errors` package.
rg --type go 'github.com/cockroachdb/errors'

Length of output: 44


Script:

#!/bin/bash
# Description: List all dependencies in the go.mod file to check for indirect usage of `github.com/cockroachdb/errors`.

# Display the contents of the go.mod file.
cat go.mod

Length of output: 1990


27-27: Upgrade github.com/golang/protobuf to v1.5.3.

This minor update likely includes bug fixes. Ensure that protobuf-related functionalities are tested for compatibility.


29-29: Upgrade github.com/klauspost/compress to v1.16.0.

This update may introduce performance improvements or new features. Review compression-related functionalities for compatibility with the updated library.

Verification successful

No Direct Impact from Upgrading github.com/klauspost/compress to v1.16.0

The package github.com/klauspost/compress is listed as an indirect dependency and is not directly used in the codebase. Therefore, upgrading to v1.16.0 should not affect existing functionality. However, monitor any dependent packages for potential issues related to this upgrade.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility and changes for `github.com/klauspost/compress` v1.16.0.

# Test: Check for any breaking changes or deprecations in the updated version.
rg --type go 'compress' -A 5

Length of output: 362


Script:

#!/bin/bash
# Search for any usage of `github.com/klauspost/compress` in the codebase.
rg 'github.com/klauspost/compress' --type go -A 5

Length of output: 49


Script:

#!/bin/bash
# Check for references to `github.com/klauspost/compress` in go.mod and go.sum.
rg 'github.com/klauspost/compress' go.mod go.sum

Length of output: 299

@tac0turtle tac0turtle closed this Aug 20, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 20, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cockroachdb/pebble-1.1.2 branch August 20, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant