-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[js] run applicable JS tests on Windows GHA #16812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 2f3f991)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit ee34970
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
af41175 to
ecdfdd4
Compare
diemol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a minor comment.
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| nodejs-version: ['20.19.5', '24.11.1'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 22 instead of 20?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because 20 doesn't EOL until April, and we say we still support it.
We want to test the newest and oldest to make sure nothing is broken in either.
I'd use 25 instead of 24 if the current version of bazel rules supported it.
In May we switch to 22 and 26
User description
🔗 Related Issues
JS portion of #16809
💥 What does this PR do?
needs.check.outputs.targetsto ci-javascript.yml💡 Additional Considerations
--//common:pin_browsers=false --keep_going --output=starlark --starlark:expr='target.label' --notool_deps --implicit_deps=false --include_aspects=false), but this is simplest to start. Even better, running cquery job on windows instead of linux would dramatically reduce cache issues.PR Type
Enhancement
Description
Add JavaScript CI workflow to run applicable tests on Windows
Filter JavaScript targets from check job output before execution
Improve bazel-targets script with error handling and deduplication
Add skip-rbe tag to JavaScript lint tests for RBE optimization
Diagram Walkthrough
File Walkthrough
check-bazel-targets.sh
Improve target detection with error handling and deduplicationscripts/github-actions/check-bazel-targets.sh
set -euo pipefailfor robust script executionexternal cache overhead
ci-javascript.yml
New JavaScript CI workflow with target filtering.github/workflows/ci-javascript.yml
//javascript/selenium-webdriver/*pathsci.yml
Integrate JavaScript workflow into main CI pipeline.github/workflows/ci.yml
JavaScript-related changes
BUILD.bazel
Add skip-rbe tags to lint testsjavascript/selenium-webdriver/BUILD.bazel
skip-rbetag to eslint_test target for RBE optimizationskip-rbetag to prettier_test target for RBE optimization