Skip to content

chore: using dynamic matrix in codegen#31778

Open
blakeli0 wants to merge 1 commit into
mainfrom
fix/codegen-flakiness-matrix
Open

chore: using dynamic matrix in codegen#31778
blakeli0 wants to merge 1 commit into
mainfrom
fix/codegen-flakiness-matrix

Conversation

@blakeli0
Copy link
Copy Markdown
Contributor

@blakeli0 blakeli0 commented May 18, 2026

b/514315109.

Some libraries are not updated in a while because the codegen workflow only run for 2 -3 batches instead of 4. This is likely due to Github scheduled crons are not guaranteed to run at the exact time, which caused the batch to conflict with the next batch.

Change the logic to use a dynamic matrix instead of relying on different hours for running batches

@blakeli0 blakeli0 requested a review from diegomarquezp May 18, 2026 22:21
@blakeli0 blakeli0 marked this pull request as ready for review May 18, 2026 22:26
@blakeli0 blakeli0 requested review from a team and yoshi-approver as code owners May 18, 2026 22:26
if: github.event_name == 'workflow_dispatch'
strategy:
fail-fast: false
matrix:
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.

IIRC first time I tried a matrix of indices times a matrix of services, but GH would still detect this as a single matrix of +256 jobs. Did the job work with this setup?

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