Skip to content

refactor(storage): gaxios migration system test fix#8078

Open
thiyaguk09 wants to merge 10 commits intogoogleapis:storage-node-18from
thiyaguk09:node18/system-test
Open

refactor(storage): gaxios migration system test fix#8078
thiyaguk09 wants to merge 10 commits intogoogleapis:storage-node-18from
thiyaguk09:node18/system-test

Conversation

@thiyaguk09
Copy link
Copy Markdown
Contributor

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:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the storage client to use the /storage/v1 API prefix, adds necessary JSON content-type headers, and refactors StorageTransport for improved header handling and Node 18 compatibility. System tests have been updated to skip problematic tests and improve resource cleanup. Review feedback points out a bug in a test's setTimeout implementation that prevents the done callback from being executed, as well as several leftover console.log statements and an unnecessary type cast.

Comment thread handwritten/storage/system-test/kitchen.ts
Comment thread handwritten/storage/src/storage-transport.ts
Comment thread handwritten/storage/system-test/storage.ts Outdated
Comment thread handwritten/storage/system-test/storage.ts Outdated
@thiyaguk09 thiyaguk09 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 20, 2026
@thiyaguk09 thiyaguk09 changed the title refactor: gaxios migration system test fix refactor(storage): gaxios migration system test fix Apr 22, 2026
@thiyaguk09 thiyaguk09 marked this pull request as ready for review April 22, 2026 13:53
@thiyaguk09 thiyaguk09 requested a review from a team as a code owner April 22, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant