Add Chrome support to autowebcompat repro agent#6302
Merged
Conversation
f0d88b4 to
cf366a4
Compare
There was a problem hiding this comment.
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_reproducedverdict 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.
jgraham
requested changes
Jul 13, 2026
ced7440 to
1194e7a
Compare
jgraham
previously approved these changes
Jul 14, 2026
jgraham
left a comment
Member
There was a problem hiding this comment.
Some minor fixups, but I don't think this requires more review to land.
38816b8 to
e6039ec
Compare
jgraham
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.