Skip to content

fix(web): relaunch Chrome when it never opens its debugging port - #385

Merged
scttbnsn merged 1 commit into
dev/v0.9from
fix/lighthouse-launch-retry
Oct 9, 2026
Merged

scttbnsn merged 1 commit into
dev/v0.9from
fix/lighthouse-launch-retry

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Web Contract has failed four times since 2026-10-06 with waiting for dynamic debugging port in chrome-err.log, twice in a row today on #384. That's chrome-launcher's launch timeout: Chrome started and never wrote its DevTools port.

The Lighthouse runner already relaunches Chrome up to LIGHTHOUSE_CHROME_ATTEMPTS times, but only for errors isChromeConnectionError recognises, and that message wasn't one of them. So the launch failure was thrown straight out and the job failed without a retry.

This adds the message to the matcher, with a test case. Budget failures still don't match, so a real regression can't be retried into a pass.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 30 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: CodesWhat/portwing/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3b156cf2-8a3e-4ba9-8cd8-408f6e90e357

📥 Commits

Reviewing files that changed from the base of the PR and between 868ab70 and fbd6ad0.


📒 Files selected for processing (2)
  • scripts/lighthouse-budget.mjs
  • scripts/lighthouse-budget.test.mjs


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One added error pattern in the Lighthouse Chrome relaunch matcher, with a test case. 14 required checks and Web Contract green on fbd6ad0. CodeRabbit was out of free reviews; no outside review on this one.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One added error pattern in the Lighthouse Chrome relaunch matcher, with a test case. 14 required checks and Web Contract green on fbd6ad0. CodeRabbit was out of free reviews; no outside review on this one.

@scttbnsn
scttbnsn merged commit eaed9c8 into dev/v0.9 Oct 9, 2026
36 checks passed
@scttbnsn
scttbnsn deleted the fix/lighthouse-launch-retry branch October 9, 2026 19:29
@scttbnsn scttbnsn mentioned this pull request Oct 9, 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.

3 participants