Skip to content

chore(tests): break up sqlalchemy system tests - #18239

Draft
daniel-sanche wants to merge 7 commits into
googleapis:mainfrom
daniel-sanche:split_sqlalchemy_compliance_presubmit
Draft

chore(tests): break up sqlalchemy system tests#18239
daniel-sanche wants to merge 7 commits into
googleapis:mainfrom
daniel-sanche:split_sqlalchemy_compliance_presubmit

Conversation

@daniel-sanche

Copy link
Copy Markdown
Contributor

Sqlalchemy-spanner and sqlalchemy-bigquery have two sets of integration tests: standard system tests, and "compliance" checks. Each of these can take > 1 hour, which can put strain on our single kokoro system test when run sequentially

This PR drops the compliance checks from the Kokoro System check, and breaks them out into their own test run

@daniel-sanche daniel-sanche changed the title chore: break up sqlalchemy system tests chore(tests): break up sqlalchemy system tests Aug 27, 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 configures a dedicated Kokoro job for SQLAlchemy compliance tests and updates the system job to skip them. Feedback on the changes suggests adding the missing build_file definition to the new Kokoro configuration to prevent job failures, and using safer parameter expansion in the shell script to avoid unbound variable errors.

Comment thread .kokoro/presubmit/sqlalchemy_compliance.cfg
Comment thread .kokoro/system.sh Outdated
daniel-sanche and others added 2 commits August 27, 2026 10:12
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2026
@daniel-sanche
daniel-sanche marked this pull request as ready for review August 28, 2026 18:24
@daniel-sanche
daniel-sanche requested review from a team as code owners August 28, 2026 18:24
@daniel-sanche
daniel-sanche requested review from julianxu-goog and removed request for a team August 28, 2026 18:24
@daniel-sanche
daniel-sanche marked this pull request as draft August 28, 2026 18:25
|GA| |pypi| |versions|

`SQLALchemy Dialects`_
`SQLAlchemy Dialects`_

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked Gemini to find typos to fix to trigger the tests, instead of adding a temporary change. It found a couple!

@daniel-sanche
daniel-sanche marked this pull request as ready for review August 28, 2026 19:26
@daniel-sanche
daniel-sanche marked this pull request as draft August 28, 2026 21:43
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