Autowebcompat diagnosis agent - #6551
Open
ksy36 wants to merge 1 commit into
Open
Conversation
ksy36
force-pushed
the
autowebcompat-diagnosis
branch
from
August 8, 2026 04:13
7dd4313 to
815c3a4
Compare
ksy36
commented
Aug 10, 2026
| typically named `Reproduction script generated by autowebcompat bot`), | ||
| download it to exactly: | ||
| {self.script_path}. | ||
|
|
Contributor
Author
There was a problem hiding this comment.
I'm thinking the bugzilla attachment link to the script (i.e. https://bug1952830.bmoattachments.org/attachment.cgi?id=9623008) could also be passed by the caller as an additional parameter instead of asking the agent to locate it.
ksy36
force-pushed
the
autowebcompat-diagnosis
branch
from
August 10, 2026 03:26
815c3a4 to
18f7008
Compare
ksy36
marked this pull request as ready for review
August 10, 2026 03:26
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.
This agent has the same browser / MCP setup as the autowebcompat-repro agent.
I'm going to move the browser installation and MCP servers into a shared directory in a separate PR.
The agent has 3 tasks:
DiagnosisPlan
Creates a plan for diagnosis, picks the browser channel to install, locates the Puppeteer script if available, records url and STR.
ReproScript (If Puppeteer script exists and passes in Chrome/ fails in Firefox this step is skipped)
If the script doesn't exist or doesn't work as expected, it tries to reproduce the bug again and create the script.
Diagnosis
Does root-cause diagnosis, creates minimal testcase.
I've added reproduction and puppeteer script creation mainly so we could use it for opt-in diagnosis on bugzilla bugs that don't have prior runs of the repro agent. But we can certainly make it diagnosis only and run the repro agent first when diagnosis is requested.
Also when sites change and previously created puppeteer script does not work, this agent would create it's own revised version of the script and have one more attempt to reproduce the bug, so it might be good to keep ReproScript anyway.