-
-
Notifications
You must be signed in to change notification settings - Fork 772
fix(playwright): improve chrome installation and fix spinner duplication on narrow terminals #2347
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?
Conversation
🦋 Changeset detectedLatest commit: d29bc36 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis set of changes introduces updates to the "trigger.dev" and "@trigger.dev/build" packages, focusing on improvements to Playwright browser installation logic and terminal spinner message handling. The Playwright extension logic now distinguishes between headless and non-headless Chrome installations and refines the parsing of installation output. Additionally, a new spinner wrapper is implemented for non-Windows platforms to truncate spinner messages based on terminal width, addressing message duplication issues in narrow terminals. The exported spinner function is updated accordingly. No changes were made to the declarations of exported or public entities beyond the spinner export. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~18 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx}📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Files:
🧠 Learnings (11)📓 Common learnings
📚 Learning: applies to trigger.config.ts : build extensions such as `additionalfiles`, `additionalpackages`, `ap...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : always generate trigger.dev tasks using the `task` func...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : you must use `@trigger.dev/sdk/v3` when writing trigger...
Applied to files:
📚 Learning: applies to apps/webapp/**/*.{ts,tsx} : when importing from `@trigger.dev/core` in the webapp, never ...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : when using retry, queue, machine, or maxduration option...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : when implementing scheduled (cron) tasks, use `schedule...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : when triggering a task from backend code, use `tasks.tr...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : you must `export` every task, including subtasks, in tr...
Applied to files:
📚 Learning: applies to trigger.config.ts : global lifecycle hooks, telemetry, runtime, machine settings, log lev...
Applied to files:
📚 Learning: applies to **/trigger/**/*.{ts,tsx,js,jsx} : you must never use `client.definejob` in trigger.dev ta...
Applied to files:
🪛 Biome (2.1.2)packages/cli-v3/src/utilities/windows.ts[error] 15-15: Unexpected control character in a regular expression. Control characters are unusual and potentially incorrect inputs, so they are disallowed. (lint/suspicious/noControlCharactersInRegex) [error] 15-15: Unexpected control character in a regular expression. Control characters are unusual and potentially incorrect inputs, so they are disallowed. (lint/suspicious/noControlCharactersInRegex) [error] 15-15: Unexpected control character in a regular expression. Control characters are unusual and potentially incorrect inputs, so they are disallowed. (lint/suspicious/noControlCharactersInRegex) [error] 17-17: Unexpected control character in a regular expression. Control characters are unusual and potentially incorrect inputs, so they are disallowed. (lint/suspicious/noControlCharactersInRegex) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (23)
🔇 Additional comments (6)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Fixes #2226
headless: false
is specified