Skip to content

chore: add regeneration presubmit check - #18382

Merged
daniel-sanche merged 5 commits into
mainfrom
fix_spanner_regeneration_scripts_spanner_18378_fix-regeneration
Sep 15, 2026
Merged

daniel-sanche merged 5 commits into
mainfrom
fix_spanner_regeneration_scripts_spanner_18378_fix-regeneration

Conversation

@daniel-sanche

@daniel-sanche daniel-sanche commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Spanner is currently creating a diff in the regeneration check, due to changes not present in the post-processing script, and missing headers

This PR adds a pre-submit to catch these issues before merge, and fixes the spanner issue

Fixes #18378

@daniel-sanche
daniel-sanche requested review from a team as code owners September 15, 2026 17:44

@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 introduces the omni extra dependency (requiring cryptography >= 44.0.0) to the Spanner integration, updating unit and system test configurations, and adds copyright headers to several generated protobuf files. A critical issue was identified in the YAML post-processing configuration, where single-quoted strings are used with escape sequences like \n. Because YAML single-quoted strings do not support escape sequences, this will write literal backslashes and 'n' characters into noxfile.py, breaking its Python syntax. It is recommended to use double-quoted strings with proper escaping instead.

@daniel-sanche daniel-sanche changed the title chore: fix spanner regeneration issue chore: add regeneration presubmit check Sep 15, 2026
@daniel-sanche
daniel-sanche merged commit 0b33c4f into main Sep 15, 2026
111 checks passed
@daniel-sanche
daniel-sanche deleted the fix_spanner_regeneration_scripts_spanner_18378_fix-regeneration branch September 15, 2026 22:56
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.

Regeneration failed

2 participants