这是indexloc提供的服务,不要输入任何密码
Skip to content

pkg/gcs: check errors with errors.Is #5996

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

a-nogikh
Copy link
Collaborator

@a-nogikh a-nogikh commented May 2, 2025

After googleapis/google-cloud-go#11519, the cloud storage library wraps the errors which we used to check directly. This has led to multiple asset upload errors.


We need this PR ASAP to fix asset storage, but then it would be nice to think how we could have caught such an incompatibility. In syz-cluster, I was using https://github.com/fsouza/fake-gcs-server in the dev environment, probably we could add it to our env container and write some tests for pkg/gcs against the emulated server?

After googleapis/google-cloud-go#11519, the
cloud storage library wraps the errors which we used to check directly.
This has led to multiple asset upload errors.
@a-nogikh a-nogikh enabled auto-merge May 2, 2025 15:22
@a-nogikh a-nogikh added this pull request to the merge queue May 2, 2025
Merged via the queue into google:master with commit b0714e3 May 2, 2025
17 checks passed
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.

2 participants