Skip to content

Support multiple products and only copy/compile files for those products#18089

Merged
melinath merged 4 commits into
GoogleCloudPlatform:mainfrom
melinath:multi-product-gen
Jun 26, 2026
Merged

Support multiple products and only copy/compile files for those products#18089
melinath merged 4 commits into
GoogleCloudPlatform:mainfrom
melinath:multi-product-gen

Conversation

@melinath

@melinath melinath commented Jun 25, 2026

Copy link
Copy Markdown
Member

This lets us optimize various workflows by reducing the time we spend with copy/compile to only the products we care about.

As a side effect, this also does the same thing as #17971 - removing beta-only products from the GA provider. While we could keep the old behavior for cases where the whole provider is generated, I think the implementation makes more sense if we're consistent.

Time for compute GA: 7.5s with main, 5.3s with this branch
Time for alloydb GA: 5s with main, 2.5s with this branch
Time for full GA: 15s-16.4s with main, 13.6-14.8s with this branch - maybe a slight improvement, due to parallelization

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


@melinath melinath force-pushed the multi-product-gen branch from 9a4832a to 456cd6d Compare June 25, 2026 18:32
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@melinath melinath force-pushed the multi-product-gen branch from d636f32 to 89cbe05 Compare June 25, 2026 21:03
@modular-magician

This comment was marked as outdated.

@melinath melinath requested a review from roaks3 June 25, 2026 21:36
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 44ffd12:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 63 files changed, 1453 deletions(-)

@melinath

Copy link
Copy Markdown
Member Author

This needs testing with EAP.

@roaks3 roaks3 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.

Confirmed private providers work with this update

@melinath melinath added this pull request to the merge queue Jun 26, 2026
Merged via the queue into GoogleCloudPlatform:main with commit 8365d3b Jun 26, 2026
32 checks passed
@melinath melinath deleted the multi-product-gen branch June 26, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants