Skip to content

feat: local OwlBot generation batch 6#8617

Open
jskeet wants to merge 1 commit into
googleapis:mainfrom
jskeet:local-owlbot-batch-6
Open

feat: local OwlBot generation batch 6#8617
jskeet wants to merge 1 commit into
googleapis:mainfrom
jskeet:local-owlbot-batch-6

Conversation

@jskeet

@jskeet jskeet commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Packages:

  • google-cloud-workflows

@jskeet jskeet requested a review from a team as a code owner June 12, 2026 10:57
@jskeet

jskeet commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

(The other packages I'd expected to be in this batch had already been done.)

@jskeet jskeet changed the title feat: local OwlBot generation batch 5 feat: local OwlBot generation batch 6 Jun 12, 2026

@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 adds support for the Workflows service (v1 and v1beta) to the google-cloud-workflows package, introducing generated client classes, configurations, and comprehensive unit tests. Feedback on the changes highlights issues with the automated code generation, which introduced duplicate imports and exports in the main entry point and failed to export the newly generated WorkflowsClient from the package, v1, and v1beta entry points. These generation issues should be addressed upstream in the generator.

Comment on lines +19 to +28
import * as v1 from './v1';
import * as v1beta from './v1beta';
import * as v1 from './v1';
import * as v1beta from './v1beta';

const ExecutionsClient = v1.ExecutionsClient;
type ExecutionsClient = v1.ExecutionsClient;

export {v1, v1beta, ExecutionsClient};
export default {v1, v1beta, ExecutionsClient};
export {v1, v1beta, v1, v1beta, ExecutionsClient};
export default {v1, v1beta, v1, v1beta, ExecutionsClient};

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.

high

The OwlBot generation has introduced duplicate imports for v1 and v1beta, as well as duplicate exports. Additionally, the newly generated WorkflowsClient is not exported from the package entry point. Please do not manually edit this file; any changes or updates must be made upstream in the generator.

References
  1. Do not manually edit generated TypeScript client files. Any changes or updates must be made upstream in the generator.

Comment thread packages/google-cloud-workflows/src/v1/index.ts
Comment thread packages/google-cloud-workflows/src/v1beta/index.ts
@jskeet

jskeet commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

I suspect this is because we want to have both workflows/v1 and workflows/executions/v1 in the same library. This may need a bit more work in the combine-libraries code.

@feywind

feywind commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Yeah, I don't think this one can go right now. Is this something that needs to be done on the librarian side, or ours? (We have a library combiner too, dunno if you all are using it.)

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.

2 participants