ci: use shared pre-commit hook #1455
+2
−4
Open
firefoxci-taskcluster / pre-commit-v1
succeeded
May 29, 2026 in 10s
FirefoxCI (pull_request)
Run pre-commit checks
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-05-29T17:23:50.573Z
Resolved: 2026-05-29T17:24:00.675Z
Task Execution Time: 10 seconds, 102 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: UCgHFVrDSmKMwYMhoyCy8w
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-05-29T17:23:50.634Z] Worker Type (mozilla-t/pre-commit) settings:
[taskcluster 2026-05-29T17:23:50.634Z] {
[taskcluster 2026-05-29T17:23:50.634Z] "generic-worker": {
[taskcluster 2026-05-29T17:23:50.634Z] "config": {
[taskcluster 2026-05-29T17:23:50.634Z] "headlessTasks": true
[taskcluster 2026-05-29T17:23:50.634Z] },
[taskcluster 2026-05-29T17:23:50.634Z] "engine": "multiuser",
[taskcluster 2026-05-29T17:23:50.634Z] "go-arch": "amd64",
[taskcluster 2026-05-29T17:23:50.634Z] "go-os": "linux",
[taskcluster 2026-05-29T17:23:50.634Z] "go-version": "go1.26.2",
[taskcluster 2026-05-29T17:23:50.634Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-05-29T17:23:50.634Z] "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-05-29T17:23:50.634Z] "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-05-29T17:23:50.634Z] "version": "99.2.1"
[taskcluster 2026-05-29T17:23:50.634Z] },
[taskcluster 2026-05-29T17:23:50.634Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-05-29T17:23:50.634Z] "instance-id": "8900383056049617402",
[taskcluster 2026-05-29T17:23:50.634Z] "instance-type": "projects/887720501152/machineTypes/c3d-standard-4",
[taskcluster 2026-05-29T17:23:50.634Z] "local-ipv4": "10.128.0.179",
[taskcluster 2026-05-29T17:23:50.634Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-05-29T17:23:50.634Z] "public-hostname": "mozilla-t-pre-commit-qythrhfeskqjmde2polfzg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-05-29T17:23:50.634Z] "public-ipv4": "34.55.97.130",
[taskcluster 2026-05-29T17:23:50.634Z] "region": "us-central1",
[taskcluster 2026-05-29T17:23:50.634Z] "zone": "us-central1-b"
[taskcluster 2026-05-29T17:23:50.634Z] }
[taskcluster 2026-05-29T17:23:50.635Z] Task ID: UCgHFVrDSmKMwYMhoyCy8w
[taskcluster 2026-05-29T17:23:50.635Z] === Task Starting ===
[taskcluster 2026-05-29T17:23:51.516Z] [mounts] Moving existing writable directory cache lint-pre-commit-uv-v1 from /home/generic-worker/caches/V9K-MdGkSgWeuEsGkyEjHQ to /home/task_178007512615752/cache0
[taskcluster 2026-05-29T17:23:51.516Z] [mounts] Creating directory /home/task_178007512615752
[taskcluster 2026-05-29T17:23:51.526Z] [mounts] Successfully mounted writable directory cache '/home/task_178007512615752/cache0'
[taskcluster 2026-05-29T17:23:51.526Z] [mounts] Moving existing writable directory cache lint-pre-commit-repos-v1 from /home/generic-worker/caches/WrhjpZ76SNubSvgrkoQqvg to /home/task_178007512615752/cache1
[taskcluster 2026-05-29T17:23:51.526Z] [mounts] Creating directory /home/task_178007512615752
[taskcluster 2026-05-29T17:23:51.535Z] [mounts] Successfully mounted writable directory cache '/home/task_178007512615752/cache1'
[taskcluster 2026-05-29T17:23:51.535Z] [mounts] No existing writable directory cache 'lint-pre-commit-checkout-mozilla-releng-scriptworker-scripts-v1' - creating /home/generic-worker/caches/d_5qNRK1RTGno5-b1lBlOA
[taskcluster 2026-05-29T17:23:51.535Z] [mounts] Creating directory /home/task_178007512615752/cache2
[taskcluster 2026-05-29T17:23:51.545Z] [mounts] Successfully mounted writable directory cache '/home/task_178007512615752/cache2'
[taskcluster 2026-05-29T17:23:51.545Z] [d2g] Loading docker image
[taskcluster 2026-05-29T17:23:51.663Z] [d2g] Loaded docker image "docker.io/mozillareleases/taskgraph:run-task-v20.0.0@sha256:a905d5e14a97f0d313319b6bec4e5d670cf4505747e0cbaf360226046c1d4511"
[taskcluster 2026-05-29T17:23:51.663Z] Executing command 0: docker run -t --name taskcontainer_BBTuFkrZRTamojGnsxlP-Q --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' -v '/home/task_178007512615752/cache0:/builds/worker/.cache/uv' -v '/home/task_178007512615752/cache1:/builds/worker/.cache/pre-commit' -v /home/task_178007512615752/cache2:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 'mozillareleases/taskgraph:run-task-v20.0.0@sha256:a905d5e14a97f0d313319b6bec4e5d670cf4505747e0cbaf360226046c1d4511' run-task --src-checkout=/builds/worker/checkouts/src --task-cwd=/builds/worker/checkouts/src -- bash -c 'uv tool install pre-commit && /builds/worker/.local/bin/pre-commit run --all-files'
[setup 2026-05-29T17:23:51.864+00:00] run-task started in /
[setup 2026-05-29T17:23:51.864+00:00] Invoked by command: --src-checkout=/builds/worker/checkouts/src --task-cwd=/builds/worker/checkouts/src -- bash -c uv tool install pre-commit && /builds/worker/.local/bin/pre-commit run --all-files
[setup 2026-05-29T17:23:51.864+00:00] Python version: 3.11.2
[setup 2026-05-29T17:23:51.864+00:00] Subprocess python version:
cpython-3.11.2-linux-x86_64-gnu /usr/bin/python3.11
cpython-3.11.2-linux-x86_64-gnu /usr/bin/python3 -> python3.11
[cache 2026-05-29T17:23:51.941+00:00] cache /builds/worker/.cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2026-05-29T17:23:51.942+00:00] cache /builds/worker/.cache/pre-commit exists; requirements: gid=1000 uid=1000 version=1
[cache 2026-05-29T17:23:51.942+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[setup 2026-05-29T17:23:51.942+00:00] running as worker:worker
[vcs 2026-05-29T17:23:51.942+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2026-05-29T17:23:51.944+00:00] executing ['git', 'clone', 'https://github.com/ahal/scriptworker-scripts', '/builds/worker/checkouts/src']
[vcs 2026-05-29T17:23:51.945+00:00] Cloning into '/builds/worker/checkouts/src'...
[vcs 2026-05-29T17:23:57.353+00:00] executing ['git', 'fetch', 'https://github.com/ahal/scriptworker-scripts', 'ahal/mkpnuzrzkkqm']
[vcs 2026-05-29T17:23:57.563+00:00] From https://github.com/ahal/scriptworker-scripts
[vcs 2026-05-29T17:23:57.563+00:00] * branch ahal/mkpnuzrzkkqm -> FETCH_HEAD
[vcs 2026-05-29T17:23:57.568+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/mkpnuzrzkkqm', '32ab233cb0277e2cd3f7a831816a45632d26b517']
[vcs 2026-05-29T17:23:58.416+00:00] Switched to a new branch 'ahal/mkpnuzrzkkqm'
[vcs 2026-05-29T17:23:58.417+00:00] cleaning git checkout...
[vcs 2026-05-29T17:23:58.417+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-05-29T17:23:58.428+00:00] removing []
[vcs 2026-05-29T17:23:58.428+00:00] successfully cleaned git checkout!
[vcs 2026-05-29T17:23:58.430+00:00] TinderboxPrint:<a href='https://github.com/ahal/scriptworker-scripts/commit/32ab233cb0277e2cd3f7a831816a45632d26b517' title='Built from scriptworker-scripts commit 32ab233cb0277e2cd3f7a831816a45632d26b517'>32ab233cb0277e2cd3f7a831816a45632d26b517</a>
[setup 2026-05-29T17:23:58.430+00:00] UV_CACHE_DIR is /builds/worker/.cache/uv
[task 2026-05-29T17:23:58.430+00:00] executing ['bash', '-c', 'uv tool install pre-commit && /builds/worker/.local/bin/pre-commit run --all-files']
[task 2026-05-29T17:23:58.442+00:00] Resolved 10 packages in 3ms
[task 2026-05-29T17:23:58.445+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-05-29T17:23:58.445+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-05-29T17:23:58.445+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2026-05-29T17:23:58.460+00:00] Installed 10 packages in 15ms
[task 2026-05-29T17:23:58.460+00:00] + cfgv==3.5.0
[task 2026-05-29T17:23:58.460+00:00] + distlib==0.4.0
[task 2026-05-29T17:23:58.460+00:00] + filelock==3.29.0
[task 2026-05-29T17:23:58.460+00:00] + identify==2.6.19
[task 2026-05-29T17:23:58.460+00:00] + nodeenv==1.10.0
[task 2026-05-29T17:23:58.460+00:00] + platformdirs==4.10.0
[task 2026-05-29T17:23:58.460+00:00] + pre-commit==4.6.0
[task 2026-05-29T17:23:58.460+00:00] + python-discovery==1.4.0
[task 2026-05-29T17:23:58.460+00:00] + pyyaml==6.0.3
[task 2026-05-29T17:23:58.460+00:00] + virtualenv==21.4.1
[task 2026-05-29T17:23:58.461+00:00] Installed 1 executable: pre-commit
[task 2026-05-29T17:23:58.461+00:00] warning: `/builds/worker/.local/bin` is not on your PATH. To use installed tools, run `export PATH="/builds/worker/.local/bin:$PATH"` or `uv tool update-shell`.
[task 2026-05-29T17:23:58.756+00:00] trim trailing whitespace.................................................Passed
[task 2026-05-29T17:23:58.829+00:00] check for added large files..............................................Passed
[task 2026-05-29T17:23:58.882+00:00] ruff (legacy alias)......................................................Passed
[task 2026-05-29T17:23:58.936+00:00] ruff format..............................................................Passed
[taskcluster 2026-05-29T17:24:00.144Z] Exit Code: 0
[taskcluster 2026-05-29T17:24:00.144Z] User Time: 12.046ms
[taskcluster 2026-05-29T17:24:00.144Z] Kernel Time: 13.652ms
[taskcluster 2026-05-29T17:24:00.144Z] Wall Time: 8.480978681s
[taskcluster 2026-05-29T17:24:00.144Z] Average Available System Memory: 14.79 GiB
[taskcluster 2026-05-29T17:24:00.144Z] Average System Memory Used: 839.55 MiB
[taskcluster 2026-05-29T17:24:00.144Z] Peak System Memory Used: 901.87 MiB
[taskcluster 2026-05-29T17:24:00.144Z] Total System Memory: 15.61 GiB
[taskcluster 2026-05-29T17:24:00.144Z] Result: SUCCEEDED
[taskcluster 2026-05-29T17:24:00.145Z] === Task Finished ===
[taskcluster 2026-05-29T17:24:00.145Z] Task Duration: 8.481455841s
[taskcluster 2026-05-29T17:24:00.178Z] [mounts] Preserving cache: Moving "/home/task_178007512615752/cache0" to "/home/generic-worker/caches/V9K-MdGkSgWeuEsGkyEjHQ"
[taskcluster 2026-05-29T17:24:00.178Z] [mounts] Preserving cache: Moving "/home/task_178007512615752/cache1" to "/home/generic-worker/caches/WrhjpZ76SNubSvgrkoQqvg"
[taskcluster 2026-05-29T17:24:00.178Z] [mounts] Preserving cache: Moving "/home/task_178007512615752/cache2" to "/home/generic-worker/caches/d_5qNRK1RTGno5-b1lBlOA"
Loading