Skip to content

fix(ci): fix windows exempt test matching in run_conditional_tests.sh - #9222

Open
bshaffer wants to merge 2 commits into
mainfrom
fix-windows-exempt-tests
Open

fix(ci): fix windows exempt test matching in run_conditional_tests.sh#9222
bshaffer wants to merge 2 commits into
mainfrom
fix-windows-exempt-tests

Conversation

@bshaffer

Copy link
Copy Markdown
Contributor

Fix Windows test exemption prefix matching in ci/run_conditional_tests.sh so that package paths matching entries in windows_exempt_tests are accurately skipped on Windows runners.

@bshaffer
bshaffer requested a review from a team as a code owner August 28, 2026 10:57
@github-actions
github-actions Bot requested a review from westarle August 28, 2026 10:57

@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 updates the Windows test exemption logic in ci/run_conditional_tests.sh by replacing a regex match with a loop that performs prefix matching. The review feedback correctly identifies a potential issue where prefix matching can cause false positives (e.g., matching packages/foo-bar when packages/foo is exempt) and provides a code suggestion to ensure precise matching for exact directories or subdirectories.

Comment thread ci/run_conditional_tests.sh Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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