Skip to content

feat(gax): implement startUploadCallable for resumable uploads - #14139

Draft
whowes wants to merge 1 commit into
whowes/resumable-upload-clientfrom
whowes/resumable-upload-start
Draft

feat(gax): implement startUploadCallable for resumable uploads#14139
whowes wants to merge 1 commit into
whowes/resumable-upload-clientfrom
whowes/resumable-upload-start

Conversation

@whowes

@whowes whowes commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

The implementation uses a custom HttpJsonClientCall.Listener to extract X-Goog-Upload-URL and X-Goog-Upload-Chunk-Granularity headers to be returned in a ResumableUploadSession.

gemini-code-assist[bot]

This comment was marked as outdated.

@whowes whowes changed the title whowes/resumable upload start feat(gax): implement startUpload in HttpJsonResumableUploadClient Aug 19, 2026
@whowes
whowes force-pushed the whowes/resumable-upload-start branch 2 times, most recently from 8d52acf to 7df9201 Compare August 20, 2026 00:06
@whowes

whowes commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

/gemini review

@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 7df9201 to 4253855 Compare August 20, 2026 00:10

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

Copy link
Copy Markdown
Contributor

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 introduces HttpJsonResumableUploadClient to support resumable uploads over HTTP/JSON, along with a comprehensive suite of unit tests. The feedback suggests validating that the parsed chunk granularity is strictly positive to prevent potential arithmetic errors or infinite loops.

@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 4253855 to 798876d Compare August 20, 2026 01:38
@whowes whowes changed the title feat(gax): implement startUpload in HttpJsonResumableUploadClient feat(gax): implement startUploadCallable for resumable uploads Aug 21, 2026
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 798876d to a071113 Compare August 21, 2026 00:37
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from a071113 to e43a3fa Compare August 24, 2026 19:40
@whowes
whowes force-pushed the whowes/resumable-upload-start branch 2 times, most recently from 3039c34 to 56d1462 Compare August 25, 2026 16:34
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 56d1462 to 22569f9 Compare August 25, 2026 21:44
@whowes
whowes force-pushed the whowes/resumable-upload-start branch 2 times, most recently from 7072e2b to 0b792ed Compare August 26, 2026 17:56
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 0b792ed to 5b6cbd7 Compare August 26, 2026 18:12
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 5b6cbd7 to a139b72 Compare August 26, 2026 18:28
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from a139b72 to e8a7e9c Compare August 26, 2026 18:38
@whowes
whowes force-pushed the whowes/resumable-upload-start branch 2 times, most recently from 31ff4db to 7ef4002 Compare August 26, 2026 20:53
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 7ef4002 to adf4315 Compare August 27, 2026 00:42
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from adf4315 to 3063624 Compare August 27, 2026 00:42
@whowes
whowes force-pushed the whowes/resumable-upload-start branch 2 times, most recently from 25639e3 to 54650ed Compare August 27, 2026 01:49
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 54650ed to 6583572 Compare August 27, 2026 01:50
@whowes
whowes force-pushed the whowes/resumable-upload-start branch from 6583572 to e1cfc1c Compare August 27, 2026 15:27
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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