wip move security headers from flask_talisman to an asgi middleware#1810
Draft
jcristau wants to merge 1 commit into
Draft
wip move security headers from flask_talisman to an asgi middleware#1810jcristau wants to merge 1 commit into
jcristau wants to merge 1 commit into
firefoxci-taskcluster / tests-frontend-node-20
succeeded
Nov 12, 2025 in 4m 15s
FirefoxCI (pull_request)
frontend-node node20
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-11-12T15:33:50.391Z
Resolved: 2025-11-12T15:35:52.809Z
Task Execution Time: 2 minutes, 2 seconds, 418 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-11-12T15:33:50.431Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2025-11-12T15:33:50.431Z] {
[taskcluster 2025-11-12T15:33:50.431Z] "config": {
[taskcluster 2025-11-12T15:33:50.431Z] "deploymentId": ""
[taskcluster 2025-11-12T15:33:50.431Z] },
[taskcluster 2025-11-12T15:33:50.431Z] "generic-worker": {
[taskcluster 2025-11-12T15:33:50.431Z] "config": {
[taskcluster 2025-11-12T15:33:50.431Z] "headlessTasks": true
[taskcluster 2025-11-12T15:33:50.431Z] },
[taskcluster 2025-11-12T15:33:50.431Z] "engine": "multiuser",
[taskcluster 2025-11-12T15:33:50.431Z] "go-arch": "amd64",
[taskcluster 2025-11-12T15:33:50.431Z] "go-os": "linux",
[taskcluster 2025-11-12T15:33:50.431Z] "go-version": "go1.25.2",
[taskcluster 2025-11-12T15:33:50.431Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v90.0.5",
[taskcluster 2025-11-12T15:33:50.431Z] "revision": "6c7a9f0a038ef0f1f5603bf5e3a400ad7417116e",
[taskcluster 2025-11-12T15:33:50.431Z] "source": "https://github.com/taskcluster/taskcluster/commits/6c7a9f0a038ef0f1f5603bf5e3a400ad7417116e",
[taskcluster 2025-11-12T15:33:50.431Z] "version": "90.0.5"
[taskcluster 2025-11-12T15:33:50.431Z] },
[taskcluster 2025-11-12T15:33:50.431Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2025-10-13",
[taskcluster 2025-11-12T15:33:50.431Z] "instance-id": "1738863984414103143",
[taskcluster 2025-11-12T15:33:50.431Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2025-11-12T15:33:50.431Z] "local-ipv4": "10.138.0.155",
[taskcluster 2025-11-12T15:33:50.431Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2025-11-12T15:33:50.431Z] "public-hostname": "releng-t-linux-docker-nsywsqa6sviggoklmkycnw.c.fxci-production-level1-workers.internal",
[taskcluster 2025-11-12T15:33:50.431Z] "public-ipv4": "35.230.44.239",
[taskcluster 2025-11-12T15:33:50.431Z] "region": "us-west1",
[taskcluster 2025-11-12T15:33:50.431Z] "zone": "us-west1-a"
[taskcluster 2025-11-12T15:33:50.431Z] }
[taskcluster 2025-11-12T15:33:50.431Z] Task ID: GCcZcwNeSpqiumQSr0f_jg
[taskcluster 2025-11-12T15:33:50.431Z] === Task Starting ===
[taskcluster 2025-11-12T15:33:50.790Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-west1-a.1738863984414103143.60099/log/QVcIe40ZRWeqCj06CkTHjA with mime type "text/plain; charset=utf-8" and expiry 2025-11-12T16:18:50.698Z
[taskcluster 2025-11-12T15:33:51.864Z] [mounts] No existing writable directory cache 'releng-level-1-npm-v3-581ca6876fac84fa2dd8-OiJ4GKOIRAeytbawp4qW9Q' - creating /home/generic-worker/caches/FG404UnGQIe9_GVBpj6k3A
[taskcluster 2025-11-12T15:33:51.864Z] [mounts] Creating directory /home/task_176296162998171/cache0
[taskcluster 2025-11-12T15:33:51.874Z] [mounts] Updating ownership of files inside directory '/home/task_176296162998171/cache0' from root to task_176296162998171
[taskcluster 2025-11-12T15:33:51.876Z] [mounts] Successfully mounted writable directory cache '/home/task_176296162998171/cache0'
[taskcluster 2025-11-12T15:33:51.876Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-581ca6876fac84fa2dd8-OiJ4GKOIRAeytbawp4qW9Q' - creating /home/generic-worker/caches/K7kkNu9eTH6cbsdVNQvpqw
[taskcluster 2025-11-12T15:33:51.876Z] [mounts] Creating directory /home/task_176296162998171/cache1
[taskcluster 2025-11-12T15:33:51.887Z] [mounts] Updating ownership of files inside directory '/home/task_176296162998171/cache1' from root to task_176296162998171
[taskcluster 2025-11-12T15:33:51.888Z] [mounts] Successfully mounted writable directory cache '/home/task_176296162998171/cache1'
[taskcluster 2025-11-12T15:33:51.888Z] [mounts] Downloading task OiJ4GKOIRAeytbawp4qW9Q artifact public/image.tar.zst to /home/generic-worker/downloads/TB36XZfzSSyTLZv1cR6taw
[taskcluster 2025-11-12T15:34:00.789Z] [mounts] Downloaded 332386812 bytes with SHA256 37d23ad26f6f4c7eb33af9e64b6e54f776e4c45dc52874b4ed2240939ec79ccc from task OiJ4GKOIRAeytbawp4qW9Q artifact public/image.tar.zst to /home/generic-worker/downloads/TB36XZfzSSyTLZv1cR6taw
[taskcluster:warn 2025-11-12T15:34:00.789Z] [mounts] Download /home/generic-worker/downloads/TB36XZfzSSyTLZv1cR6taw of task OiJ4GKOIRAeytbawp4qW9Q artifact public/image.tar.zst has SHA256 37d23ad26f6f4c7eb33af9e64b6e54f776e4c45dc52874b4ed2240939ec79ccc but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2025-11-12T15:34:00.789Z] [mounts] Creating directory /home/task_176296162998171
[taskcluster 2025-11-12T15:34:00.811Z] [mounts] Copying /home/generic-worker/downloads/TB36XZfzSSyTLZv1cR6taw to /home/task_176296162998171/dockerimage
[taskcluster 2025-11-12T15:34:01.859Z] [mounts] Granting task_176296162998171 full control of file '/home/task_176296162998171/dockerimage'
[taskcluster 2025-11-12T15:34:02.683Z] [d2g] Loading docker image
[taskcluster 2025-11-12T15:34:20.993Z] [d2g] Loaded docker image "node20:latest"
[taskcluster 2025-11-12T15:34:20.994Z] Executing command 0: docker run -t --name taskcontainer_fovBkvNCSKSPvH3e7FkfwQ --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v '/home/task_176296162998171/cache0:/builds/worker/.task-cache/npm' -v /home/task_176296162998171/cache1:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 0b1010e72357e32f7f1964a726b1c1832f97e0dc96ceff3389f1ee7aa012beed /usr/local/bin/run-task --shipit-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce 'cd frontend && yarn install && yarn lint:ci && yarn test --passWithNoTests && yarn build'
[setup 2025-11-12T15:34:24.076+00:00] run-task started in /
[setup 2025-11-12T15:34:24.077+00:00] Invoked by command: --shipit-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce cd frontend && yarn install && yarn lint:ci && yarn test --passWithNoTests && yarn build
[setup 2025-11-12T15:34:24.077+00:00] Python version: 3.11.2
[cache 2025-11-12T15:34:24.078+00:00] cache /builds/worker/.task-cache/npm is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2025-11-12T15:34:24.079+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2025-11-12T15:34:24.079+00:00] volume /builds/worker/.task-cache/npm is a cache
[volume 2025-11-12T15:34:24.079+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-11-12T15:34:24.079+00:00] running as worker:worker
[vcs 2025-11-12T15:34:24.079+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-11-12T15:34:24.081+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/shipit', '/builds/worker/checkouts/vcs']
[vcs 2025-11-12T15:34:24.083+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2025-11-12T15:34:24.974+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/jcristau/shipit', 'security-headers']
[vcs 2025-11-12T15:34:25.360+00:00] From https://github.com/jcristau/shipit
[vcs 2025-11-12T15:34:25.360+00:00] * branch security-headers -> FETCH_HEAD
[vcs 2025-11-12T15:34:25.362+00:00] executing ['git', 'checkout', '-f', '-B', 'security-headers', 'b1344d4bcb35898c45ec1a9d66029b0c5aa3dccf']
[vcs 2025-11-12T15:34:25.376+00:00] Switched to a new branch 'security-headers'
[vcs 2025-11-12T15:34:25.377+00:00] cleaning git checkout...
[vcs 2025-11-12T15:34:25.377+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-11-12T15:34:25.379+00:00] removing []
[vcs 2025-11-12T15:34:25.379+00:00] successfully cleaned git checkout!
[vcs 2025-11-12T15:34:25.381+00:00] TinderboxPrint:<a href='https://github.com/jcristau/shipit/commit/b1344d4bcb35898c45ec1a9d66029b0c5aa3dccf' title='Built from shipit commit b1344d4bcb35898c45ec1a9d66029b0c5aa3dccf'>b1344d4bcb35898c45ec1a9d66029b0c5aa3dccf</a>
[task 2025-11-12T15:34:25.381+00:00] executing ['sh', '-lxce', 'cd frontend && yarn install && yarn lint:ci && yarn test --passWithNoTests && yarn build']
[task 2025-11-12T15:34:25.382+00:00] + id -u
[task 2025-11-12T15:34:25.383+00:00] + [ 1000 -eq 0 ]
[task 2025-11-12T15:34:25.383+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2025-11-12T15:34:25.383+00:00] + export PATH
[task 2025-11-12T15:34:25.383+00:00] + [ $ ]
[task 2025-11-12T15:34:25.383+00:00] + [ ]
[task 2025-11-12T15:34:25.384+00:00] + id -u
[task 2025-11-12T15:34:25.384+00:00] + [ 1000 -eq 0 ]
[task 2025-11-12T15:34:25.384+00:00] + PS1=$
[task 2025-11-12T15:34:25.384+00:00] + [ -d /etc/profile.d ]
[task 2025-11-12T15:34:25.385+00:00] + [ -r /etc/profile.d/*.sh ]
[task 2025-11-12T15:34:25.385+00:00] + unset i
[task 2025-11-12T15:34:25.385+00:00] + cd frontend
[task 2025-11-12T15:34:25.385+00:00] + yarn install
[task 2025-11-12T15:34:25.622+00:00] yarn install v1.22.22
[task 2025-11-12T15:34:25.679+00:00] [1/4] Resolving packages...
[task 2025-11-12T15:34:25.960+00:00] [2/4] Fetching packages...
[task 2025-11-12T15:35:09.686+00:00] [3/4] Linking dependencies...
[task 2025-11-12T15:35:09.693+00:00] warning " > tss-react@4.9.19" has unmet peer dependency "@types/react@^16.8.0 || ^17.0.2 || ^18.0.0 || ^19.0.0".
[task 2025-11-12T15:35:09.694+00:00] warning "@mui/material > @types/react-transition-group@4.4.12" has unmet peer dependency "@types/react@*".
[task 2025-11-12T15:35:09.694+00:00] warning " > @mui/x-date-pickers@8.12.0" has unmet peer dependency "@mui/system@^5.15.14 || ^6.0.0 || ^7.0.0".
[task 2025-11-12T15:35:09.753+00:00] warning Workspaces can only be enabled in private projects.
[task 2025-11-12T15:35:09.766+00:00] warning Workspaces can only be enabled in private projects.
[task 2025-11-12T15:35:30.119+00:00] [4/4] Building fresh packages...
[task 2025-11-12T15:35:30.709+00:00] Done in 65.09s.
[task 2025-11-12T15:35:30.760+00:00] + yarn lint:ci
[task 2025-11-12T15:35:30.928+00:00] yarn run v1.22.22
[task 2025-11-12T15:35:30.952+00:00] $ biome ci
[task 2025-11-12T15:35:31.061+00:00] biome.jsonc:2:14 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[task 2025-11-12T15:35:31.061+00:00]
[task 2025-11-12T15:35:31.061+00:00] ℹ The configuration schema version does not match the CLI version 2.2.4
[task 2025-11-12T15:35:31.061+00:00]
[task 2025-11-12T15:35:31.061+00:00] 1 │ {
[task 2025-11-12T15:35:31.061+00:00] > 2 │ "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
[task 2025-11-12T15:35:31.062+00:00] │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2025-11-12T15:35:31.062+00:00] 3 │ "vcs": {
[task 2025-11-12T15:35:31.062+00:00] 4 │ "enabled": false,
[task 2025-11-12T15:35:31.062+00:00]
[task 2025-11-12T15:35:31.062+00:00] ℹ Expected: 2.2.4
[task 2025-11-12T15:35:31.062+00:00] Found: 2.2.0
[task 2025-11-12T15:35:31.062+00:00]
[task 2025-11-12T15:35:31.062+00:00]
[task 2025-11-12T15:35:31.062+00:00] ℹ Run the command biome migrate to migrate the configuration file.
[task 2025-11-12T15:35:31.062+00:00]
[task 2025-11-12T15:35:31.062+00:00]
[task 2025-11-12T15:35:31.062+00:00] Checked 46 files in 50ms. No fixes applied.
[task 2025-11-12T15:35:31.069+00:00] Done in 0.15s.
[task 2025-11-12T15:35:31.079+00:00] + yarn test --passWithNoTests
[task 2025-11-12T15:35:31.247+00:00] yarn run v1.22.22
[task 2025-11-12T15:35:31.269+00:00] $ jest --passWithNoTests
[task 2025-11-12T15:35:32.651+00:00] PASS test/helpers.test.js
[task 2025-11-12T15:35:32.653+00:00]
[task 2025-11-12T15:35:32.654+00:00] Test Suites: 1 passed, 1 total
[task 2025-11-12T15:35:32.654+00:00] Tests: 3 passed, 3 total
[task 2025-11-12T15:35:32.654+00:00] Snapshots: 0 total
[task 2025-11-12T15:35:32.654+00:00] Time: 0.928 s
[task 2025-11-12T15:35:32.654+00:00] Ran all test suites.
[task 2025-11-12T15:35:32.673+00:00] Done in 1.43s.
[task 2025-11-12T15:35:32.684+00:00] + yarn build
[task 2025-11-12T15:35:32.854+00:00] yarn run v1.22.22
[task 2025-11-12T15:35:32.877+00:00] $ webpack --mode production
[task 2025-11-12T15:35:49.941+00:00] assets by path *.svg 467 KiB
[task 2025-11-12T15:35:49.941+00:00] asset 302ab50941d5caaf7420.svg 42.1 KiB [emitted] [immutable] [from: node_modules/@mozilla-protocol/core/protocol/img/logos/firefox/browser/developer/logo-word-hor-white.svg]
[task 2025-11-12T15:35:49.941+00:00] asset df8fd20d0e822c443070.svg 42.1 KiB [emitted] [immutable] [from: node_modules/@mozilla-protocol/core/protocol/img/logos/firefox/browser/developer/logo-word-hor.svg]
[task 2025-11-12T15:35:49.942+00:00] asset 0151f94080dba33143a0.svg 40 KiB [emitted] [immutable] [from: node_modules/@mozilla-protocol/core/protocol/img/logos/firefox/browser/developer/logo.svg]
[task 2025-11-12T15:35:49.942+00:00] asset 788f4f99a126d909c9d1.svg 33.8 KiB [emitted] [immutable] [from: node_modules/@mozilla-protocol/core/protocol/img/logos/firefox/browser/beta/logo-word-hor.svg]
[task 2025-11-12T15:35:49.942+00:00] + 55 assets
[task 2025-11-12T15:35:49.942+00:00] assets by path assets/ 1.13 MiB
[task 2025-11-12T15:35:49.942+00:00] assets by chunk 1.08 MiB (id hint: vendors)
[task 2025-11-12T15:35:49.942+00:00] assets by status 871 KiB [big] 2 assets
[task 2025-11-12T15:35:49.942+00:00] + 4 assets
[task 2025-11-12T15:35:49.942+00:00] + 5 assets
[task 2025-11-12T15:35:49.942+00:00] asset shipit.png 4.5 KiB [emitted]
[task 2025-11-12T15:35:49.942+00:00] asset index.html 639 bytes [emitted]
[task 2025-11-12T15:35:49.942+00:00]
[task 2025-11-12T15:35:49.942+00:00] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
[task 2025-11-12T15:35:49.942+00:00] This can impact web performance.
[task 2025-11-12T15:35:49.942+00:00] Assets:
[task 2025-11-12T15:35:49.942+00:00] assets/897.1c36f588.js (272 KiB)
[task 2025-11-12T15:35:49.942+00:00] assets/90.1a1e042f.js (600 KiB)
[task 2025-11-12T15:35:49.942+00:00]
[task 2025-11-12T15:35:49.942+00:00] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
[task 2025-11-12T15:35:49.942+00:00] Entrypoints:
[task 2025-11-12T15:35:49.942+00:00] index (742 KiB)
[task 2025-11-12T15:35:49.942+00:00] assets/runtime.1fbf8de2.js
[task 2025-11-12T15:35:49.942+00:00] assets/90.fe7412b8.css
[task 2025-11-12T15:35:49.942+00:00] assets/90.1a1e042f.js
[task 2025-11-12T15:35:49.942+00:00] assets/index.5cc79e5a.js
[task 2025-11-12T15:35:49.942+00:00]
[task 2025-11-12T15:35:49.942+00:00] webpack 5.102.0 compiled with 2 warnings in 16528 ms
[task 2025-11-12T15:35:49.986+00:00] Done in 17.14s.
[taskcluster 2025-11-12T15:35:50.735Z] Exit Code: 0
[taskcluster 2025-11-12T15:35:50.735Z] User Time: 12.296ms
[taskcluster 2025-11-12T15:35:50.735Z] Kernel Time: 18.444ms
[taskcluster 2025-11-12T15:35:50.735Z] Wall Time: 1m29.741766844s
[taskcluster 2025-11-12T15:35:50.735Z] Average Available System Memory: 14.58 GiB
[taskcluster 2025-11-12T15:35:50.735Z] Average System Memory Used: 1.03 GiB
[taskcluster 2025-11-12T15:35:50.735Z] Peak System Memory Used: 1.66 GiB
[taskcluster 2025-11-12T15:35:50.735Z] Total System Memory: 15.62 GiB
[taskcluster 2025-11-12T15:35:50.735Z] Result: SUCCEEDED
[taskcluster 2025-11-12T15:35:50.736Z] === Task Finished ===
[taskcluster 2025-11-12T15:35:50.736Z] Task Duration: 1m29.742396077s
[taskcluster 2025-11-12T15:35:52.393Z] [mounts] Preserving cache: Moving "/home/task_176296162998171/cache0" to "/home/generic-worker/caches/FG404UnGQIe9_GVBpj6k3A"
[taskcluster 2025-11-12T15:35:52.393Z] [mounts] Preserving cache: Moving "/home/task_176296162998171/cache1" to "/home/generic-worker/caches/K7kkNu9eTH6cbsdVNQvpqw"
[taskcluster 2025-11-12T15:35:52.519Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-10T15:31:39.081Z
Loading