Skip to content

test(generator): rename test service and proto to MediaService and add GetMediaMetadata method - #14440

Draft
whowes wants to merge 1 commit into
whowes/showcase-resumable-upload-itfrom
whowes/test-media-service
Draft

whowes wants to merge 1 commit into
whowes/showcase-resumable-upload-itfrom
whowes/test-media-service

Conversation

@whowes

@whowes whowes commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Previously we'd checked in a copy of resumable_upload.proto from showcase to be used in generator unit tests for resumable uploads. This was confusing because

  • there's only one method listed in the proto, which revealed some generator edge cases e.g. for test class generation
  • the name triggered awkward class names like "HttpJsonResumableUploadServiceResumableUploadStub"

This PR changes the test proto to media.proto, the service to MediaService, and adds a GetMediaMetadata method, with the intention to make diffs/testing for future changes more understandable.

@whowes
whowes added this pull request to stack #14390 September 18, 2026 23:29

@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 renames the showcase service 'ResumableUploadService' to 'MediaService' and introduces a new non-resumable RPC method 'GetMediaMetadata' to it. It updates the parser allowlist, test loaders, and all corresponding auto-generated golden files (including stubs, clients, settings, and samples) to reflect these changes. I have no additional feedback to provide as there are no review comments.

@whowes
whowes removed this pull request from stack #14390 September 18, 2026 23:50
@whowes
whowes added this pull request to stack #14441 September 18, 2026 23:52
@whowes
whowes removed this pull request from stack #14441 September 18, 2026 23:53
@whowes
whowes force-pushed the whowes/test-media-service branch from 8c67083 to e4b264e Compare September 19, 2026 00:08
@whowes
whowes added this pull request to stack #14442 September 19, 2026 00:11
@whowes
whowes force-pushed the whowes/test-media-service branch from e4b264e to 06bfff4 Compare September 19, 2026 00:38
@whowes
whowes force-pushed the whowes/test-media-service branch from 06bfff4 to d981097 Compare September 19, 2026 00:47
@whowes
whowes force-pushed the whowes/test-media-service branch from d981097 to 3bcbc5b Compare September 19, 2026 01:13
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

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