Make creation of Puppeteer script part of reproduction step for autowebcompat - #6448
Draft
ksy36 wants to merge 1 commit into
Draft
Make creation of Puppeteer script part of reproduction step for autowebcompat#6448ksy36 wants to merge 1 commit into
ksy36 wants to merge 1 commit into
Community-TC Integration / bugbug lint
failed
Aug 2, 2026 in 2m 7s
Community-TC (pull_request)
bugbug lint
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-08-02T04:11:25.299Z
Resolved: 2026-08-02T04:13:31.934Z
Task Execution Time: 2 minutes, 6 seconds, 635 milliseconds
Task Status: failed
Reason Resolved: failed
TaskId: ItMgzOFsTv6eHAt4aGxzsA
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-08-02T04:11:25.373Z] Worker Type (proj-bugbug/batch) settings:
[taskcluster 2026-08-02T04:11:25.373Z] {
[taskcluster 2026-08-02T04:11:25.373Z] "generic-worker": {
[taskcluster 2026-08-02T04:11:25.373Z] "config": {
[taskcluster 2026-08-02T04:11:25.373Z] "capacity": 1,
[taskcluster 2026-08-02T04:11:25.373Z] "headlessTasks": false
[taskcluster 2026-08-02T04:11:25.373Z] },
[taskcluster 2026-08-02T04:11:25.373Z] "engine": "multiuser",
[taskcluster 2026-08-02T04:11:25.373Z] "go-arch": "amd64",
[taskcluster 2026-08-02T04:11:25.373Z] "go-os": "linux",
[taskcluster 2026-08-02T04:11:25.373Z] "go-version": "go1.26.2",
[taskcluster 2026-08-02T04:11:25.373Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v100.0.1",
[taskcluster 2026-08-02T04:11:25.373Z] "revision": "fcf9d8ed582ed8de3d1cdb8f4f91ccec93b7803c",
[taskcluster 2026-08-02T04:11:25.373Z] "source": "https://github.com/taskcluster/taskcluster/commits/fcf9d8ed582ed8de3d1cdb8f4f91ccec93b7803c",
[taskcluster 2026-08-02T04:11:25.373Z] "version": "100.0.1"
[taskcluster 2026-08-02T04:11:25.373Z] },
[taskcluster 2026-08-02T04:11:25.373Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-bngpghpfficdxtlhnusi",
[taskcluster 2026-08-02T04:11:25.373Z] "instance-id": "1802503721675095050",
[taskcluster 2026-08-02T04:11:25.373Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-2",
[taskcluster 2026-08-02T04:11:25.373Z] "local-ipv4": "10.128.0.133",
...(62 lines hidden)...
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@3.1.0.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Initializing environment for https://github.com/asottile/yesqa.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-pkg_resources==0.1.2,types-python-dateutil==2.9.0.20260518,types-PyYAML==6.0.12.20260518,types-orjson==3.6.2,types-tabulate==0.10.0.20260508,types-requests==2.33.0.20260712.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-pkg_resources==0.1.2,types-requests==2.33.0.20260712,types-Flask==1.1.6,types-redis==4.6.0.20241004,types-python-dateutil==2.9.0.20260518,types-orjson==3.6.2,types-tabulate==0.10.0.20260508.
[INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
prettier.................................................................Failed
- hook id: prettier
- files were modified by this hook
agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md
agents/autowebcompat-repro/repro_reference.mjs
ruff check...............................................................Passed
ruff format..............................................................Passed
check python ast.........................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Passed
trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Failed
- hook id: taskcluster_yml
- exit code: 1
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/referencing/_core.py", line 428, in get_or_retrieve
resource = registry._retrieve(uri)
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 113, in _warn_for_remote_retrieve
with urlopen(request) as response: # noqa: S310
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/referencing/_core.py", line 682, in lookup
retrieved = self._registry.get_or_retrieve(uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/referencing/_core.py", line 435, in get_or_retrieve
raise exceptions.Unretrievable(ref=uri) from error
referencing.exceptions.Unretrievable: 'https://community-tc.services.mozilla.com/schemas/queue/v1/task.json'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 463, in _validate_reference
resolved = self._resolver.lookup(ref)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/referencing/_core.py", line 686, in lookup
raise exceptions.Unresolvable(ref=ref) from error
referencing.exceptions.Unresolvable: task.json#/properties/workerType
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/bin/taskcluster_yml_validator", line 6, in <module>
sys.exit(main())
^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/taskcluster_yml_validator/__init__.py", line 107, in main
validate(args.tcml)
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/taskcluster_yml_validator/__init__.py", line 77, in validate
jsonschema.validate(instance=task, schema=task_schema)
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 1330, in validate
error = exceptions.best_match(validator.iter_errors(instance))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/exceptions.py", line 475, in best_match
best = next(errors, None)
^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 384, in iter_errors
for error in errors:
^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/_keywords.py", line 296, in properties
yield from validator.descend(
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 432, in descend
for error in errors:
^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/_keywords.py", line 275, in ref
yield from validator._validate_reference(ref=ref, instance=instance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pre-commit/repo904otrol/py_env-python3.12/lib/python3.12/site-packages/jsonschema/validators.py", line 465, in _validate_reference
raise exceptions._WrappedReferencingError(err) from err
jsonschema.exceptions._WrappedReferencingError: Unresolvable: task.json#/properties/workerType
Strip unnecessary `# noqa`s..............................................Passed
mypy-bugbug..............................................................Passed
mypy-bugbug-http.........................................................Passed
Check for useless excludes...............................................Passed
pre-commit hook(s) made changes.
If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.
To run `pre-commit` as part of git workflow, use `pre-commit install`.
All changes made by hooks:
diff --git a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md
index e1d0a91a..b237ad5b 100644
--- a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md
+++ b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md
@@ -11,7 +11,7 @@ issues that reproduce in Firefox.
- Your job is to analyze and, when instructed, reproduce the reported
issue. Do not attempt to debug or perform root cause analysis.
- No `Monitor` or `ScheduleWakeup` tools are available. If you attempt
- to use these tools, nothing will notify you, and you will stall and
+ to use these tools, nothing will notify you, and you will stall and
lose your findings.
**Stay focused on reproduction. Avoid:**
diff --git a/agents/autowebcompat-repro/repro_reference.mjs b/agents/autowebcompat-repro/repro_reference.mjs
index 919b4157..09b5de52 100644
--- a/agents/autowebcompat-repro/repro_reference.mjs
+++ b/agents/autowebcompat-repro/repro_reference.mjs
@@ -44,7 +44,7 @@ function reproduced(ff, cr) {
return false;
}
-const RUNS = 3
+const RUNS = 3;
let reproductions = 0;
try {
[taskcluster 2026-08-02T04:13:30.077Z] Exit Code: 1
[taskcluster 2026-08-02T04:13:30.077Z] User Time: 28.489ms
[taskcluster 2026-08-02T04:13:30.077Z] Kernel Time: 49.208ms
[taskcluster 2026-08-02T04:13:30.077Z] Wall Time: 1m39.269135376s
[taskcluster 2026-08-02T04:13:30.077Z] Average Available System Memory: 6.27 GiB
[taskcluster 2026-08-02T04:13:30.077Z] Average System Memory Used: 1.48 GiB
[taskcluster 2026-08-02T04:13:30.077Z] Peak System Memory Used: 1.79 GiB
[taskcluster 2026-08-02T04:13:30.077Z] Total System Memory: 7.75 GiB
[taskcluster 2026-08-02T04:13:30.077Z] Result: FAILED
[taskcluster 2026-08-02T04:13:30.078Z] === Task Finished ===
[taskcluster 2026-08-02T04:13:30.078Z] Task Duration: 1m39.270603968s
[taskcluster:error] exit status 1
Loading