Skip to content

Fix uv-sync pre-commit

24555b8
Select commit
Loading
Failed to load commit list.
Merged

Run pre-commit in a github action #677

Fix uv-sync pre-commit
24555b8
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / check-type succeeded Apr 10, 2025 in 56s

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: 2025-04-10T15:10:53.728Z
Resolved: 2025-04-10T15:11:09.668Z
Task Execution Time: 15 seconds, 940 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2025-04-10 15:10:53.771Z] Task ID: R-VOwGdESzmFoP1xzKOv9A
[taskcluster 2025-04-10 15:10:53.772Z] Worker ID: 4882786929946026893
[taskcluster 2025-04-10 15:10:53.772Z] Worker Group: us-west1-b
[taskcluster 2025-04-10 15:10:53.772Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-04-10 15:10:53.772Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-04-10 15:10:53.772Z] Worker Version: 38.0.5
[taskcluster 2025-04-10 15:10:53.772Z] Public IP: 35.233.174.139
[taskcluster 2025-04-10 15:10:53.772Z] Hostname: taskgraph-t-linux-gcp-af1gyxwcrhei-ojnxd69rw
[taskcluster 2025-04-10 15:10:53.772Z] using cache "taskgraph-level-1-uv-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-04-10 15:10:53.772Z] using cache "taskgraph-level-1-checkouts-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/checkouts

[taskcluster 2025-04-10 15:10:54.232Z] Image 'public/image.tar.zst' from task 'DioawIE5Qsm1jWS15x-kdA' loaded.  Using image ID sha256:3bdbeef87bc568b141c346f85993bafb9d8fbfdfce1b6ee9652e0ba75764a5e2.
[taskcluster 2025-04-10 15:10:54.248Z] === Task Starting ===
[setup 2025-04-10T15:10:54.531+00:00] run-task started in /
[setup 2025-04-10T15:10:54.531+00:00] Invoked by command: --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run pyright
[setup 2025-04-10T15:10:54.531+00:00] Python version: 3.11.2
[cache 2025-04-10T15:10:54.533+00:00] cache /builds/worker/.task-cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2025-04-10T15:10:54.533+00:00] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-04-10T15:10:54.533+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-04-10T15:10:54.533+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-04-10T15:10:54.533+00:00] running as worker:worker
[vcs 2025-04-10T15:10:54.533+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-04-10T15:10:54.535+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/Eijebong/taskgraph', 'pre-commit-gha']
[vcs 2025-04-10T15:10:54.813+00:00] From https://github.com/Eijebong/taskgraph
[vcs 2025-04-10T15:10:54.813+00:00]  * branch              pre-commit-gha -> FETCH_HEAD
[vcs 2025-04-10T15:10:54.818+00:00] executing ['git', 'checkout', '-f', '-B', 'pre-commit-gha', '24555b8502d96e076eb9050eec98a03c1e982e76']
[vcs 2025-04-10T15:10:54.822+00:00] Reset branch 'pre-commit-gha'
[vcs 2025-04-10T15:10:54.823+00:00] cleaning git checkout...
[vcs 2025-04-10T15:10:54.823+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-04-10T15:10:54.882+00:00] removing ['/builds/worker/checkouts/vcs/.pytest_cache/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/artifacts/', '/builds/worker/checkouts/vcs/src/taskgraph/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/actions/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/loader/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/optimize/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/run-task/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/util/__pycache__/', '/builds/worker/checkouts/vcs/test/__pycache__/', '/builds/worker/checkouts/vcs/test/data/taskcluster/test_taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/test/data/testmod/__pycache__/']
[vcs 2025-04-10T15:10:55.087+00:00] successfully cleaned git checkout!
[vcs 2025-04-10T15:10:55.089+00:00] TinderboxPrint:<a href='https://github.com/Eijebong/taskgraph/commit/24555b8502d96e076eb9050eec98a03c1e982e76' title='Built from taskgraph commit 24555b8502d96e076eb9050eec98a03c1e982e76'>24555b8502d96e076eb9050eec98a03c1e982e76</a>
[task 2025-04-10T15:10:55.089+00:00] executing ['bash', '-cx', 'uv run pyright']
[task 2025-04-10T15:10:55.090+00:00] + uv run pyright
[task 2025-04-10T15:10:55.097+00:00] Using CPython 3.13.2
[task 2025-04-10T15:10:55.097+00:00] Creating virtual environment at: .venv
[task 2025-04-10T15:10:55.110+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-04-10T15:10:55.110+00:00]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-04-10T15:10:55.110+00:00]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-04-10T15:10:55.211+00:00] Installed 74 packages in 101ms
[task 2025-04-10T15:10:58.519+00:00]  * Install prebuilt node (23.11.0) ../builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/nodeenv.py:639: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
[task 2025-04-10T15:10:58.519+00:00]   archive.extractall(src_dir, extract_list)
[task 2025-04-10T15:11:01.332+00:00] ... done.
[task 2025-04-10T15:11:03.607+00:00] 
[task 2025-04-10T15:11:03.607+00:00] added 1 package, and audited 2 packages in 2s
[task 2025-04-10T15:11:03.608+00:00] 
[task 2025-04-10T15:11:03.608+00:00] found 0 vulnerabilities
[task 2025-04-10T15:11:07.535+00:00] 0 errors, 0 warnings, 0 informations 
[task 2025-04-10T15:11:07.554+00:00] WARNING: there is a new pyright version available (v1.1.379 -> v1.1.399).
[task 2025-04-10T15:11:07.554+00:00] Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`
[task 2025-04-10T15:11:07.554+00:00] 
[taskcluster 2025-04-10 15:11:09.206Z] === Task Finished ===
[taskcluster 2025-04-10 15:11:09.206Z] Successful task run with exit code: 0 completed in 15.435 seconds