Skip to content

ci: gate merge on CI completion and enable core package Node unit tests - #9719

Open
shivanee-p wants to merge 4 commits into
mainfrom
shivaneep-ci-upgrade
Open

shivanee-p wants to merge 4 commits into
mainfrom
shivaneep-ci-upgrade

Conversation

@shivanee-p

Copy link
Copy Markdown
Contributor

Gates PR merge on CI completion and enables core Node unit tests

Changes

  • Added .github/actions/wait-for-ci/action.yaml to wait for all PR workflows to finish and fail if generator-tests fails
  • Gated units (22/24/26) in presubmit.yaml and windows-presubmit.yaml on wait-for-ci
  • Replaced on.pull_request.paths in generator-tests.yaml with dorny/paths-filter and a presubmit status job
  • Enabled Node.js 22/24/26 unit tests for core/packages/* and core/dev-packages/* in ci/run_conditional_tests.sh
  • Verified ci/run_conditional_tests.sh selects core/packages/gax and core/dev-packages/* for units.
  • Validated workflow YAML and Bash syntax.

@shivanee-p
shivanee-p marked this pull request as ready for review October 23, 2026 21:46
@shivanee-p
shivanee-p requested a review from a team as a code owner October 23, 2026 21:46

@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 a new GitHub composite action to wait for and verify CI workflow runs, and updates the conditional test runner script to run unit tests for core and dev-packages. The review feedback suggests improving the robustness of the new GitHub action by using optional chaining for the head SHA and wrapping API calls in a try-catch block to handle transient failures. Additionally, for the shell script, it is recommended to group conditional expressions inside double brackets to avoid spawning inefficient subshells.

Comment thread .github/actions/wait-for-ci/action.yaml Outdated
Comment thread .github/actions/wait-for-ci/action.yaml
Comment thread ci/run_conditional_tests.sh Outdated
Comment thread ci/run_conditional_tests.sh Outdated
@github-actions
github-actions Bot requested a review from quirogas October 23, 2026 21:59

This branch has not been deployed

No deployments
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.

1 participant