Repository navigation
Reuse one httpx client in phabricator-client and close it in every caller - #7823
Open
WadekarPrashant wants to merge 3 commits into
Open
WadekarPrashant wants to merge 3 commits into
WadekarPrashant wants to merge 3 commits into
Community-TC Integration / bugbug agents tests
succeeded
Dec 4, 2026 in 1m 3s
Community-TC (pull_request)
bugbug agents tests
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-12-04T20:00:17.371Z
Resolved: 2026-12-04T20:01:19.872Z
Task Execution Time: 1 minute, 2 seconds, 501 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: GuVQOp3JTNe4vf7R3J3AJQ
RunId: 0
Artifacts
- public/logs/live_backing.log (551 KB)
- public/logs/live.log
[taskcluster 2026-12-04T20:00:17.442Z] Worker Type (proj-bugbug/compute-smaller) settings:
[taskcluster 2026-12-04T20:00:17.442Z] {
[taskcluster 2026-12-04T20:00:17.442Z] "generic-worker": {
[taskcluster 2026-12-04T20:00:17.442Z] "config": {
[taskcluster 2026-12-04T20:00:17.442Z] "capacity": 1,
[taskcluster 2026-12-04T20:00:17.442Z] "headlessTasks": false
[taskcluster 2026-12-04T20:00:17.442Z] },
[taskcluster 2026-12-04T20:00:17.442Z] "engine": "multiuser",
[taskcluster 2026-12-04T20:00:17.442Z] "go-arch": "amd64",
[taskcluster 2026-12-04T20:00:17.442Z] "go-os": "linux",
[taskcluster 2026-12-04T20:00:17.442Z] "go-version": "go1.27.4",
[taskcluster 2026-12-04T20:00:17.442Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v117.1.0",
[taskcluster 2026-12-04T20:00:17.442Z] "revision": "0c7c8924f32ea41a92bdf8e788842b6ae878c9a9",
[taskcluster 2026-12-04T20:00:17.442Z] "source": "https://github.com/taskcluster/taskcluster/commits/0c7c8924f32ea41a92bdf8e788842b6ae878c9a9",
[taskcluster 2026-12-04T20:00:17.442Z] "version": "117.1.0"
[taskcluster 2026-12-04T20:00:17.442Z] },
[taskcluster 2026-12-04T20:00:17.442Z] "image": "projects/taskcluster-imaging/global/images/generic-worker-ubuntu-24-04-6b7773308dd74c7d9c2e",
[taskcluster 2026-12-04T20:00:17.442Z] "instance-id": "7319034225766605852",
[taskcluster 2026-12-04T20:00:17.442Z] "instance-type": "projects/757942385826/machineTypes/c3d-highcpu-4",
[taskcluster 2026-12-04T20:00:17.442Z] "local-ipv4": "10.142.0.105",
...(586 lines hidden)...
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/plugin.py 34 1 97%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/preflight.py 60 28 53%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/tasks.py 101 28 72%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/text.py 3 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/__init__.py 4 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/prompt.py 3 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/result.py 40 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/stability.py 70 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/task.py 53 2 96%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/__init__.py 0 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/__main__.py 51 29 43%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/agent.py 178 22 88%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/config.py 5 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/notify.py 117 9 92%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/prompts.py 7 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/resolve.py 164 27 84%
hackbot_agents/test_repair_fix/__init__.py 0 0 100%
hackbot_agents/test_repair_fix/__main__.py 56 24 57%
hackbot_agents/test_repair_fix/agent.py 111 16 86%
hackbot_agents/test_repair_fix/config.py 8 0 100%
hackbot_agents/test_repair_fix/notify.py 47 1 98%
hackbot_agents/test_repair_fix/prompts.py 9 0 100%
------------------------------------------------------------------------------------------------
TOTAL 6659 742 89%
======================== 36 passed, 2 warnings in 2.21s ========================
+ cd ../uplift-resolve
+ uv run --locked --with pytest==9.1.0 --with pytest-cov==7.1.0 --with pytest-asyncio==1.4.0 pytest --cov=hackbot_agents --cov-append tests/
⠋ Preparing packages... (0/0)
⠋ Preparing packages... (0/1)
⠙ Preparing packages... (0/1)
Building hackbot-agent-uplift-resolve @ file:///ai-dev/agents/uplift-resolve ⠙ Preparing packages... (0/1)
Building hackbot-agent-uplift-resolve @ file:///ai-dev/agents/uplift-resolve ⠹ Preparing packages... (0/1)
Built hackbot-agent-uplift-resolve @ file:///ai-dev/agents/uplift-resolve ⠹ Preparing packages... (0/1)
⠹ (1/1)
░░░░░░░░░░░░░░░░░░░░ [0/0] Installing wheels...
░░░░░░░░░░░░░░░░░░░░ [0/1] Installing wheels...
░░░░░░░░░░░░░░░░░░░░ [0/1] hackbot-agent-uplift-resolve==0.1.0 (from file:///ai-
████████████████████ [1/1] hackbot-agent-uplift-resolve==0.1.0 (from file:///ai-
Installed 1 package in 1ms
⠋ Resolving dependencies...
⠋ Resolving dependencies...
⠙ Resolving dependencies...
⠙ pytest==9.1.0
⠙ pytest-cov==7.1.0
⠙ pytest-asyncio==1.4.0
⠙ iniconfig==2.3.0
⠙ packaging==26.3
⠙ pluggy==1.6.0
⠙ pygments==2.20.0
⠙ coverage==7.17.5
⠙ coverage==7.17.5
⠙
============================= test session starts ==============================
platform linux -- Python 3.14.10, pytest-9.1.0, pluggy-1.6.0
rootdir: /ai-dev/agents/uplift-resolve
configfile: pyproject.toml
plugins: cov-7.1.0, asyncio-1.4.0, anyio-4.14.2
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ...
collecting 16 items
collected 82 items
tests/test_broker.py ... [ 3%]
tests/test_uplift_diffs.py ............. [ 19%]
tests/test_uplift_fetch.py .... [ 24%]
tests/test_uplift_main.py ......... [ 35%]
tests/test_uplift_options.py ............ [ 50%]
tests/test_uplift_patch_roundtrip.py ... [ 53%]
tests/test_uplift_prompt.py ........... [ 67%]
tests/test_uplift_report.py .......... [ 79%]
tests/test_uplift_run.py ........ [ 89%]
tests/test_uplift_verify.py ......... [100%]
=============================== warnings summary ===============================
tests/test_broker.py:7
/ai-dev/agents/uplift-resolve/tests/test_broker.py:7: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
from starlette.testclient import TestClient
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.14.10-final-0 _______________
Name Stmts Miss Cover
------------------------------------------------------------------------------------------------
/ai-dev/agents/bug-fix/hackbot_agents/bug_fix/__init__.py 0 0 100%
/ai-dev/agents/bug-fix/hackbot_agents/bug_fix/__main__.py 38 6 84%
/ai-dev/agents/bug-fix/hackbot_agents/bug_fix/agent.py 62 35 44%
/ai-dev/agents/bug-fix/hackbot_agents/bug_fix/broker.py 44 9 80%
/ai-dev/agents/bug-fix/hackbot_agents/bug_fix/config.py 5 0 100%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/__init__.py 0 0 100%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/__main__.py 45 45 0%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/agent.py 215 40 81%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/broker.py 42 42 0%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/config.py 11 0 100%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/notify.py 70 7 90%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/prompts.py 17 0 100%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/resolve.py 87 7 92%
/ai-dev/agents/build-repair/hackbot_agents/build_repair/try_push.py 88 64 27%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/__init__.py 0 0 100%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/__main__.py 31 31 0%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/agent.py 205 67 67%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/broker.py 37 37 0%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/config.py 45 0 100%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/docs.py 50 3 94%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/guidance.py 18 0 100%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/hooks.py 40 1 98%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/notify.py 102 1 99%
/ai-dev/agents/frontend-triage/hackbot_agents/frontend_triage/preflight.py 30 6 80%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/__init__.py 0 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/__main__.py 16 3 81%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/actions_view.py 28 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/agent.py 425 6 99%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/attachments.py 617 15 98%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/authors.py 126 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/broker.py 35 7 80%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/broker_client.py 19 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/bugzilla_prompt.py 43 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/ci_logs.py 411 5 99%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/citations.py 81 1 99%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/closing.py 238 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/config.py 50 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/docs.py 50 26 48%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/dupes.py 243 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/hooks.py 545 6 99%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/investigations.py 21 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/isolation.py 21 1 95%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/preflight.py 68 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/prompting.py 9 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/rerecord.py 41 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/run.py 41 1 98%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/state.py 220 4 98%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/steps.py 34 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/targets.py 147 1 99%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/team_pick.py 25 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/teamconfig.py 175 0 100%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/toolkit.py 31 2 94%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/version.py 27 2 93%
/ai-dev/agents/gecko-triage/hackbot_agents/gecko_triage/withheld.py 89 1 99%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/__init__.py 0 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/__main__.py 30 12 60%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/agent.py 48 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/blind.py 92 14 85%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/broker.py 41 41 0%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/comment.py 91 4 96%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/config.py 4 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/hooks.py 61 1 98%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/inputs.py 13 1 92%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/plugin.py 34 1 97%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/preflight.py 60 28 53%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/tasks.py 101 28 72%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/text.py 3 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/__init__.py 4 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/prompt.py 3 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/result.py 40 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/stability.py 70 0 100%
/ai-dev/agents/perf-triage/hackbot_agents/perf_triage/triage/task.py 53 2 96%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/__init__.py 0 0 100%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/__main__.py 56 24 57%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/agent.py 111 16 86%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/config.py 8 0 100%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/notify.py 47 1 98%
/ai-dev/agents/test-repair-fix/hackbot_agents/test_repair_fix/prompts.py 9 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/__init__.py 0 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/__main__.py 51 29 43%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/agent.py 178 22 88%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/config.py 5 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/notify.py 117 9 92%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/prompts.py 7 0 100%
/ai-dev/agents/test-repair/hackbot_agents/test_repair/resolve.py 164 27 84%
hackbot_agents/uplift_resolve/__init__.py 0 0 100%
hackbot_agents/uplift_resolve/__main__.py 31 1 97%
hackbot_agents/uplift_resolve/agent.py 161 14 91%
hackbot_agents/uplift_resolve/broker.py 43 8 81%
hackbot_agents/uplift_resolve/models.py 78 1 99%
hackbot_agents/uplift_resolve/verify.py 30 0 100%
------------------------------------------------------------------------------------------------
TOTAL 7002 766 89%
======================== 82 passed, 1 warning in 3.14s =========================
+ cd ../..
+ bash /dev/fd/63
++ curl -s https://codecov.io/bash
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-1.0.6
==> git version 2.47.3 found
==> curl 8.14.1 (x86_64-pc-linux-gnu) libcurl/8.14.1 OpenSSL/3.5.9 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 nghttp3/1.8.0 librtmp/2.3 OpenLDAP/2.6.10
Release-Date: 2025-06-04, security patched: 8.14.1-2+deb13u7
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
x> No CI provider detected.
Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
current dir: /ai-dev
project root: .
--> token set from env
Yaml found at: .codecov.yml
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
+ .
--> No coverage report found.
Please visit http://docs.codecov.io/docs/supported-languages
[taskcluster 2026-12-04T20:01:19.322Z] Exit Code: 0
[taskcluster 2026-12-04T20:01:19.322Z] User Time: 71.703ms
[taskcluster 2026-12-04T20:01:19.322Z] Kernel Time: 99.379ms
[taskcluster 2026-12-04T20:01:19.322Z] Wall Time: 50.004093536s
[taskcluster 2026-12-04T20:01:19.322Z] Average Available System Memory: 6.12 GiB
[taskcluster 2026-12-04T20:01:19.322Z] Average System Memory Used: 1.63 GiB
[taskcluster 2026-12-04T20:01:19.322Z] Peak System Memory Used: 1.75 GiB
[taskcluster 2026-12-04T20:01:19.322Z] Total System Memory: 7.75 GiB
[taskcluster 2026-12-04T20:01:19.322Z] Result: SUCCEEDED
[taskcluster 2026-12-04T20:01:19.322Z] === Task Finished ===
[taskcluster 2026-12-04T20:01:19.323Z] Task Duration: 50.004551507s
Loading