feat: enable non-blocking mode for generation pipeline by shollyman · Pull Request #3772 · googleapis/google-api-go-client · GitHub
Skip to content

feat: enable non-blocking mode for generation pipeline - #3772

Merged
gcf-merge-on-green[bot] merged 4 commits into
googleapis:mainfrom
shollyman:allowfailures
Oct 14, 2026
Merged

gcf-merge-on-green[bot] merged 4 commits into
googleapis:mainfrom
shollyman:allowfailures

Conversation

@shollyman

@shollyman shollyman commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR modifies the core generator to include a new flag that sets a threshold on allowed failed generations before the pipeline treats this invocation as a failure (and a nonzero exit code).

This PR further modifies the core generation loop to capture panics and convert them to errors so that we can progress in the face of fatal generation attempts. The PR also re-enable(s) some skipped APIs to validate this behavior.

Finally, this PR adds a new target to the Makefile that leverages this new flag, and switches the nightly discogen job to use this target. We do this rather than modifying the existing "all" target to add new flags as I'm not sure of existing consumers/expectations on the target

Related: b/568903157

This PR modifies the core generator to include a new flag that sets a
threshold on allowed failed generations before the pipeline treats this
invocation as a failure (and a nonzero exit code).

This PR further modifies the core generation loop to capture panics and
convert them to errors so that we can avoid fatal generations.

Finally, this PR adds a new target to the Makefile that leverages this
new flag, and switches the nightly discogen job to use this target.  We
do this rather than modifying the existing "all" target to add new flags
as I'm not sure of existing expectations on the target.

Related: b/568903157
@shollyman
shollyman requested review from a team as code owners October 14, 2026 15:44
Comment thread google-api-go-generator/gen.go
Comment thread google-api-go-generator/Makefile Outdated
@shollyman
shollyman requested a review from noahdietz October 14, 2026 16:44
@shollyman shollyman added the automerge Merge the pull request once unit tests and other checks pass. label Oct 14, 2026
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit bd231b0 into googleapis:main Oct 14, 2026
11 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 14, 2026
@shollyman
shollyman deleted the allowfailures branch October 14, 2026 19:48
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