Optimize: Update transitive closure algorithm#920
Open
hneiva wants to merge 3 commits into
Open
firefoxci-taskcluster / check-type
succeeded
Jun 10, 2026 in 58s
FirefoxCI (pull_request)
Run type checking against src with Pyright (Treeherder push)
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-06-10T17:33:33.526Z
Resolved: 2026-06-10T17:34:30.851Z
Task Execution Time: 57 seconds, 325 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: DCCEMeNOTb-jvR-o-Ntu7Q
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-06-10T17:33:33.580Z] Worker Type (taskgraph-t/linux-docker) settings:
[taskcluster 2026-06-10T17:33:33.580Z] {
[taskcluster 2026-06-10T17:33:33.580Z] "generic-worker": {
[taskcluster 2026-06-10T17:33:33.580Z] "config": {
[taskcluster 2026-06-10T17:33:33.580Z] "headlessTasks": true
[taskcluster 2026-06-10T17:33:33.580Z] },
[taskcluster 2026-06-10T17:33:33.580Z] "engine": "multiuser",
[taskcluster 2026-06-10T17:33:33.580Z] "go-arch": "amd64",
[taskcluster 2026-06-10T17:33:33.580Z] "go-os": "linux",
[taskcluster 2026-06-10T17:33:33.580Z] "go-version": "go1.26.2",
[taskcluster 2026-06-10T17:33:33.580Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-06-10T17:33:33.580Z] "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-10T17:33:33.580Z] "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-10T17:33:33.580Z] "version": "99.2.1"
[taskcluster 2026-06-10T17:33:33.580Z] },
[taskcluster 2026-06-10T17:33:33.580Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-06-10T17:33:33.580Z] "instance-id": "6951894013192708468",
[taskcluster 2026-06-10T17:33:33.580Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-06-10T17:33:33.580Z] "local-ipv4": "10.128.0.101",
[taskcluster 2026-06-10T17:33:33.580Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-06-10T17:33:33.580Z] "public-hostname": "taskgraph-t-linux-docker-z3qz7dymsa-718n6i8jf0a.c.fxci-production-level1-workers.internal",
[taskcluster 2026-06-10T17:33:33.580Z] "public-ipv4": "34.41.110.24",
[taskcluster 2026-06-10T17:33:33.580Z] "region": "us-central1",
[taskcluster 2026-06-10T17:33:33.580Z] "zone": "us-central1-f"
[taskcluster 2026-06-10T17:33:33.580Z] }
[taskcluster 2026-06-10T17:33:33.580Z] Task ID: DCCEMeNOTb-jvR-o-Ntu7Q
[taskcluster 2026-06-10T17:33:33.580Z] === Task Starting ===
[taskcluster 2026-06-10T17:33:34.541Z] [mounts] No existing writable directory cache 'taskgraph-level-1-uv-v3-5ddaa3ce44d7548e0d3c-cgiqCwl9QreCW3FvPIbTdw' - creating /home/generic-worker/caches/W9xahaCxS42Jspwc6j79TA
[taskcluster 2026-06-10T17:33:34.541Z] [mounts] Creating directory /home/task_178111281288022/cache0
[taskcluster 2026-06-10T17:33:34.553Z] [mounts] Successfully mounted writable directory cache '/home/task_178111281288022/cache0'
[taskcluster 2026-06-10T17:33:34.553Z] [mounts] No existing writable directory cache 'taskgraph-level-1-checkouts-v3-5ddaa3ce44d7548e0d3c-cgiqCwl9QreCW3FvPIbTdw' - creating /home/generic-worker/caches/Aheds9w5SQuJOOEIz1-lGw
[taskcluster 2026-06-10T17:33:34.553Z] [mounts] Creating directory /home/task_178111281288022/cache1
[taskcluster 2026-06-10T17:33:34.564Z] [mounts] Successfully mounted writable directory cache '/home/task_178111281288022/cache1'
[taskcluster 2026-06-10T17:33:34.565Z] [mounts] Downloading task cgiqCwl9QreCW3FvPIbTdw artifact public/image.tar.zst to /home/generic-worker/downloads/MLy1fWItQnC4vSSIODlbjA
[taskcluster 2026-06-10T17:33:45.025Z] [mounts] Downloaded 484125480 bytes with SHA256 4a9603605af409509dcd8d4b14c761191a5f13bd2676a4b8f3b7042670b4dedf from task cgiqCwl9QreCW3FvPIbTdw artifact public/image.tar.zst to /home/generic-worker/downloads/MLy1fWItQnC4vSSIODlbjA
[taskcluster:warn 2026-06-10T17:33:45.025Z] [mounts] Download /home/generic-worker/downloads/MLy1fWItQnC4vSSIODlbjA of task cgiqCwl9QreCW3FvPIbTdw artifact public/image.tar.zst has SHA256 4a9603605af409509dcd8d4b14c761191a5f13bd2676a4b8f3b7042670b4dedf but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-06-10T17:33:45.025Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/MLy1fWItQnC4vSSIODlbjA, SHA256: 4a9603605af409509dcd8d4b14c761191a5f13bd2676a4b8f3b7042670b4dedf)
[taskcluster 2026-06-10T17:33:45.025Z] [d2g] Loading docker image
[taskcluster 2026-06-10T17:34:09.427Z] [d2g] Loaded docker image "python:latest"
[taskcluster 2026-06-10T17:34:09.427Z] Executing command 0: docker run -t --name taskcontainer_VJec24NbTwmsgNBFAiosFw --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' -v '/home/task_178111281288022/cache0:/builds/worker/.task-cache/uv' -v /home/task_178111281288022/cache1:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' e1efff49493591d24b71b05c4f479ac2ddd3c6f7b1a3147a38bf3f006a69a8a7 /usr/local/bin/run-task --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx 'uv run --all-extras pyright'
[setup 2026-06-10T17:34:11.851+00:00] run-task started in /
[setup 2026-06-10T17:34:11.851+00:00] Invoked by command: --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run --all-extras pyright
[setup 2026-06-10T17:34:11.852+00:00] Python version: 3.13.5
[setup 2026-06-10T17:34:11.852+00:00] Subprocess python version:
cpython-3.14.0-linux-x86_64-gnu /builds/worker/.local/bin/python3.14 -> /builds/worker/.local/share/uv/python/cpython-3.14.0-linux-x86_64-gnu/bin/python3.14
cpython-3.14.0-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.14.0-linux-x86_64-gnu/bin/python3.14
cpython-3.14.0+freethreaded-linux-x86_64-gnu /builds/worker/.local/bin/python3.14t -> /builds/worker/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/bin/python3.14t
cpython-3.14.0+freethreaded-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.14.0+freethreaded-linux-x86_64-gnu/bin/python3.14t
cpython-3.13.9-linux-x86_64-gnu /builds/worker/.local/bin/python3.13 -> /builds/worker/.local/share/uv/python/cpython-3.13.9-linux-x86_64-gnu/bin/python3.13
cpython-3.13.9-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.13.9-linux-x86_64-gnu/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu /usr/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu /usr/bin/python3 -> python3.13
cpython-3.12.12-linux-x86_64-gnu /builds/worker/.local/bin/python3.12 -> /builds/worker/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
cpython-3.12.12-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.12.12-linux-x86_64-gnu/bin/python3.12
cpython-3.11.14-linux-x86_64-gnu /builds/worker/.local/bin/python3.11 -> /builds/worker/.local/share/uv/python/cpython-3.11.14-linux-x86_64-gnu/bin/python3.11
cpython-3.11.14-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.11.14-linux-x86_64-gnu/bin/python3.11
cpython-3.10.19-linux-x86_64-gnu /builds/worker/.local/bin/python3.10 -> /builds/worker/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/bin/python3.10
cpython-3.10.19-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.10.19-linux-x86_64-gnu/bin/python3.10
cpython-3.9.24-linux-x86_64-gnu /builds/worker/.local/bin/python3.9 -> /builds/worker/.local/share/uv/python/cpython-3.9.24-linux-x86_64-gnu/bin/python3.9
cpython-3.9.24-linux-x86_64-gnu /builds/worker/.local/share/uv/python/cpython-3.9.24-linux-x86_64-gnu/bin/python3.9
[cache 2026-06-10T17:34:14.374+00:00] cache /builds/worker/.task-cache/uv is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2026-06-10T17:34:14.374+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-06-10T17:34:14.374+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2026-06-10T17:34:14.374+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-06-10T17:34:14.374+00:00] running as worker:worker
[vcs 2026-06-10T17:34:14.374+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-06-10T17:34:14.376+00:00] executing ['git', 'clone', 'https://github.com/taskcluster/taskgraph', '/builds/worker/checkouts/vcs']
[vcs 2026-06-10T17:34:14.377+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-06-10T17:34:15.463+00:00] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/taskcluster/taskgraph', 'hneiva/transitive-closure']
[vcs 2026-06-10T17:34:15.634+00:00] From https://github.com/taskcluster/taskgraph
[vcs 2026-06-10T17:34:15.634+00:00] * branch hneiva/transitive-closure -> FETCH_HEAD
[vcs 2026-06-10T17:34:15.641+00:00] executing ['git', 'checkout', '-f', '-B', 'hneiva/transitive-closure', '1cee94b57a3637ec8e26322779b84c16bc828450']
[vcs 2026-06-10T17:34:15.662+00:00] Switched to a new branch 'hneiva/transitive-closure'
[vcs 2026-06-10T17:34:15.663+00:00] cleaning git checkout...
[vcs 2026-06-10T17:34:15.663+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-06-10T17:34:15.665+00:00] removing []
[vcs 2026-06-10T17:34:15.665+00:00] successfully cleaned git checkout!
[vcs 2026-06-10T17:34:15.667+00:00] TinderboxPrint:<a href='https://github.com/taskcluster/taskgraph/commit/1cee94b57a3637ec8e26322779b84c16bc828450' title='Built from taskgraph commit 1cee94b57a3637ec8e26322779b84c16bc828450'>1cee94b57a3637ec8e26322779b84c16bc828450</a>
[setup 2026-06-10T17:34:15.667+00:00] UV_CACHE_DIR is /builds/worker/.task-cache/uv
[task 2026-06-10T17:34:15.667+00:00] executing ['bash', '-cx', 'uv run --all-extras pyright']
[task 2026-06-10T17:34:15.668+00:00] + uv run --all-extras pyright
[task 2026-06-10T17:34:15.850+00:00] Using CPython 3.14.0
[task 2026-06-10T17:34:15.850+00:00] Creating virtual environment at: .venv
[task 2026-06-10T17:34:15.880+00:00] Building pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2026-06-10T17:34:15.880+00:00] Building taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2026-06-10T17:34:15.881+00:00] Building sphinx-taskgraph @ file:///builds/worker/checkouts/vcs/packages/sphinx-taskgraph
[task 2026-06-10T17:34:15.950+00:00] Downloading virtualenv (7.2MiB)
[task 2026-06-10T17:34:15.951+00:00] Downloading pygments (1.2MiB)
[task 2026-06-10T17:34:15.954+00:00] Downloading babel (9.7MiB)
[task 2026-06-10T17:34:15.956+00:00] Downloading pyright (5.8MiB)
[task 2026-06-10T17:34:15.957+00:00] Downloading aiohttp (1.7MiB)
[task 2026-06-10T17:34:15.957+00:00] Downloading sphinx (3.7MiB)
[task 2026-06-10T17:34:15.958+00:00] Downloading accessible-pygments (1.3MiB)
[task 2026-06-10T17:34:15.958+00:00] Downloading pydata-sphinx-theme (6.4MiB)
[task 2026-06-10T17:34:15.963+00:00] Downloading zstandard (5.3MiB)
[task 2026-06-10T17:34:16.607+00:00] Downloading aiohttp
[task 2026-06-10T17:34:16.653+00:00] Downloading accessible-pygments
[task 2026-06-10T17:34:16.823+00:00] Downloading pygments
[task 2026-06-10T17:34:17.019+00:00] Downloading zstandard
[task 2026-06-10T17:34:17.094+00:00] Downloading pydata-sphinx-theme
[task 2026-06-10T17:34:17.125+00:00] Downloading virtualenv
[task 2026-06-10T17:34:17.198+00:00] Downloading sphinx
[task 2026-06-10T17:34:17.373+00:00] Downloading babel
[task 2026-06-10T17:34:17.865+00:00] Built taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2026-06-10T17:34:17.882+00:00] Built sphinx-taskgraph @ file:///builds/worker/checkouts/vcs/packages/sphinx-taskgraph
[task 2026-06-10T17:34:17.894+00:00] Built pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2026-06-10T17:34:18.010+00:00] Downloading pyright
[task 2026-06-10T17:34:18.012+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-06-10T17:34:18.012+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-06-10T17:34:18.012+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2026-06-10T17:34:18.346+00:00] Installed 94 packages in 334ms
[task 2026-06-10T17:34:24.828+00:00] * Install prebuilt node (26.3.0) ..... done.
[task 2026-06-10T17:34:24.829+00:00] {'x86': False, 'risc': False, 'lts': False}
[task 2026-06-10T17:34:28.755+00:00] 0 errors, 0 warnings, 0 informations
[taskcluster 2026-06-10T17:34:30.172Z] Exit Code: 0
[taskcluster 2026-06-10T17:34:30.172Z] User Time: 17.12ms
[taskcluster 2026-06-10T17:34:30.172Z] Kernel Time: 10.7ms
[taskcluster 2026-06-10T17:34:30.172Z] Wall Time: 20.744301778s
[taskcluster 2026-06-10T17:34:30.172Z] Average Available System Memory: 14.41 GiB
[taskcluster 2026-06-10T17:34:30.172Z] Average System Memory Used: 1.20 GiB
[taskcluster 2026-06-10T17:34:30.172Z] Peak System Memory Used: 1.29 GiB
[taskcluster 2026-06-10T17:34:30.172Z] Total System Memory: 15.61 GiB
[taskcluster 2026-06-10T17:34:30.172Z] Result: SUCCEEDED
[taskcluster 2026-06-10T17:34:30.172Z] === Task Finished ===
[taskcluster 2026-06-10T17:34:30.172Z] Task Duration: 20.74496152s
[taskcluster 2026-06-10T17:34:30.372Z] [mounts] Preserving cache: Moving "/home/task_178111281288022/cache0" to "/home/generic-worker/caches/W9xahaCxS42Jspwc6j79TA"
[taskcluster 2026-06-10T17:34:30.372Z] [mounts] Preserving cache: Moving "/home/task_178111281288022/cache1" to "/home/generic-worker/caches/Aheds9w5SQuJOOEIz1-lGw"
Loading