Skip to content

fix(storage): Invocation ID is not retained on multipart upload retries#11

Open
thiyaguk09 wants to merge 2 commits into
storage-node-18from
fix/multipart-invocation-id
Open

fix(storage): Invocation ID is not retained on multipart upload retries#11
thiyaguk09 wants to merge 2 commits into
storage-node-18from
fix/multipart-invocation-id

Conversation

@thiyaguk09
Copy link
Copy Markdown
Owner

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

@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 primarily updates dependency versions in the manifest file, adds 'prettier' to the Bazel build dependencies, and applies extensive formatting and cleanup changes across several generated TypeScript client files. These changes include standardizing import styles, improving type definitions, and refining internal method implementations for consistency. As there were no review comments provided, I have no specific feedback to offer.

Hoists the generation of `persistentInvocationId` to the beginning of
the
upload process in `Bucket.upload` and `File.save`. This ensures that
retried multipart upload attempts reuse the same invocation ID in the
`x-goog-api-client` header, rather than generating a new one for
each attempt.
@thiyaguk09 thiyaguk09 force-pushed the fix/multipart-invocation-id branch from 5b69a10 to e232f4e Compare May 7, 2026 10:00
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.

1 participant