Skip to content

Fix ChromeHeadless CI timeout on macOS#95

Draft
Copilot wants to merge 2 commits intodependabot/npm_and_yarn/npm_and_yarn-bb3626eb1afrom
copilot/sub-pr-94
Draft

Fix ChromeHeadless CI timeout on macOS#95
Copilot wants to merge 2 commits intodependabot/npm_and_yarn/npm_and_yarn-bb3626eb1afrom
copilot/sub-pr-94

Conversation

Copy link

Copilot AI commented Mar 3, 2026

ChromeHeadless was consistently timing out (3× 60s) on macos-latest in the Karma test run, failing the Node CI check on this PR.

Changes

  • karma.config.cjs: Replace ChromeHeadless browser with a ChromeHeadlessNoSandbox custom launcher that passes --no-sandbox and --disable-setuid-sandbox — the standard fix for headless Chrome in containerized/CI environments where the sandbox prevents browser startup.
customLaunchers: {
  ChromeHeadlessNoSandbox: {
    base: 'ChromeHeadless',
    flags: ['--no-sandbox', '--disable-setuid-sandbox'],
  },
},
browsers: ['ChromeHeadlessNoSandbox'],

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com>
Copilot AI changed the title [WIP] Update minimatch version from 3.1.2 to 3.1.5 Fix ChromeHeadless CI timeout on macOS Mar 3, 2026
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