ci: use shared pre-commit hook #167
Merged
firefoxci-taskcluster / pre-commit-v1
succeeded
May 29, 2026 in 19s
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:10:22.466Z
Resolved: 2026-05-29T17:10:41.077Z
Task Execution Time: 18 seconds, 611 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: ZOx7cBTnRNuJaiXtw-1TXg
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-05-29T17:10:22.532Z] Worker Type (mozilla-t/pre-commit) settings:
[taskcluster 2026-05-29T17:10:22.532Z] {
[taskcluster 2026-05-29T17:10:22.532Z] "generic-worker": {
[taskcluster 2026-05-29T17:10:22.532Z] "config": {
[taskcluster 2026-05-29T17:10:22.532Z] "headlessTasks": true
[taskcluster 2026-05-29T17:10:22.532Z] },
[taskcluster 2026-05-29T17:10:22.532Z] "engine": "multiuser",
[taskcluster 2026-05-29T17:10:22.532Z] "go-arch": "amd64",
[taskcluster 2026-05-29T17:10:22.532Z] "go-os": "linux",
[taskcluster 2026-05-29T17:10:22.532Z] "go-version": "go1.26.2",
[taskcluster 2026-05-29T17:10:22.532Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-05-29T17:10:22.532Z] "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-05-29T17:10:22.532Z] "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-05-29T17:10:22.532Z] "version": "99.2.1"
[taskcluster 2026-05-29T17:10:22.532Z] },
[taskcluster 2026-05-29T17:10:22.532Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-05-29T17:10:22.532Z] "instance-id": "8900383056049617402",
[taskcluster 2026-05-29T17:10:22.532Z] "instance-type": "projects/887720501152/machineTypes/c3d-standard-4",
[taskcluster 2026-05-29T17:10:22.532Z] "local-ipv4": "10.128.0.179",
[taskcluster 2026-05-29T17:10:22.532Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-05-29T17:10:22.532Z] "public-hostname": "mozilla-t-pre-commit-qythrhfeskqjmde2polfzg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-05-29T17:10:22.532Z] "public-ipv4": "34.55.97.130",
[taskcluster 2026-05-29T17:10:22.532Z] "region": "us-central1",
[taskcluster 2026-05-29T17:10:22.532Z] "zone": "us-central1-b"
[taskcluster 2026-05-29T17:10:22.532Z] }
[taskcluster 2026-05-29T17:10:22.533Z] Task ID: ZOx7cBTnRNuJaiXtw-1TXg
[taskcluster 2026-05-29T17:10:22.533Z] === Task Starting ===
[taskcluster 2026-05-29T17:10:23.429Z] [mounts] Moving existing writable directory cache lint-pre-commit-uv-v1 from /home/generic-worker/caches/V9K-MdGkSgWeuEsGkyEjHQ to /home/task_178007431708813/cache0
[taskcluster 2026-05-29T17:10:23.429Z] [mounts] Creating directory /home/task_178007431708813
[taskcluster 2026-05-29T17:10:23.439Z] [mounts] Successfully mounted writable directory cache '/home/task_178007431708813/cache0'
[taskcluster 2026-05-29T17:10:23.439Z] [mounts] Moving existing writable directory cache lint-pre-commit-repos-v1 from /home/generic-worker/caches/WrhjpZ76SNubSvgrkoQqvg to /home/task_178007431708813/cache1
[taskcluster 2026-05-29T17:10:23.439Z] [mounts] Creating directory /home/task_178007431708813
[taskcluster 2026-05-29T17:10:23.449Z] [mounts] Successfully mounted writable directory cache '/home/task_178007431708813/cache1'
[taskcluster 2026-05-29T17:10:23.449Z] [mounts] No existing writable directory cache 'lint-pre-commit-checkout-mozilla-releng-simple-github-v1' - creating /home/generic-worker/caches/KuyNM_9VQYGKPHybPVYUqQ
[taskcluster 2026-05-29T17:10:23.449Z] [mounts] Creating directory /home/task_178007431708813/cache2
[taskcluster 2026-05-29T17:10:23.458Z] [mounts] Successfully mounted writable directory cache '/home/task_178007431708813/cache2'
[taskcluster 2026-05-29T17:10:23.458Z] [d2g] Loading docker image
[taskcluster 2026-05-29T17:10:23.578Z] [d2g] Loaded docker image "docker.io/mozillareleases/taskgraph:run-task-v20.0.0@sha256:a905d5e14a97f0d313319b6bec4e5d670cf4505747e0cbaf360226046c1d4511"
[taskcluster 2026-05-29T17:10:23.579Z] Executing command 0: docker run -t --name taskcontainer_X3BPKy0NR1ie1iFjTIicuA --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' -v '/home/task_178007431708813/cache0:/builds/worker/.cache/uv' -v '/home/task_178007431708813/cache1:/builds/worker/.cache/pre-commit' -v /home/task_178007431708813/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:10:23.776+00:00] run-task started in /
[setup 2026-05-29T17:10:23.776+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:10:23.776+00:00] Python version: 3.11.2
[setup 2026-05-29T17:10:23.776+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:10:23.854+00:00] cache /builds/worker/.cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2026-05-29T17:10:23.854+00:00] cache /builds/worker/.cache/pre-commit exists; requirements: gid=1000 uid=1000 version=1
[cache 2026-05-29T17:10:23.854+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[setup 2026-05-29T17:10:23.855+00:00] running as worker:worker
[vcs 2026-05-29T17:10:23.855+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2026-05-29T17:10:23.856+00:00] executing ['git', 'clone', 'https://github.com/ahal/simple-github', '/builds/worker/checkouts/src']
[vcs 2026-05-29T17:10:23.858+00:00] Cloning into '/builds/worker/checkouts/src'...
[vcs 2026-05-29T17:10:24.598+00:00] executing ['git', 'fetch', 'https://github.com/ahal/simple-github', 'ahal/push-pzzpqylswrtx']
[vcs 2026-05-29T17:10:24.786+00:00] From https://github.com/ahal/simple-github
[vcs 2026-05-29T17:10:24.787+00:00] * branch ahal/push-pzzpqylswrtx -> FETCH_HEAD
[vcs 2026-05-29T17:10:24.791+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/push-pzzpqylswrtx', 'fdbc2fa1b87bbb002f92cf98af3f81c8a8dfcc50']
[vcs 2026-05-29T17:10:24.799+00:00] Switched to a new branch 'ahal/push-pzzpqylswrtx'
[vcs 2026-05-29T17:10:24.799+00:00] cleaning git checkout...
[vcs 2026-05-29T17:10:24.799+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-05-29T17:10:24.801+00:00] removing []
[vcs 2026-05-29T17:10:24.801+00:00] successfully cleaned git checkout!
[vcs 2026-05-29T17:10:24.803+00:00] TinderboxPrint:<a href='https://github.com/ahal/simple-github/commit/fdbc2fa1b87bbb002f92cf98af3f81c8a8dfcc50' title='Built from simple-github commit fdbc2fa1b87bbb002f92cf98af3f81c8a8dfcc50'>fdbc2fa1b87bbb002f92cf98af3f81c8a8dfcc50</a>
[setup 2026-05-29T17:10:24.803+00:00] UV_CACHE_DIR is /builds/worker/.cache/uv
[task 2026-05-29T17:10:24.803+00:00] executing ['bash', '-c', 'uv tool install pre-commit && /builds/worker/.local/bin/pre-commit run --all-files']
[task 2026-05-29T17:10:24.815+00:00] Resolved 10 packages in 3ms
[task 2026-05-29T17:10:24.820+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-05-29T17:10:24.820+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-05-29T17:10:24.820+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:10:24.832+00:00] Installed 10 packages in 15ms
[task 2026-05-29T17:10:24.832+00:00] + cfgv==3.5.0
[task 2026-05-29T17:10:24.832+00:00] + distlib==0.4.0
[task 2026-05-29T17:10:24.832+00:00] + filelock==3.29.0
[task 2026-05-29T17:10:24.832+00:00] + identify==2.6.19
[task 2026-05-29T17:10:24.832+00:00] + nodeenv==1.10.0
[task 2026-05-29T17:10:24.833+00:00] + platformdirs==4.10.0
[task 2026-05-29T17:10:24.833+00:00] + pre-commit==4.6.0
[task 2026-05-29T17:10:24.833+00:00] + python-discovery==1.4.0
[task 2026-05-29T17:10:24.833+00:00] + pyyaml==6.0.3
[task 2026-05-29T17:10:24.833+00:00] + virtualenv==21.4.1
[task 2026-05-29T17:10:24.833+00:00] Installed 1 executable: pre-commit
[task 2026-05-29T17:10:24.834+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:10:24.996+00:00] [INFO] Initializing environment for https://github.com/rstcheck/rstcheck.
[task 2026-05-29T17:10:25.558+00:00] [INFO] Initializing environment for https://github.com/rstcheck/rstcheck:tomli.
[task 2026-05-29T17:10:26.115+00:00] [INFO] Initializing environment for https://github.com/codespell-project/codespell:tomli.
[task 2026-05-29T17:10:26.660+00:00] [INFO] Initializing environment for https://github.com/psf/black-pre-commit-mirror.
[task 2026-05-29T17:10:27.027+00:00] [INFO] Installing environment for https://github.com/rstcheck/rstcheck.
[task 2026-05-29T17:10:27.027+00:00] [INFO] Once installed this environment will be reused.
[task 2026-05-29T17:10:27.027+00:00] [INFO] This may take a few minutes...
[task 2026-05-29T17:10:32.525+00:00] [INFO] Installing environment for https://github.com/codespell-project/codespell.
[task 2026-05-29T17:10:32.525+00:00] [INFO] Once installed this environment will be reused.
[task 2026-05-29T17:10:32.525+00:00] [INFO] This may take a few minutes...
[task 2026-05-29T17:10:35.615+00:00] [INFO] Installing environment for https://github.com/psf/black-pre-commit-mirror.
[task 2026-05-29T17:10:35.615+00:00] [INFO] Once installed this environment will be reused.
[task 2026-05-29T17:10:35.615+00:00] [INFO] This may take a few minutes...
[task 2026-05-29T17:10:38.985+00:00] trim trailing whitespace.................................................Passed
[task 2026-05-29T17:10:39.021+00:00] fix end of files.........................................................Passed
[task 2026-05-29T17:10:39.101+00:00] check yaml...............................................................Passed
[task 2026-05-29T17:10:39.146+00:00] check for added large files..............................................Passed
[task 2026-05-29T17:10:39.301+00:00] codespell................................................................Passed
[task 2026-05-29T17:10:39.409+00:00] yamllint.................................................................Passed
[task 2026-05-29T17:10:39.409+00:00] rstcheck.............................................(no files to check)Skipped
[task 2026-05-29T17:10:39.562+00:00] codespell................................................................Passed
[task 2026-05-29T17:10:39.766+00:00] black....................................................................Passed
[task 2026-05-29T17:10:39.778+00:00] ruff (legacy alias)......................................................Passed
[taskcluster 2026-05-29T17:10:40.568Z] Exit Code: 0
[taskcluster 2026-05-29T17:10:40.568Z] User Time: 10.189ms
[taskcluster 2026-05-29T17:10:40.568Z] Kernel Time: 14.01ms
[taskcluster 2026-05-29T17:10:40.568Z] Wall Time: 16.989261322s
[taskcluster 2026-05-29T17:10:40.568Z] Average Available System Memory: 14.84 GiB
[taskcluster 2026-05-29T17:10:40.568Z] Average System Memory Used: 794.87 MiB
[taskcluster 2026-05-29T17:10:40.568Z] Peak System Memory Used: 866.26 MiB
[taskcluster 2026-05-29T17:10:40.568Z] Total System Memory: 15.61 GiB
[taskcluster 2026-05-29T17:10:40.568Z] Result: SUCCEEDED
[taskcluster 2026-05-29T17:10:40.568Z] === Task Finished ===
[taskcluster 2026-05-29T17:10:40.568Z] Task Duration: 16.989662802s
[taskcluster 2026-05-29T17:10:40.606Z] [mounts] Preserving cache: Moving "/home/task_178007431708813/cache0" to "/home/generic-worker/caches/V9K-MdGkSgWeuEsGkyEjHQ"
[taskcluster 2026-05-29T17:10:40.606Z] [mounts] Preserving cache: Moving "/home/task_178007431708813/cache1" to "/home/generic-worker/caches/WrhjpZ76SNubSvgrkoQqvg"
[taskcluster 2026-05-29T17:10:40.606Z] [mounts] Preserving cache: Moving "/home/task_178007431708813/cache2" to "/home/generic-worker/caches/KuyNM_9VQYGKPHybPVYUqQ"
Loading