Skip to content

test(monorepo): [WIP] adds adhoc package selection for CI system tests - #17931

Draft
chalmerlowe wants to merge 12 commits into
mainfrom
feat/adhoc-package-selection
Draft

test(monorepo): [WIP] adds adhoc package selection for CI system tests#17931
chalmerlowe wants to merge 12 commits into
mainfrom
feat/adhoc-package-selection

Conversation

@chalmerlowe

Copy link
Copy Markdown
Contributor

[WIP]

@chalmerlowe chalmerlowe self-assigned this Jul 29, 2026
@chalmerlowe chalmerlowe changed the title test(monorepo): adds adhoc package selection for CI system tests test(monorepo): [WIP] adds adhoc package selection for CI system tests Jul 29, 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 introduces an ad-hoc testing integration into the Kokoro CI pipeline, allowing dynamic package selection based on PR labels and configuration files. The review feedback highlights several crucial robustness improvements, including handling potential grep failures under set -o pipefail in the ad-hoc test runner, authenticating GitHub API requests to prevent rate-limiting, safely parsing the API response in the inline Python snippet, and quoting variables to avoid pathname expansion.

Comment thread ci/adhoc/adhoc_test_runner.sh Outdated
Comment thread ci/adhoc/adhoc_test_runner.sh Outdated
Comment thread ci/adhoc/adhoc_test_runner.sh Outdated
Comment thread .kokoro/system.sh Outdated
Comment thread .kokoro/system.sh
Comment thread ci/adhoc/adhoc_test_runner.sh Outdated
@chalmerlowe chalmerlowe added test:adhoc Enables ad hoc tests of packages (even with no diff), esp. when testing new CI pipeline features kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Jul 29, 2026
Comment thread ci/adhoc/adhoc_test_runner.sh Outdated
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:adhoc Enables ad hoc tests of packages (even with no diff), esp. when testing new CI pipeline features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants