Conversation
Resolve the ES module compatibility issue for the mime and p-limit modules.
|
Warning: This pull request is touching the following templated files:
|
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
| headers?: {[key: string]: string}; | ||
| } | ||
|
|
||
| interface MultiPartUploadErrorResponse { |
There was a problem hiding this comment.
Why are we adding new types to this file?
There was a problem hiding this comment.
To fix the "Property 'error' does not exist on type '{}'" issue, TypeScript defaults to {} without a specific type, which means no properties are guaranteed. Use MultiPartUploadErrorResponse to tell TypeScript that res.data may have an error property.
|
What's the schedule on this / anything that can be helped with? I'm facing various issues in the current |
|
Forked this for testing, I'll update this comment in case I find anything.
|
cc: @thiyaguk09 |
Thanks for forking and testing! I appreciate you digging into that. Regarding the double forward-slash in I'm currently tied up with some urgent work, but I'll make sure to prioritize looking into these issues as soon as I can. Your detailed findings are really helpful! |
|
Deleting files will still hang after the above commits, and the test doesn't catch it because it explicitly calls I believe I've also found another regression in The cast here might be erroneous. Looking at Gaxios documentation, specifically I'm not sure if an user can override the fetch implementation, but assuming they can't, the correct type is This results in the following error: Thoughts? |
|
@thiyaguk09 can you address the comments from @organize. Also, do you know why the docs CI check is 429'ing on a bunch of samples now? |
Sure, I’ll address the comments from @organize. Regarding the docs CI check returning 429 errors on several samples, I’ll investigate the cause—could be rate limiting or a recent config change. Will update shortly. |
This reverts commit 96b64e5.
|
There still seems to be a regression in downloading objects, and using
Here, for some reason, |
|
Turns out I was missing |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕