Skip to content

refactor: use Schema.from_dict in task transforms

d510d08
Select commit
Loading
Failed to load commit list.
Draft

Convert msgspec schemas to Schema.from_dict format #929

refactor: use Schema.from_dict in task transforms
d510d08
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / check-type failed Apr 29, 2026 in 2m 44s

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-04-29T17:44:36.652Z
Resolved: 2026-04-29T17:45:40.486Z
Task Execution Time: 1 minute, 3 seconds, 834 milliseconds
Task Status: failed
Reason Resolved: failed
TaskId: BVoLa_wCSe2jKDVubIuZDQ
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-04-29T17:44:36.707Z] Worker Type (taskgraph-t/linux-docker) settings:
[taskcluster 2026-04-29T17:44:36.707Z]   {
[taskcluster 2026-04-29T17:44:36.707Z]     "generic-worker": {
[taskcluster 2026-04-29T17:44:36.707Z]       "config": {
[taskcluster 2026-04-29T17:44:36.707Z]         "headlessTasks": true
[taskcluster 2026-04-29T17:44:36.707Z]       },
[taskcluster 2026-04-29T17:44:36.707Z]       "engine": "multiuser",
[taskcluster 2026-04-29T17:44:36.707Z]       "go-arch": "amd64",
[taskcluster 2026-04-29T17:44:36.707Z]       "go-os": "linux",
[taskcluster 2026-04-29T17:44:36.707Z]       "go-version": "go1.26.0",
[taskcluster 2026-04-29T17:44:36.707Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-04-29T17:44:36.707Z]       "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-29T17:44:36.707Z]       "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-29T17:44:36.707Z]       "version": "97.0.1"
[taskcluster 2026-04-29T17:44:36.707Z]     },
[taskcluster 2026-04-29T17:44:36.707Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-04-29T17:44:36.707Z]     "instance-id": "3242942448927768005",
[taskcluster 2026-04-29T17:44:36.707Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-04-29T17:44:36.707Z]     "local-ipv4": "10.128.1.74",
[taskcluster 2026-04-29T17:44:36.707Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-04-29T17:44:36.707Z]     "public-hostname": "taskgraph-t-linux-docker-clxotqg8r0wxo7qr7baykq.c.fxci-production-level1-workers.internal",
[taskcluster 2026-04-29T17:44:36.707Z]     "public-ipv4": "34.170.32.44",
[taskcluster 2026-04-29T17:44:36.707Z]     "region": "us-central1",
[taskcluster 2026-04-29T17:44:36.707Z]     "zone": "us-central1-c"
[taskcluster 2026-04-29T17:44:36.707Z]   }
[taskcluster 2026-04-29T17:44:36.707Z] Task ID: BVoLa_wCSe2jKDVubIuZDQ
[taskcluster 2026-04-29T17:44:36.707Z] === Task Starting ===
[taskcluster 2026-04-29T17:44:38.825Z] [mounts] No existing writable directory cache 'taskgraph-level-1-uv-v3-5ddaa3ce44d7548e0d3c-cgiqCwl9QreCW3FvPIbTdw' - creating /home/generic-worker/caches/UktN0K3tQx61dkujo_j21A
[taskcluster 2026-04-29T17:44:38.825Z] [mounts] Creating directory /home/task_177748467573038/cache0
[taskcluster 2026-04-29T17:44:38.835Z] [mounts] Successfully mounted writable directory cache '/home/task_177748467573038/cache0'
[taskcluster 2026-04-29T17:44:38.835Z] [mounts] No existing writable directory cache 'taskgraph-level-1-checkouts-v3-5ddaa3ce44d7548e0d3c-cgiqCwl9QreCW3FvPIbTdw' - creating /home/generic-worker/caches/YzlPF6KET8-WfhFcJj4Czg
[taskcluster 2026-04-29T17:44:38.835Z] [mounts] Creating directory /home/task_177748467573038/cache1
[taskcluster 2026-04-29T17:44:38.845Z] [mounts] Successfully mounted writable directory cache '/home/task_177748467573038/cache1'
[taskcluster 2026-04-29T17:44:38.845Z] [mounts] Downloading task cgiqCwl9QreCW3FvPIbTdw artifact public/image.tar.zst to /home/generic-worker/downloads/aAEL6W-TQwWH3GYjcZXKzQ
[taskcluster 2026-04-29T17:44:49.468Z] [mounts] Downloaded 484125480 bytes with SHA256 4a9603605af409509dcd8d4b14c761191a5f13bd2676a4b8f3b7042670b4dedf from task cgiqCwl9QreCW3FvPIbTdw artifact public/image.tar.zst to /home/generic-worker/downloads/aAEL6W-TQwWH3GYjcZXKzQ
[taskcluster:warn 2026-04-29T17:44:49.468Z] [mounts] Download /home/generic-worker/downloads/aAEL6W-TQwWH3GYjcZXKzQ 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-04-29T17:44:49.468Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/aAEL6W-TQwWH3GYjcZXKzQ, SHA256: 4a9603605af409509dcd8d4b14c761191a5f13bd2676a4b8f3b7042670b4dedf)
[taskcluster 2026-04-29T17:44:49.468Z] [d2g] Loading docker image
[taskcluster 2026-04-29T17:45:16.233Z] [d2g] Loaded docker image "python:latest"
[taskcluster 2026-04-29T17:45:16.233Z] Executing command 0: docker run -t --name taskcontainer_Dw-IX3yiRwu9PzIt3AgzcQ --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v '/home/task_177748467573038/cache0:/builds/worker/.task-cache/uv' -v /home/task_177748467573038/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-04-29T17:45:19.106+00:00] run-task started in /
[setup 2026-04-29T17:45:19.106+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-04-29T17:45:19.106+00:00] Python version: 3.13.5
[setup 2026-04-29T17:45:19.107+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-04-29T17:45:21.660+00:00] cache /builds/worker/.task-cache/uv is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2026-04-29T17:45:21.660+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-04-29T17:45:21.660+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2026-04-29T17:45:21.660+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-04-29T17:45:21.660+00:00] running as worker:worker
[vcs 2026-04-29T17:45:21.660+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-04-29T17:45:21.662+00:00] executing ['git', 'clone', 'https://github.com/taskcluster/taskgraph', '/builds/worker/checkouts/vcs']
[vcs 2026-04-29T17:45:21.663+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-04-29T17:45:23.122+00:00] executing ['git', 'fetch', 'https://github.com/ahal/taskgraph', 'ahal/push-xpqpvswlroun']
[vcs 2026-04-29T17:45:23.398+00:00] From https://github.com/ahal/taskgraph
[vcs 2026-04-29T17:45:23.398+00:00]  * branch              ahal/push-xpqpvswlroun -> FETCH_HEAD
[vcs 2026-04-29T17:45:23.401+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/push-xpqpvswlroun', 'd510d085b99593e265463313a012a7207bd43b2a']
[vcs 2026-04-29T17:45:23.421+00:00] Switched to a new branch 'ahal/push-xpqpvswlroun'
[vcs 2026-04-29T17:45:23.422+00:00] cleaning git checkout...
[vcs 2026-04-29T17:45:23.422+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-04-29T17:45:23.425+00:00] removing []
[vcs 2026-04-29T17:45:23.425+00:00] successfully cleaned git checkout!
[vcs 2026-04-29T17:45:23.427+00:00] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/d510d085b99593e265463313a012a7207bd43b2a' title='Built from taskgraph commit d510d085b99593e265463313a012a7207bd43b2a'>d510d085b99593e265463313a012a7207bd43b2a</a>
[setup 2026-04-29T17:45:23.427+00:00] UV_CACHE_DIR is /builds/worker/.task-cache/uv
[task 2026-04-29T17:45:23.427+00:00] executing ['bash', '-cx', 'uv run --all-extras pyright']
[task 2026-04-29T17:45:23.428+00:00] + uv run --all-extras pyright
[task 2026-04-29T17:45:23.621+00:00] Using CPython 3.14.0
[task 2026-04-29T17:45:23.621+00:00] Creating virtual environment at: .venv
[task 2026-04-29T17:45:23.650+00:00]    Building pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2026-04-29T17:45:23.650+00:00]    Building taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2026-04-29T17:45:23.651+00:00]    Building sphinx-taskgraph @ file:///builds/worker/checkouts/vcs/packages/sphinx-taskgraph
[task 2026-04-29T17:45:23.699+00:00] Downloading pygments (1.2MiB)
[task 2026-04-29T17:45:23.722+00:00] Downloading aiohttp (1.6MiB)
[task 2026-04-29T17:45:23.723+00:00] Downloading sphinx (3.7MiB)
[task 2026-04-29T17:45:23.723+00:00] Downloading pydata-sphinx-theme (4.4MiB)
[task 2026-04-29T17:45:23.725+00:00] Downloading zstandard (5.3MiB)
[task 2026-04-29T17:45:23.727+00:00] Downloading virtualenv (5.7MiB)
[task 2026-04-29T17:45:23.727+00:00] Downloading pyright (6.1MiB)
[task 2026-04-29T17:45:23.728+00:00] Downloading babel (9.7MiB)
[task 2026-04-29T17:45:23.728+00:00] Downloading accessible-pygments (1.3MiB)
[task 2026-04-29T17:45:24.478+00:00]  Downloading aiohttp
[task 2026-04-29T17:45:24.628+00:00]  Downloading accessible-pygments
[task 2026-04-29T17:45:24.920+00:00]  Downloading pygments
[task 2026-04-29T17:45:25.043+00:00]  Downloading pydata-sphinx-theme
[task 2026-04-29T17:45:25.163+00:00]  Downloading zstandard
[task 2026-04-29T17:45:25.223+00:00]  Downloading virtualenv
[task 2026-04-29T17:45:25.483+00:00]  Downloading sphinx
[task 2026-04-29T17:45:25.657+00:00]  Downloading babel
[task 2026-04-29T17:45:25.879+00:00]       Built pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2026-04-29T17:45:25.994+00:00]       Built taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2026-04-29T17:45:26.057+00:00]       Built sphinx-taskgraph @ file:///builds/worker/checkouts/vcs/packages/sphinx-taskgraph
[task 2026-04-29T17:45:26.340+00:00]  Downloading pyright
[task 2026-04-29T17:45:26.341+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-04-29T17:45:26.341+00:00]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-04-29T17:45:26.341+00:00]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2026-04-29T17:45:26.698+00:00] Installed 93 packages in 357ms
[task 2026-04-29T17:45:33.324+00:00]  * Install prebuilt node (25.9.0) ..... done.
[task 2026-04-29T17:45:33.325+00:00] {'x86': False, 'risc': False, 'lts': False}
[task 2026-04-29T17:45:38.033+00:00] /builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__init__.py
[task 2026-04-29T17:45:38.034+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__init__.py:71:10 - error: Variable not allowed in type expression (reportInvalidTypeForm)
[task 2026-04-29T17:45:38.035+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__init__.py:113:20 - error: Variable not allowed in type expression (reportInvalidTypeForm)
[task 2026-04-29T17:45:38.035+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__init__.py:115:49 - error: Variable not allowed in type expression (reportInvalidTypeForm)
[task 2026-04-29T17:45:38.035+00:00] /builds/worker/checkouts/vcs/src/taskgraph/transforms/task.py
[task 2026-04-29T17:45:38.035+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/transforms/task.py:141:22 - error: Variable not allowed in type expression (reportInvalidTypeForm)
[task 2026-04-29T17:45:38.035+00:00] 4 errors, 0 warnings, 0 informations
[task 2026-04-29T17:45:38.207+00:00] WARNING: there is a new pyright version available (v1.1.408 -> v1.1.409).
[task 2026-04-29T17:45:38.207+00:00] Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`
[task 2026-04-29T17:45:38.207+00:00] 
[taskcluster 2026-04-29T17:45:39.795Z]                        Exit Code: 1
[taskcluster 2026-04-29T17:45:39.795Z]                        User Time: 14.989ms
[taskcluster 2026-04-29T17:45:39.795Z]                      Kernel Time: 12.263ms
[taskcluster 2026-04-29T17:45:39.795Z]                        Wall Time: 23.561803037s
[taskcluster 2026-04-29T17:45:39.795Z]  Average Available System Memory: 14.11 GiB
[taskcluster 2026-04-29T17:45:39.795Z]       Average System Memory Used: 1.50 GiB
[taskcluster 2026-04-29T17:45:39.795Z]          Peak System Memory Used: 1.81 GiB
[taskcluster 2026-04-29T17:45:39.795Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-04-29T17:45:39.795Z]                           Result: FAILED
[taskcluster 2026-04-29T17:45:39.795Z] === Task Finished ===
[taskcluster 2026-04-29T17:45:39.795Z] Task Duration: 23.562189142s
[taskcluster 2026-04-29T17:45:39.977Z] [mounts] Preserving cache: Moving "/home/task_177748467573038/cache0" to "/home/generic-worker/caches/UktN0K3tQx61dkujo_j21A"
[taskcluster 2026-04-29T17:45:39.978Z] [mounts] Preserving cache: Moving "/home/task_177748467573038/cache1" to "/home/generic-worker/caches/YzlPF6KET8-WfhFcJj4Czg"
[taskcluster:error] exit status 1