-
Notifications
You must be signed in to change notification settings - Fork 53
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
bot: Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 #1200
bot: Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 #1200
Conversation
a07fdcd
to
e7e75f7
Compare
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0. - [Release notes](https://github.com/ipfs/go-cid/releases) - [Commits](ipfs/go-cid@v0.3.2...v0.4.0) --- updated-dependencies: - dependency-name: github.com/ipfs/go-cid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
e7e75f7
to
9cdde02
Compare
@@ -35,7 +35,7 @@ func TestQuerySimpleWithInvalidCidAndInvalidDocKey(t *testing.T) { | |||
}`, | |||
}, | |||
}, | |||
ExpectedError: "invalid CID", | |||
ExpectedError: "failed to propagate VersionFetcher span: invalid cid: selected encoding not supported", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure about whether we should change the expected error message or have the request error differently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first part of that error feels unnecessary to return to the user. Do you mind checking if you can easily remove it from the returned error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simplified it, IMO it was too specific before. That said, the CID could be validated before that specific step. That would be for a different PR.
Codecov Report
@@ Coverage Diff @@
## develop #1200 +/- ##
===========================================
- Coverage 68.56% 68.54% -0.02%
===========================================
Files 181 181
Lines 17126 17123 -3
===========================================
- Hits 11742 11737 -5
- Misses 4425 4426 +1
- Partials 959 960 +1
|
Benchmark ResultsSummary
✅ See Better Results...
❌ See Worse Results...
✨ See Unchanged Results...
🐋 See Full Results... |
@@ -224,10 +223,7 @@ func (n *selectNode) initSource() ([]aggregateNode, error) { | |||
if n.parsed.Cid.HasValue() { | |||
c, err := cid.Decode(n.parsed.Cid.Value()) | |||
if err != nil { | |||
return nil, errors.Wrap( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Thanks for removing this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
Benchmark ResultsSummary
✅ See Better Results...
❌ See Worse Results...
✨ See Unchanged Results...
🐋 See Full Results... |
1 similar comment
Benchmark ResultsSummary
✅ See Better Results...
❌ See Worse Results...
✨ See Unchanged Results...
🐋 See Full Results... |
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0. - [Release notes](https://github.com/ipfs/go-cid/releases) - [Commits](ipfs/go-cid@v0.3.2...v0.4.0) --- updated-dependencies: - dependency-name: github.com/ipfs/go-cid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fix: handle the changes in errors * simplify error message * oops 1 line was missing in previous commit --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Orpheus Lummis <[email protected]>
) Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.3.2 to 0.4.0. - [Release notes](https://github.com/ipfs/go-cid/releases) - [Commits](ipfs/go-cid@v0.3.2...v0.4.0) --- updated-dependencies: - dependency-name: github.com/ipfs/go-cid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fix: handle the changes in errors * simplify error message * oops 1 line was missing in previous commit --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Orpheus Lummis <[email protected]>
Bumps github.com/ipfs/go-cid from 0.3.2 to 0.4.0.
Release notes
Sourced from github.com/ipfs/go-cid's releases.
Commits
8098d66
chore: version 0.4.0b98e249
feat: wrap parsing errors into ErrInvalidCid85c4236
build(deps): bump golang.org/x/crypto197da0b
build(deps): bump golang.org/x/sys06fe289
fix: use crypto/rand.Reada1630a3
update .github/workflows/release-check.yml225f5db
update .github/workflows/go-check.ymlc2c040d
update .github/workflows/go-test.ymlb729e38
bump go.mod to Go 1.19 and run go fix823c6b8
Fix README.md example error (#146)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 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)