-
Notifications
You must be signed in to change notification settings - Fork 168
👷 skip BrowserStack tests for non-code changes #4136
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: main
Are you sure you want to change the base?
👷 skip BrowserStack tests for non-code changes #4136
Conversation
Skip unit-bs and e2e-bs jobs when changes only affect files that don't impact browser behavior (CI config, scripts, docs, etc.). This saves BrowserStack resources (limited to 5 seats) and reduces pipeline duration for PRs that only touch infrastructure files. Jobs will still run when changes affect: - packages/**/* (SDK source code) - test/**/* (test files) - developer-extension/**/* (devtools extension) - package.json, yarn.lock (dependencies) - tsconfig*.json, webpack.base.ts (build config)
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage 🔗 Commit SHA: a7e4852 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Bundles Sizes Evolution
🚀 CPU PerformancePending... 🧠 Memory PerformancePending... |
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 531d8a8953
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Add scripts/test/**/* to the changes list so that modifications to BrowserStack runner scripts (like ci-bs.sh) trigger the BS jobs.
Motivation
The
unit-bsande2e-bsjobs use BrowserStack resources which are limited to 5 seats. These jobs are slow and consume resources even when PRs don't touch code that affects browser behavior (e.g., CI config changes, script updates, documentation).Changes
ci-bs.shto TypeScript (ci-bs.ts) for consistency with other scriptspackages/**(SDK source code)test/**(test files and infrastructure)developer-extension/**(devtools extension)scripts/test/**(test scripts)package.json,yarn.lock(dependencies)tsconfig*,webpack.base.ts(build config)If no relevant files changed, the script exits early without running BrowserStack tests.
Test instructions
packages/triggers the BS jobs normallyChecklist