Skip to content

Add Chrome support to autowebcompat repro agent#6302

Merged
ksy36 merged 5 commits into
mozilla:masterfrom
ksy36:autowebcompat-agent-chrome
Jul 14, 2026
Merged

Add Chrome support to autowebcompat repro agent#6302
ksy36 merged 5 commits into
mozilla:masterfrom
ksy36:autowebcompat-agent-chrome

Conversation

@ksy36

@ksy36 ksy36 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@ksy36 ksy36 force-pushed the autowebcompat-agent-chrome branch from f0d88b4 to cf366a4 Compare July 13, 2026 02:55
@ksy36 ksy36 requested a review from jgraham July 13, 2026 02:58
@ksy36 ksy36 marked this pull request as ready for review July 13, 2026 02:58
@ksy36 ksy36 requested a review from a team as a code owner July 13, 2026 02:58
@suhaibmujahid suhaibmujahid requested a review from Copilot July 13, 2026 03:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a Chrome cross-check capability to the autowebcompat reproduction agent by wiring in a Chrome DevTools MCP server and downloading a Chrome-for-Testing binary at runtime, allowing the agent to compare Firefox vs Chrome behavior during the initial (nightly) reproduction.

Changes:

  • Extend the agent’s structured output to include a chrome_reproduced verdict and update prompts/instructions to perform (or explicitly skip) a Chrome cross-check.
  • Add Chrome DevTools MCP server configuration and the corresponding allowed tool list.
  • Implement Chrome-for-Testing download/unpack logic and update the Docker image with additional runtime dependencies for headless Chrome.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/result.py Adds chrome_reproduced to the canonical reproduction result schema and updates instructions around recorded steps.
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/config.py Introduces the Chrome DevTools MCP tool allowlist.
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/chrome_devtools_mcp.py Adds a builder for the Chrome DevTools MCP stdio server config.
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/browser.py Downloads/unpacks Chrome for Testing and exposes a cached ChromeBrowsers.stable path.
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Enables Chrome cross-check for the initial nightly reproduction and threads chrome_reproduced into aggregation/output.
agents/autowebcompat-repro/Dockerfile Installs extra OS libraries needed to run headless Chrome in the agent image.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/browser.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/browser.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/browser.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/browser.py Outdated
Comment thread agents/autowebcompat-repro/Dockerfile Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/result.py Outdated
@ksy36 ksy36 force-pushed the autowebcompat-agent-chrome branch from ced7440 to 1194e7a Compare July 14, 2026 04:08
@ksy36 ksy36 requested a review from jgraham July 14, 2026 04:15
jgraham
jgraham previously approved these changes Jul 14, 2026

@jgraham jgraham 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.

Some minor fixups, but I don't think this requires more review to land.

Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py Outdated
Comment thread agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/mcp_servers.py Outdated
@ksy36 ksy36 force-pushed the autowebcompat-agent-chrome branch from 38816b8 to e6039ec Compare July 14, 2026 15:11
@ksy36 ksy36 merged commit a290a8a into mozilla:master Jul 14, 2026
7 checks passed
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