From 8fe74a3e871c097b2d9db45765d5e200171b5a4e Mon Sep 17 00:00:00 2001 From: Ossama Hashim Date: Sun, 29 Nov 2026 21:59:52 +0200 Subject: [PATCH 01/63] =?UTF-8?q?chore(perf):=20=D8=B3=D9=8A=D8=B1=20?= =?UTF-8?q?=D8=B9=D9=85=D9=84=20=D9=82=D9=8A=D8=A7=D8=B3=20Lighthouse=20?= =?UTF-8?q?=D8=A7=D9=84=D9=85=D8=A4=D9=82=D8=AA=20=D9=84=D9=81=D8=B1=D8=B9?= =?UTF-8?q?=20=D8=A7=D9=84=D8=AA=D8=AD=D8=B3=D9=8A=D9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lighthouse-perf.yml | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/lighthouse-perf.yml diff --git a/.github/workflows/lighthouse-perf.yml b/.github/workflows/lighthouse-perf.yml new file mode 100644 index 00000000..9861b540 --- /dev/null +++ b/.github/workflows/lighthouse-perf.yml @@ -0,0 +1,60 @@ +name: lighthouse-perf +on: + push: + branches: [feat/perf-web-vitals] +permissions: + contents: write +jobs: + perf: + runs-on: ubuntu-latest + env: + OUT_DIR: lh-out + CHROME_PATH: /usr/bin/google-chrome + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install Lighthouse and robots-parser override + run: | + npm init -y >/dev/null 2>&1 + npm install --no-save lighthouse@12.8.2 robots-parser@3.0.1 >npm-install.log 2>&1 || true + if [ -d node_modules/lighthouse/node_modules/robots-parser ]; then rm -rf node_modules/lighthouse/node_modules/robots-parser; fi + if [ -d node_modules/robots-parser ] && [ -d node_modules/lighthouse ]; then cp -r node_modules/robots-parser node_modules/lighthouse/node_modules/robots-parser; fi + tail -n 3 npm-install.log + - name: Serve site locally + run: | + nohup python3 -m http.server 8765 --bind 127.0.0.1 >/dev/null 2>&1 & + for i in $(seq 1 30); do curl -sf http://127.0.0.1:8765/index.html >/dev/null && break; done + curl -sf -o /dev/null -w "serve-check %{http_code}\n" http://127.0.0.1:8765/ + - name: Run Lighthouse mobile + run: | + set -o pipefail + mkdir -p "$OUT_DIR" + npx lighthouse http://127.0.0.1:8765/ --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage" --output=json --output-path="$OUT_DIR/mobile.json" >lh-mobile.log 2>&1 || echo MOBILE_FAILED + tail -n 5 lh-mobile.log + - name: Run Lighthouse desktop + run: | + set -o pipefail + npx lighthouse http://127.0.0.1:8765/ --preset=desktop --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage" --output=json --output-path="$OUT_DIR/desktop.json" >lh-desktop.log 2>&1 || echo DESKTOP_FAILED + tail -n 5 lh-desktop.log + - name: Extract summaries + run: | + score() { jq -r "(.categories.$2.score // 0) * 100 | round" "$1"; } + for side in mobile desktop; do + f="$OUT_DIR/$side.json" + [ -f "$f" ] || continue + jq -c "{performance:(.categories.performance.score//0)*100|round,accessibility:(.categories.accessibility.score//0)*100|round,bestPractices:(.categories.\"best-practices\".score//0)*100|round,fcp:.audits[\"first-contentful-paint\"].displayValue,lcp:.audits[\"largest-contentful-paint\"].displayValue,tbt:.audits[\"total-blocking-time\"].displayValue,cls:.audits[\"cumulative-layout-shift\"].numericValue,si:.audits[\"speed-index\"].displayValue}" "$f" > "$OUT_DIR/$side-summary.json" || true + done + if [ -f "$OUT_DIR/mobile.json" ]; then + jq -c "{cls:.audits[\"cumulative-layout-shift\"].numericValue,items:[.audits[\"layout-shifts\"].details.items[]? | {score,srcs:[.subItems.items[]? | (.node.selector // .node.snippet // \"?\")] | .[0:6]}]}" "$OUT_DIR/mobile.json" | head -c 40000 > "$OUT_DIR/cls-mobile.json" || true + jq -c "{tasks:[.audits[\"long-tasks\"].details.items[]? | {url,duration}][0:14]}" "$OUT_DIR/mobile.json" | head -c 20000 > "$OUT_DIR/longtasks-mobile.json" || true + fi + ls -la "$OUT_DIR" + - name: Commit evidence + run: | + git config user.name "Vibe Perf Bot" + git config user.email "actions@users.noreply.github.com" + git add "$OUT_DIR" || true + git commit -m "chore(perf): lighthouse evidence drop" || echo nothing-to-commit + git push From 4eea88a3347f9585e9ec142aa725a6385aba3fb6 Mon Sep 17 00:00:00 2001 From: Ossama Hashim Date: Sun, 29 Nov 2026 22:01:26 +0200 Subject: [PATCH 02/63] =?UTF-8?q?chore(perf):=20=D8=AA=D8=AD=D8=B5=D9=8A?= =?UTF-8?q?=D9=86=20=D8=B3=D9=8A=D8=B1=20=D8=B9=D9=85=D9=84=20=D8=A7=D9=84?= =?UTF-8?q?=D9=82=D9=8A=D8=A7=D8=B3=20=D8=A7=D9=84=D9=85=D8=A4=D9=82=D8=AA?= =?UTF-8?q?=20=D9=88=D8=AA=D9=88=D8=AB=D9=8A=D9=82=20=D8=A3=D8=AE=D8=B7?= =?UTF-8?q?=D8=A7=D8=A6=D9=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lighthouse-perf.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lighthouse-perf.yml b/.github/workflows/lighthouse-perf.yml index 9861b540..bad3a509 100644 --- a/.github/workflows/lighthouse-perf.yml +++ b/.github/workflows/lighthouse-perf.yml @@ -17,44 +17,45 @@ jobs: node-version: 20 - name: Install Lighthouse and robots-parser override run: | - npm init -y >/dev/null 2>&1 - npm install --no-save lighthouse@12.8.2 robots-parser@3.0.1 >npm-install.log 2>&1 || true - if [ -d node_modules/lighthouse/node_modules/robots-parser ]; then rm -rf node_modules/lighthouse/node_modules/robots-parser; fi - if [ -d node_modules/robots-parser ] && [ -d node_modules/lighthouse ]; then cp -r node_modules/robots-parser node_modules/lighthouse/node_modules/robots-parser; fi - tail -n 3 npm-install.log + npm init -y >/dev/null 2>&1 || echo INIT_FAILED > install-status.txt + npm install --no-save --no-audit --no-fund --loglevel=error lighthouse@12.8.2 robots-parser@3.0.1 >npm-install.log 2>&1 || echo INSTALL_FAILED >> install-status.txt + { ./node_modules/.bin/lighthouse --version || echo LIGHTHOUSE_BIN_MISSING; } > lighthouse-version.txt 2>&1 || true + tail -n 15 npm-install.log > install-tail.txt || echo no-install-log > install-tail.txt + rm -rf node_modules/lighthouse/node_modules/robots-parser || true + cp -r node_modules/robots-parser node_modules/lighthouse/node_modules/robots-parser || echo no-override >> install-status.txt - name: Serve site locally run: | nohup python3 -m http.server 8765 --bind 127.0.0.1 >/dev/null 2>&1 & for i in $(seq 1 30); do curl -sf http://127.0.0.1:8765/index.html >/dev/null && break; done - curl -sf -o /dev/null -w "serve-check %{http_code}\n" http://127.0.0.1:8765/ + curl -sf -o /dev/null -w "serve-check %{http_code}\n" http://127.0.0.1:8765/ | tee serve-check.txt - name: Run Lighthouse mobile run: | set -o pipefail mkdir -p "$OUT_DIR" npx lighthouse http://127.0.0.1:8765/ --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage" --output=json --output-path="$OUT_DIR/mobile.json" >lh-mobile.log 2>&1 || echo MOBILE_FAILED - tail -n 5 lh-mobile.log + tail -n 8 lh-mobile.log | tee "$OUT_DIR/mobile-log-tail.txt" || true - name: Run Lighthouse desktop run: | set -o pipefail npx lighthouse http://127.0.0.1:8765/ --preset=desktop --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage" --output=json --output-path="$OUT_DIR/desktop.json" >lh-desktop.log 2>&1 || echo DESKTOP_FAILED - tail -n 5 lh-desktop.log + tail -n 8 lh-desktop.log | tee "$OUT_DIR/desktop-log-tail.txt" || true - name: Extract summaries run: | - score() { jq -r "(.categories.$2.score // 0) * 100 | round" "$1"; } for side in mobile desktop; do f="$OUT_DIR/$side.json" [ -f "$f" ] || continue - jq -c "{performance:(.categories.performance.score//0)*100|round,accessibility:(.categories.accessibility.score//0)*100|round,bestPractices:(.categories.\"best-practices\".score//0)*100|round,fcp:.audits[\"first-contentful-paint\"].displayValue,lcp:.audits[\"largest-contentful-paint\"].displayValue,tbt:.audits[\"total-blocking-time\"].displayValue,cls:.audits[\"cumulative-layout-shift\"].numericValue,si:.audits[\"speed-index\"].displayValue}" "$f" > "$OUT_DIR/$side-summary.json" || true + jq -c "{performance:(.categories.performance.score//0)*100|round,accessibility:(.categories.accessibility.score//0)*100|round,bestPractices:(.categories.\"best-practices\".score//0)*100|round,fcp:.audits[\"first-contentful-paint\"].displayValue,lcp:.audits[\"largest-contentful-paint\"].displayValue,tbt:.audits[\"total-blocking-time\"].displayValue,cls:.audits[\"cumulative-layout-shift\"].numericValue,si:.audits[\"speed-index\"].displayValue}" "$f" > "$OUT_DIR/$side-summary.json" || echo SUMMARY_FAILED > "$OUT_DIR/$side-summary.err" done if [ -f "$OUT_DIR/mobile.json" ]; then jq -c "{cls:.audits[\"cumulative-layout-shift\"].numericValue,items:[.audits[\"layout-shifts\"].details.items[]? | {score,srcs:[.subItems.items[]? | (.node.selector // .node.snippet // \"?\")] | .[0:6]}]}" "$OUT_DIR/mobile.json" | head -c 40000 > "$OUT_DIR/cls-mobile.json" || true jq -c "{tasks:[.audits[\"long-tasks\"].details.items[]? | {url,duration}][0:14]}" "$OUT_DIR/mobile.json" | head -c 20000 > "$OUT_DIR/longtasks-mobile.json" || true fi - ls -la "$OUT_DIR" + ls -la "$OUT_DIR" | tee "$OUT_DIR/listing.txt" - name: Commit evidence + if: always() run: | git config user.name "Vibe Perf Bot" git config user.email "actions@users.noreply.github.com" - git add "$OUT_DIR" || true + git add -A install-status.txt lighthouse-version.txt install-tail.txt serve-check.txt "$OUT_DIR" npm-install.log lh-mobile.log lh-desktop.log || true git commit -m "chore(perf): lighthouse evidence drop" || echo nothing-to-commit - git push + git push || echo push-failed From ef4493af0354549d19274851a1491b79f6c6f5b1 Mon Sep 17 00:00:00 2001 From: Vibe Perf Bot Date: Sun, 29 Nov 2026 20:02:19 +0000 Subject: [PATCH 03/63] chore(perf): lighthouse evidence drop --- install-status.txt | 1 + install-tail.txt | 2 + lh-desktop.log | 352 + lh-mobile.log | 353 + lh-out/cls-mobile.json | 1 + lh-out/desktop-log-tail.txt | 8 + lh-out/desktop-summary.json | 1 + lh-out/desktop.json | 12666 +++++++++++++++++++++++++++++++ lh-out/listing.txt | 12 + lh-out/longtasks-mobile.json | 1 + lh-out/mobile-log-tail.txt | 8 + lh-out/mobile-summary.json | 1 + lh-out/mobile.json | 13400 +++++++++++++++++++++++++++++++++ lighthouse-version.txt | 1 + npm-install.log | 2 + serve-check.txt | 1 + 16 files changed, 26810 insertions(+) create mode 100644 install-status.txt create mode 100644 install-tail.txt create mode 100644 lh-desktop.log create mode 100644 lh-mobile.log create mode 100644 lh-out/cls-mobile.json create mode 100644 lh-out/desktop-log-tail.txt create mode 100644 lh-out/desktop-summary.json create mode 100644 lh-out/desktop.json create mode 100644 lh-out/listing.txt create mode 100644 lh-out/longtasks-mobile.json create mode 100644 lh-out/mobile-log-tail.txt create mode 100644 lh-out/mobile-summary.json create mode 100644 lh-out/mobile.json create mode 100644 lighthouse-version.txt create mode 100644 npm-install.log create mode 100644 serve-check.txt diff --git a/install-status.txt b/install-status.txt new file mode 100644 index 00000000..5d232348 --- /dev/null +++ b/install-status.txt @@ -0,0 +1 @@ +no-override diff --git a/install-tail.txt b/install-tail.txt new file mode 100644 index 00000000..144ec663 --- /dev/null +++ b/install-tail.txt @@ -0,0 +1,2 @@ + +added 201 packages in 8s diff --git a/lh-desktop.log b/lh-desktop.log new file mode 100644 index 00000000..9756deb5 --- /dev/null +++ b/lh-desktop.log @@ -0,0 +1,352 @@ +2026-11-29T20:02:05.853Z LH:ChromeLauncher Waiting for browser. +2026-11-29T20:02:05.853Z LH:ChromeLauncher Waiting for browser... +2026-11-29T20:02:06.355Z LH:ChromeLauncher Waiting for browser..... +2026-11-29T20:02:06.358Z LH:ChromeLauncher Waiting for browser.....✓ +2026-11-29T20:02:06.945Z LH:status Connecting to browser +2026-11-29T20:02:06.952Z LH:status Navigating to about:blank +2026-11-29T20:02:06.972Z LH:status Benchmarking machine +2026-11-29T20:02:07.984Z LH:status Host device pixel ratio +2026-11-29T20:02:07.985Z LH:status Preparing target for navigation mode +2026-11-29T20:02:07.998Z LH:status Cleaning origin data +2026-11-29T20:02:08.031Z LH:status Cleaning browser cache +2026-11-29T20:02:08.037Z LH:status Preparing network conditions +2026-11-29T20:02:08.067Z LH:status Navigating to http://127.0.0.1:8765/ +2026-11-29T20:02:12.180Z LH:status Getting artifact: DevtoolsLog +2026-11-29T20:02:12.180Z LH:status Getting artifact: Trace +2026-11-29T20:02:12.180Z LH:status Getting artifact: Accessibility +2026-11-29T20:02:12.697Z LH:status Getting artifact: AnchorElements +2026-11-29T20:02:12.851Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.853Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.854Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.855Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.857Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.858Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.859Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.861Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.863Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.864Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.866Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.867Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.869Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.870Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.871Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.874Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.875Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.880Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.882Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.883Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.884Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.885Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.887Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.888Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.890Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.891Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.893Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.894Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.896Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.897Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.898Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.899Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.900Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.901Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.902Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.903Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.904Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.905Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.906Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.907Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.907Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.908Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.909Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.910Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.911Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.912Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.913Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.913Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.914Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:02:12.977Z LH:status Getting artifact: ConsoleMessages +2026-11-29T20:02:12.977Z LH:status Getting artifact: CSSUsage +2026-11-29T20:02:13.015Z LH:status Getting artifact: Doctype +2026-11-29T20:02:13.016Z LH:status Getting artifact: DOMStats +2026-11-29T20:02:13.025Z LH:status Getting artifact: FontSize +2026-11-29T20:02:13.390Z LH:status Getting artifact: Inputs +2026-11-29T20:02:13.407Z LH:status Getting artifact: ImageElements +2026-11-29T20:02:13.493Z LH:status Getting artifact: InspectorIssues +2026-11-29T20:02:13.494Z LH:status Getting artifact: JsUsage +2026-11-29T20:02:13.494Z LH:status Getting artifact: LinkElements +2026-11-29T20:02:13.498Z LH:status Getting artifact: MainDocumentContent +2026-11-29T20:02:13.501Z LH:status Getting artifact: MetaElements +2026-11-29T20:02:13.505Z LH:status Getting artifact: NetworkUserAgent +2026-11-29T20:02:13.505Z LH:status Getting artifact: OptimizedImages +2026-11-29T20:02:13.505Z LH:status Getting artifact: ResponseCompression +2026-11-29T20:02:13.529Z LH:method <= browser ERR:error Network.getResponseBody +2026-11-29T20:02:13.530Z LH:ResponseCompression:error Protocol error (Network.getResponseBody): Protocol error (Network.getResponseBody): Request content was evicted from inspector cache +2026-11-29T20:02:13.530Z LH:status Getting artifact: RobotsTxt +2026-11-29T20:02:13.535Z LH:status Getting artifact: Scripts +2026-11-29T20:02:13.535Z LH:status Getting artifact: SourceMaps +2026-11-29T20:02:13.535Z LH:status Getting artifact: Stacks +2026-11-29T20:02:13.535Z LH:status Collect stacks +2026-11-29T20:02:13.551Z LH:status Getting artifact: Stylesheets +2026-11-29T20:02:13.561Z LH:status Getting artifact: TraceElements +2026-11-29T20:02:13.596Z LH:status Trace Engine total +2026-11-29T20:02:13.596Z LH:status Trace Engine parse +2026-11-29T20:02:13.597Z LH:status Trace Engine parse:handleEvent +2026-11-29T20:02:13.727Z LH:status Trace Engine parse:Meta:finalize +2026-11-29T20:02:13.729Z LH:status Trace Engine parse:AnimationFrames:finalize +2026-11-29T20:02:13.729Z LH:status Trace Engine parse:Animations:finalize +2026-11-29T20:02:13.731Z LH:status Trace Engine parse:Samples:finalize +2026-11-29T20:02:13.733Z LH:status Trace Engine parse:AuctionWorklets:finalize +2026-11-29T20:02:13.734Z LH:status Trace Engine parse:NetworkRequests:finalize +2026-11-29T20:02:13.738Z LH:status Trace Engine parse:Renderer:finalize +2026-11-29T20:02:13.755Z LH:status Trace Engine parse:Flows:finalize +2026-11-29T20:02:13.760Z LH:status Trace Engine parse:AsyncJSCalls:finalize +2026-11-29T20:02:13.762Z LH:status Trace Engine parse:DOMStats:finalize +2026-11-29T20:02:13.763Z LH:status Trace Engine parse:UserTimings:finalize +2026-11-29T20:02:13.765Z LH:status Trace Engine parse:ExtensionTraceData:finalize +2026-11-29T20:02:13.766Z LH:status Trace Engine parse:LayerTree:finalize +2026-11-29T20:02:13.768Z LH:status Trace Engine parse:Frames:finalize +2026-11-29T20:02:13.773Z LH:status Trace Engine parse:GPU:finalize +2026-11-29T20:02:13.774Z LH:status Trace Engine parse:ImagePainting:finalize +2026-11-29T20:02:13.775Z LH:status Trace Engine parse:Initiators:finalize +2026-11-29T20:02:13.777Z LH:status Trace Engine parse:Invalidations:finalize +2026-11-29T20:02:13.778Z LH:status Trace Engine parse:PageLoadMetrics:finalize +2026-11-29T20:02:13.780Z LH:status Trace Engine parse:LargestImagePaint:finalize +2026-11-29T20:02:13.781Z LH:status Trace Engine parse:LargestTextPaint:finalize +2026-11-29T20:02:13.783Z LH:status Trace Engine parse:Screenshots:finalize +2026-11-29T20:02:13.784Z LH:status Trace Engine parse:LayoutShifts:finalize +2026-11-29T20:02:13.786Z LH:status Trace Engine parse:Memory:finalize +2026-11-29T20:02:13.787Z LH:status Trace Engine parse:PageFrames:finalize +2026-11-29T20:02:13.789Z LH:status Trace Engine parse:Scripts:finalize +2026-11-29T20:02:13.790Z LH:status Trace Engine parse:SelectorStats:finalize +2026-11-29T20:02:13.791Z LH:status Trace Engine parse:UserInteractions:finalize +2026-11-29T20:02:13.792Z LH:status Trace Engine parse:Workers:finalize +2026-11-29T20:02:13.794Z LH:status Trace Engine parse:Warnings:finalize +2026-11-29T20:02:13.795Z LH:status Trace Engine parse:clone +2026-11-29T20:02:13.799Z LH:status Trace Engine insights +2026-11-29T20:02:13.800Z LH:status Trace Engine insights:CLSCulprits +2026-11-29T20:02:13.800Z LH:status Trace Engine insights:Cache +2026-11-29T20:02:13.800Z LH:status Trace Engine insights:DOMSize +2026-11-29T20:02:13.801Z LH:status Trace Engine insights:DocumentLatency +2026-11-29T20:02:13.801Z LH:status Trace Engine insights:DuplicatedJavaScript +2026-11-29T20:02:13.802Z LH:status Trace Engine insights:FontDisplay +2026-11-29T20:02:13.802Z LH:status Trace Engine insights:ForcedReflow +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:INPBreakdown +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:ImageDelivery +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LCPBreakdown +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LCPDiscovery +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LegacyJavaScript +2026-11-29T20:02:13.803Z LH:status Trace Engine insights:ModernHTTP +2026-11-29T20:02:13.804Z LH:status Trace Engine insights:NetworkDependencyTree +2026-11-29T20:02:13.804Z LH:status Trace Engine insights:RenderBlocking +2026-11-29T20:02:13.804Z LH:status Trace Engine insights:SlowCSSSelector +2026-11-29T20:02:13.804Z LH:status Trace Engine insights:ThirdParties +2026-11-29T20:02:13.806Z LH:status Trace Engine insights:Viewport +2026-11-29T20:02:13.806Z LH:status Trace Engine insights:createLanternContext +2026-11-29T20:02:13.844Z LH:status Trace Engine insights:CLSCulprits +2026-11-29T20:02:13.844Z LH:status Trace Engine insights:Cache +2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DOMSize +2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DocumentLatency +2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DuplicatedJavaScript +2026-11-29T20:02:13.847Z LH:status Trace Engine insights:FontDisplay +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:ForcedReflow +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:INPBreakdown +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:ImageDelivery +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LCPBreakdown +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LCPDiscovery +2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LegacyJavaScript +2026-11-29T20:02:13.851Z LH:status Trace Engine insights:ModernHTTP +2026-11-29T20:02:13.852Z LH:status Trace Engine insights:NetworkDependencyTree +2026-11-29T20:02:13.854Z LH:status Trace Engine insights:RenderBlocking +2026-11-29T20:02:13.855Z LH:status Trace Engine insights:SlowCSSSelector +2026-11-29T20:02:13.855Z LH:status Trace Engine insights:ThirdParties +2026-11-29T20:02:13.870Z LH:status Trace Engine insights:Viewport +2026-11-29T20:02:13.949Z LH:status Getting artifact: ViewportDimensions +2026-11-29T20:02:13.949Z LH:status Getting artifact: FullPageScreenshot +2026-11-29T20:02:15.702Z LH:status Getting artifact: BFCacheFailures +2026-11-29T20:02:15.981Z LH:status Analyzing and running audits... +2026-11-29T20:02:15.982Z LH:status Auditing: Uses HTTPS +2026-11-29T20:02:15.984Z LH:status Auditing: Redirects HTTP traffic to HTTPS +2026-11-29T20:02:15.985Z LH:status Auditing: Has a `` tag with `width` or `initial-scale` +2026-11-29T20:02:15.988Z LH:status Auditing: First Contentful Paint +2026-11-29T20:02:16.002Z LH:status Auditing: Largest Contentful Paint +2026-11-29T20:02:16.005Z LH:status Auditing: First Meaningful Paint +2026-11-29T20:02:16.005Z LH:status Auditing: Speed Index +2026-11-29T20:02:16.248Z LH:status Auditing: Screenshot Thumbnails +2026-11-29T20:02:16.249Z LH:status Auditing: Final Screenshot +2026-11-29T20:02:16.251Z LH:status Auditing: Total Blocking Time +2026-11-29T20:02:16.266Z LH:status Auditing: Max Potential First Input Delay +2026-11-29T20:02:16.273Z LH:status Auditing: Cumulative Layout Shift +2026-11-29T20:02:16.274Z LH:status Auditing: No browser errors logged to the console +2026-11-29T20:02:16.275Z LH:status Auditing: Initial server response time was short +2026-11-29T20:02:16.276Z LH:status Auditing: Time to Interactive +2026-11-29T20:02:16.277Z LH:status Auditing: User Timing marks and measures +2026-11-29T20:02:16.279Z LH:status Auditing: Avoid chaining critical requests +2026-11-29T20:02:16.282Z LH:status Auditing: Avoid multiple page redirects +2026-11-29T20:02:16.285Z LH:status Auditing: Displays images with correct aspect ratio +2026-11-29T20:02:16.286Z LH:status Auditing: Serves images with appropriate resolution +2026-11-29T20:02:16.287Z LH:status Auditing: Avoids deprecated APIs +2026-11-29T20:02:16.290Z LH:status Auditing: Avoids third-party cookies +2026-11-29T20:02:16.291Z LH:status Auditing: Minimizes main-thread work +2026-11-29T20:02:16.321Z LH:status Auditing: JavaScript execution time +2026-11-29T20:02:16.354Z LH:status Auditing: Preconnect to required origins +2026-11-29T20:02:16.357Z LH:status Auditing: All text remains visible during webfont loads +2026-11-29T20:02:16.358Z LH:status Auditing: Diagnostics +2026-11-29T20:02:16.359Z LH:status Auditing: Network Requests +2026-11-29T20:02:16.361Z LH:status Auditing: Network Round Trip Times +2026-11-29T20:02:16.362Z LH:status Auditing: Server Backend Latencies +2026-11-29T20:02:16.363Z LH:status Auditing: Tasks +2026-11-29T20:02:16.364Z LH:status Auditing: Metrics +2026-11-29T20:02:16.364Z LH:lh:computed:TimingSummary:error Error: FCP All Frames not implemented in lantern + at FirstContentfulPaintAllFrames.computeSimulatedMetric (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/first-contentful-paint-all-frames.js:16:11) + at FirstContentfulPaintAllFrames.compute_ (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/metric.js:90:21) +2026-11-29T20:02:16.365Z LH:lh:computed:TimingSummary:error Error: LCP All Frames not implemented in lantern + at LargestContentfulPaintAllFrames.computeSimulatedMetric (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/largest-contentful-paint-all-frames.js:21:11) + at LargestContentfulPaintAllFrames.compute_ (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/metric.js:90:21) +2026-11-29T20:02:16.366Z LH:status Auditing: Resources Summary +2026-11-29T20:02:16.367Z LH:status Auditing: Minimize third-party usage +2026-11-29T20:02:16.375Z LH:status Auditing: Lazy load third-party resources with facades +2026-11-29T20:02:16.380Z LH:status Auditing: Largest Contentful Paint element +2026-11-29T20:02:16.382Z LH:status Auditing: Largest Contentful Paint image was not lazily loaded +2026-11-29T20:02:16.382Z LH:status Auditing: Avoid large layout shifts +2026-11-29T20:02:16.386Z LH:status Auditing: Avoid long main-thread tasks +2026-11-29T20:02:16.392Z LH:status Auditing: Avoid non-composited animations +2026-11-29T20:02:16.394Z LH:status Auditing: Image elements have explicit `width` and `height` +2026-11-29T20:02:16.395Z LH:status Auditing: Page has valid source maps +2026-11-29T20:02:16.397Z LH:status Auditing: Preload Largest Contentful Paint image +2026-11-29T20:02:16.397Z LH:status Auditing: Ensure CSP is effective against XSS attacks +2026-11-29T20:02:16.399Z LH:status Auditing: Use a strong HSTS policy +2026-11-29T20:02:16.400Z LH:status Auditing: Ensure proper origin isolation with COOP +2026-11-29T20:02:16.401Z LH:status Auditing: Mitigate clickjacking with XFO or CSP +2026-11-29T20:02:16.402Z LH:status Auditing: Mitigate DOM-based XSS with Trusted Types +2026-11-29T20:02:16.403Z LH:status Auditing: Script Treemap Data +2026-11-29T20:02:16.408Z LH:status Auditing: `[accesskey]` values are unique +2026-11-29T20:02:16.409Z LH:status Auditing: `[aria-*]` attributes match their roles +2026-11-29T20:02:16.414Z LH:status Auditing: Uses ARIA roles only on compatible elements +2026-11-29T20:02:16.416Z LH:status Auditing: `button`, `link`, and `menuitem` elements have accessible names +2026-11-29T20:02:16.417Z LH:status Auditing: ARIA attributes are used as specified for the element's role +2026-11-29T20:02:16.419Z LH:status Auditing: Deprecated ARIA roles were not used +2026-11-29T20:02:16.421Z LH:status Auditing: Elements with `role="dialog"` or `role="alertdialog"` have accessible names. +2026-11-29T20:02:16.422Z LH:status Auditing: `[aria-hidden="true"]` is not present on the document `` +2026-11-29T20:02:16.424Z LH:status Auditing: `[aria-hidden="true"]` elements do not contain focusable descendents +2026-11-29T20:02:16.426Z LH:status Auditing: ARIA input fields have accessible names +2026-11-29T20:02:16.426Z LH:status Auditing: ARIA `meter` elements have accessible names +2026-11-29T20:02:16.427Z LH:status Auditing: ARIA `progressbar` elements have accessible names +2026-11-29T20:02:16.428Z LH:status Auditing: Elements use only permitted ARIA attributes +2026-11-29T20:02:16.429Z LH:status Auditing: `[role]`s have all required `[aria-*]` attributes +2026-11-29T20:02:16.431Z LH:status Auditing: Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children. +2026-11-29T20:02:16.437Z LH:status Auditing: `[role]`s are contained by their required parent element +2026-11-29T20:02:16.437Z LH:status Auditing: `[role]` values are valid +2026-11-29T20:02:16.439Z LH:status Auditing: Elements with the `role=text` attribute do not have focusable descendents. +2026-11-29T20:02:16.440Z LH:status Auditing: ARIA toggle fields have accessible names +2026-11-29T20:02:16.441Z LH:status Auditing: ARIA `tooltip` elements have accessible names +2026-11-29T20:02:16.443Z LH:status Auditing: ARIA `treeitem` elements have accessible names +2026-11-29T20:02:16.445Z LH:status Auditing: `[aria-*]` attributes have valid values +2026-11-29T20:02:16.448Z LH:status Auditing: `[aria-*]` attributes are valid and not misspelled +2026-11-29T20:02:16.450Z LH:status Auditing: Buttons have an accessible name +2026-11-29T20:02:16.457Z LH:status Auditing: The page contains a heading, skip link, or landmark region +2026-11-29T20:02:16.459Z LH:status Auditing: Background and foreground colors have a sufficient contrast ratio +2026-11-29T20:02:16.460Z LH:status Auditing: `
`'s contain only properly-ordered `
` and `
` groups, ` + diff --git a/js/app.js b/js/app.js index 358e0876..56afecf5 100644 --- a/js/app.js +++ b/js/app.js @@ -1102,22 +1102,53 @@ function legacyLoadStations() { } }).catch(function (e) { console.warn('stations head:', e); - }).then(function () { - return Promise.all([fetchJSON('data/stations.json'), fetchJSON('data/stations.manifest.json').catch(function () {})]); - }).catch(function (e) { console.warn('stations snapshot:', e); }).then(function (pair) { - var data = pair && pair[0], manifest = pair && pair[1]; + }).then(function () { return loadFullCatalog(); }); +} +/* تعبئة الكتالوج الكامل على أول زيارة: ملفات أجزاء صغيرة متتالية (يكسر مهام parse طويلة) مع رجوع للملف الكامل عند أي فشل. */ +function catalogPartsPlan(manifest) { + var p = manifest && manifest.parts; + var n = p ? p.total >> 0 : 0; + if (!(n > 0) || n > 500) return null; + var out = []; + for (var i = 1; i <= n; i++) out.push('data/stations_parts/' + i + '.json'); + return out; +} +function validCatalogPart(part, manifest) { + return !!(part && manifest && Array.isArray(part.stations) && part.updated && part.updated === manifest.updated); +} +async function loadFullCatalog() { + var manifest = null; + try { manifest = await fetchJSON('data/stations.manifest.json'); } catch (e) {} + var urls = catalogPartsPlan(manifest); + if (urls) { + var rows = [], ok = true; + for (var i = 0; i < urls.length; i++) { + var part = null; + try { part = await fetchJSON(urls[i]); } catch (e) {} + if (!validCatalogPart(part, manifest)) { ok = false; break; } + rows = rows.concat(part.stations); + } + if (ok && rows.length === manifest.count) { + if (manifest.version) catalogIdbWrite(rows, manifest.version).catch(function () {}); + await finishStations(rows); + return; + } + } + try { + var data = await fetchJSON('data/stations.json'); if (data && Array.isArray(data.stations)) { if (manifest && data.updated && data.updated === manifest.updated && data.count === manifest.count) { catalogIdbWrite(data.stations, manifest.version).catch(function () {}); } - return finishStations(data.stations); + await finishStations(data.stations); + return; } - renderFM(); - initTrending(); - initResume(); - loadStreamChecks(); - handleShareHash(); - }); + } catch (e) { console.warn('stations snapshot:', e); } + renderFM(); + initTrending(); + initResume(); + loadStreamChecks(); + handleShareHash(); } function loadStreamChecks() { diff --git a/scripts/update_data.py b/scripts/update_data.py index d4b77ab3..4d9f3ee5 100644 --- a/scripts/update_data.py +++ b/scripts/update_data.py @@ -164,6 +164,7 @@ # زائر رجع خلال هذا العدد من النسخ بينزام كيلوبايتات، وأكتر من كده # بيرجع للمسار الكامل (طلب واحد — زي زمان بالظبط). DELTA_KEEP = 3 +STATION_PART_ROWS = 4000 # rows per data/stations_parts/N.json part file UA = "RadioAtlas/1.0 (https://github.com/SamoTech/Radio)" # ---- Fetch strategy tiers ("direct-first" engine philosophy, ported from @@ -2555,7 +2556,7 @@ def compute_catalog_delta(old_rows, new_rows): return {"added": added, "updated": updated, "removed": removed} -def write_station_deltas(stations, previous_rows, now_iso, data_dir=None): +def write_station_deltas(stations, previous_rows, now_iso, data_dir=None, parts_total=None): """Write the next delta file + manifest for the differential catalog. Called only on a successful data run (keeps the chain consistent). @@ -2587,13 +2588,48 @@ def write_station_deltas(stations, previous_rows, now_iso, data_dir=None): entry.unlink() except OSError: pass - write_json(manifest_path, { + manifest_payload = { "updated": now_iso, "version": version, "count": len(stations), "keep": DELTA_KEEP, "full": "data/stations.json", - }) + } + if parts_total is not None: + manifest_payload["parts"] = {"total": parts_total, "rows_per_part": STATION_PART_ROWS} + write_json(manifest_path, manifest_payload) + + +def write_station_parts(stations, updated, data_dir=None, rows_per_part=None): + """Split the full catalog into small part files for cheaper first-visit loading. + + Each part is self-contained: {updated, part, count, stations}. Parts are + numbered 1..total and pruned when the total shrinks, so the client can + fetch them sequentially (parse stays off the long-task radar) and fall + back to the monolithic stations.json when any part is missing. + """ + target_dir = Path(data_dir) if data_dir else DATA_DIR + parts_dir = target_dir / "stations_parts" + parts_dir.mkdir(parents=True, exist_ok=True) + step = int(rows_per_part or STATION_PART_ROWS) + if step <= 0: + raise ValueError("rows_per_part must be positive") + total = 0 + for total, start in enumerate(range(0, len(stations), step), start=1): + chunk = stations[start:start + step] + write_json(parts_dir / f"{total}.json", { + "updated": updated, + "part": total, + "count": len(chunk), + "stations": chunk, + }) + for entry in parts_dir.glob("*.json"): + try: + if int(entry.stem) > total or int(entry.stem) <= 0: + entry.unlink() + except (OSError, ValueError): + pass + return total def guard_catalog_snapshot(stations, previous_rows): @@ -2631,7 +2667,8 @@ def publish_station_catalog(payload, previous_rows, now_iso): head = stations[:2500] # Files are committed/deployed together by the serialized Actions job; # a failed job never publishes the incomplete staging directory. - write_station_deltas(stations, previous_rows, now_iso) + parts_total = write_station_parts(stations, now_iso) + write_station_deltas(stations, previous_rows, now_iso, parts_total=parts_total) write_json(DATA_DIR / "stations_head.json", { "updated": updated, "source": source, "count": len(head), "stations": head, diff --git a/sw.js b/sw.js index b5a0da85..c095dca5 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -var CACHE = 'radio-atlas-v108'; +var CACHE = 'radio-atlas-v109'; var SHELL = ['./', './index.html', './offline.html', './about.html', './contact.html', './terms.html', './privacy.html', './dmca.html', './css/styles.css', './js/app.js', './js/analytics.js', './manifest.webmanifest', './icons/icon.svg', './icons/icon-192.png', './icons/icon-512.png', './icons/icon-maskable-192.png', './icons/icon-maskable-512.png', './js/modules/mobile.mjs', './js/modules/map.mjs', './js/modules/player.mjs', './js/modules/regions.mjs', './js/modules/sdr.mjs', './js/modules/sdr-adapters.mjs', './js/modules/openwebrx-native.mjs', './js/modules/owrx-adpcm.mjs', './js/modules/sdr-waterfall.mjs', './js/modules/kiwi-waterfall.mjs', './js/modules/tools.mjs']; diff --git a/tests/search.test.cjs b/tests/search.test.cjs index 4ff480d6..46299d81 100644 --- a/tests/search.test.cjs +++ b/tests/search.test.cjs @@ -760,3 +760,22 @@ test('player resume and direct play share the same safe source builder', () => { assert.match(player, /state\.playbackIndex < state\.playbackSources\.length/); assert.match(player, /generation !== state\.playbackGeneration/); }); + +test('catalog parts plan builds sequential URLs from the manifest', () => { + assert.deepEqual( + sandbox.catalogPartsPlan({ parts: { total: 3 } }), + ['data/stations_parts/1.json', 'data/stations_parts/2.json', 'data/stations_parts/3.json'] + ); + assert.equal(sandbox.catalogPartsPlan(null), null); + assert.equal(sandbox.catalogPartsPlan({}), null); + assert.equal(sandbox.catalogPartsPlan({ parts: { total: 0 } }), null); + assert.equal(sandbox.catalogPartsPlan({ parts: { total: 99999 } }), null); +}); + +test('catalog part validation accepts only matching stamps with station arrays', () => { + assert.equal(sandbox.validCatalogPart({ updated: 'u1', stations: [{}] }, { updated: 'u1' }), true); + assert.equal(sandbox.validCatalogPart({ updated: 'u2', stations: [{}] }, { updated: 'u1' }), false); + assert.equal(sandbox.validCatalogPart({ updated: 'u1' }, { updated: 'u1' }), false); + assert.equal(sandbox.validCatalogPart({ updated: 'u1', stations: 'x' }, { updated: 'u1' }), false); + assert.equal(sandbox.validCatalogPart(null, { updated: 'u1' }), false); +}); diff --git a/tests/test_crawler.py b/tests/test_crawler.py index c23b0629..35510440 100644 --- a/tests/test_crawler.py +++ b/tests/test_crawler.py @@ -862,10 +862,38 @@ def test_p2_3_expansion_batch_is_pinned(self): self.assertIn(url, urls) -if __name__ == "__main__": - unittest.main() - +class StationPartsTests(unittest.TestCase): + def _rows(self, n): + return [{"url": f"https://s{i}.test/live", "name": f"S{i}"} for i in range(n)] + def test_parts_split_continuity_and_counts(self): + rows = self._rows(10) + with tempfile.TemporaryDirectory() as tmp: + data_dir = Path(tmp) + total = module.write_station_parts(rows, "2026-11-29T00:00:00+00:00", data_dir=data_dir, rows_per_part=3) + self.assertEqual(total, 4) + seen = [] + for i in range(1, total + 1): + part = json.loads((data_dir / "stations_parts" / f"{i}.json").read_text(encoding="utf-8")) + self.assertEqual(part["part"], i) + self.assertEqual(part["updated"], "2026-11-29T00:00:00+00:00") + seen.extend(part["stations"]) + self.assertEqual(seen, rows) + + def test_parts_prune_stale_files_from_previous_runs(self): + with tempfile.TemporaryDirectory() as tmp: + data_dir = Path(tmp) + stale = data_dir / "stations_parts" + stale.mkdir(parents=True) + (stale / "9.json").write_text("{}", encoding="utf-8") + (stale / "0.json").write_text("{}", encoding="utf-8") + total = module.write_station_parts(self._rows(4), "u", data_dir=data_dir, rows_per_part=3) + self.assertEqual(total, 2) + self.assertFalse((stale / "9.json").exists()) + self.assertFalse((stale / "0.json").exists()) + self.assertTrue((stale / "2.json").exists()) +if __name__ == "__main__": + unittest.main() From 61b4a3df3e102ce004b55bfcf594019c47d043c8 Mon Sep 17 00:00:00 2001 From: Vibe Perf Bot Date: Sun, 29 Nov 2026 20:05:37 +0000 Subject: [PATCH 05/63] chore(perf): lighthouse evidence drop --- install-status.txt | 1 + install-tail.txt | 2 +- lh-desktop.log | 696 +++---- lh-mobile.log | 709 +++---- lh-out/cls-mobile.json | 2 +- lh-out/desktop-log-tail.txt | 16 +- lh-out/desktop-summary.json | 2 +- lh-out/desktop.json | 3124 ++++++++++++++--------------- lh-out/listing.txt | 24 +- lh-out/longtasks-mobile.json | 2 +- lh-out/mobile-log-tail.txt | 16 +- lh-out/mobile-summary.json | 2 +- lh-out/mobile.json | 3681 ++++++++++++++++------------------ npm-install.log | 2 +- 14 files changed, 3979 insertions(+), 4300 deletions(-) diff --git a/install-status.txt b/install-status.txt index 5d232348..a88eb497 100644 --- a/install-status.txt +++ b/install-status.txt @@ -1 +1,2 @@ no-override +no-override diff --git a/install-tail.txt b/install-tail.txt index 144ec663..9db8dd9e 100644 --- a/install-tail.txt +++ b/install-tail.txt @@ -1,2 +1,2 @@ -added 201 packages in 8s +added 201 packages in 7s diff --git a/lh-desktop.log b/lh-desktop.log index 9756deb5..4d8eb49a 100644 --- a/lh-desktop.log +++ b/lh-desktop.log @@ -1,352 +1,352 @@ -2026-11-29T20:02:05.853Z LH:ChromeLauncher Waiting for browser. -2026-11-29T20:02:05.853Z LH:ChromeLauncher Waiting for browser... -2026-11-29T20:02:06.355Z LH:ChromeLauncher Waiting for browser..... -2026-11-29T20:02:06.358Z LH:ChromeLauncher Waiting for browser.....✓ -2026-11-29T20:02:06.945Z LH:status Connecting to browser -2026-11-29T20:02:06.952Z LH:status Navigating to about:blank -2026-11-29T20:02:06.972Z LH:status Benchmarking machine -2026-11-29T20:02:07.984Z LH:status Host device pixel ratio -2026-11-29T20:02:07.985Z LH:status Preparing target for navigation mode -2026-11-29T20:02:07.998Z LH:status Cleaning origin data -2026-11-29T20:02:08.031Z LH:status Cleaning browser cache -2026-11-29T20:02:08.037Z LH:status Preparing network conditions -2026-11-29T20:02:08.067Z LH:status Navigating to http://127.0.0.1:8765/ -2026-11-29T20:02:12.180Z LH:status Getting artifact: DevtoolsLog -2026-11-29T20:02:12.180Z LH:status Getting artifact: Trace -2026-11-29T20:02:12.180Z LH:status Getting artifact: Accessibility -2026-11-29T20:02:12.697Z LH:status Getting artifact: AnchorElements -2026-11-29T20:02:12.851Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.853Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.854Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.855Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.857Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.858Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.859Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.861Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.863Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.864Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.866Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.867Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.869Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.870Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.871Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.874Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.875Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.880Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.882Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.883Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.884Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.885Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.887Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.888Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.890Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.891Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.893Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.894Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.896Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.897Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.898Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.899Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.900Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.901Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.902Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.903Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.904Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.905Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.906Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.907Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.907Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.908Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.909Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.910Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.911Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.912Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.913Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.913Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.914Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend -2026-11-29T20:02:12.977Z LH:status Getting artifact: ConsoleMessages -2026-11-29T20:02:12.977Z LH:status Getting artifact: CSSUsage -2026-11-29T20:02:13.015Z LH:status Getting artifact: Doctype -2026-11-29T20:02:13.016Z LH:status Getting artifact: DOMStats -2026-11-29T20:02:13.025Z LH:status Getting artifact: FontSize -2026-11-29T20:02:13.390Z LH:status Getting artifact: Inputs -2026-11-29T20:02:13.407Z LH:status Getting artifact: ImageElements -2026-11-29T20:02:13.493Z LH:status Getting artifact: InspectorIssues -2026-11-29T20:02:13.494Z LH:status Getting artifact: JsUsage -2026-11-29T20:02:13.494Z LH:status Getting artifact: LinkElements -2026-11-29T20:02:13.498Z LH:status Getting artifact: MainDocumentContent -2026-11-29T20:02:13.501Z LH:status Getting artifact: MetaElements -2026-11-29T20:02:13.505Z LH:status Getting artifact: NetworkUserAgent -2026-11-29T20:02:13.505Z LH:status Getting artifact: OptimizedImages -2026-11-29T20:02:13.505Z LH:status Getting artifact: ResponseCompression -2026-11-29T20:02:13.529Z LH:method <= browser ERR:error Network.getResponseBody -2026-11-29T20:02:13.530Z LH:ResponseCompression:error Protocol error (Network.getResponseBody): Protocol error (Network.getResponseBody): Request content was evicted from inspector cache -2026-11-29T20:02:13.530Z LH:status Getting artifact: RobotsTxt -2026-11-29T20:02:13.535Z LH:status Getting artifact: Scripts -2026-11-29T20:02:13.535Z LH:status Getting artifact: SourceMaps -2026-11-29T20:02:13.535Z LH:status Getting artifact: Stacks -2026-11-29T20:02:13.535Z LH:status Collect stacks -2026-11-29T20:02:13.551Z LH:status Getting artifact: Stylesheets -2026-11-29T20:02:13.561Z LH:status Getting artifact: TraceElements -2026-11-29T20:02:13.596Z LH:status Trace Engine total -2026-11-29T20:02:13.596Z LH:status Trace Engine parse -2026-11-29T20:02:13.597Z LH:status Trace Engine parse:handleEvent -2026-11-29T20:02:13.727Z LH:status Trace Engine parse:Meta:finalize -2026-11-29T20:02:13.729Z LH:status Trace Engine parse:AnimationFrames:finalize -2026-11-29T20:02:13.729Z LH:status Trace Engine parse:Animations:finalize -2026-11-29T20:02:13.731Z LH:status Trace Engine parse:Samples:finalize -2026-11-29T20:02:13.733Z LH:status Trace Engine parse:AuctionWorklets:finalize -2026-11-29T20:02:13.734Z LH:status Trace Engine parse:NetworkRequests:finalize -2026-11-29T20:02:13.738Z LH:status Trace Engine parse:Renderer:finalize -2026-11-29T20:02:13.755Z LH:status Trace Engine parse:Flows:finalize -2026-11-29T20:02:13.760Z LH:status Trace Engine parse:AsyncJSCalls:finalize -2026-11-29T20:02:13.762Z LH:status Trace Engine parse:DOMStats:finalize -2026-11-29T20:02:13.763Z LH:status Trace Engine parse:UserTimings:finalize -2026-11-29T20:02:13.765Z LH:status Trace Engine parse:ExtensionTraceData:finalize -2026-11-29T20:02:13.766Z LH:status Trace Engine parse:LayerTree:finalize -2026-11-29T20:02:13.768Z LH:status Trace Engine parse:Frames:finalize -2026-11-29T20:02:13.773Z LH:status Trace Engine parse:GPU:finalize -2026-11-29T20:02:13.774Z LH:status Trace Engine parse:ImagePainting:finalize -2026-11-29T20:02:13.775Z LH:status Trace Engine parse:Initiators:finalize -2026-11-29T20:02:13.777Z LH:status Trace Engine parse:Invalidations:finalize -2026-11-29T20:02:13.778Z LH:status Trace Engine parse:PageLoadMetrics:finalize -2026-11-29T20:02:13.780Z LH:status Trace Engine parse:LargestImagePaint:finalize -2026-11-29T20:02:13.781Z LH:status Trace Engine parse:LargestTextPaint:finalize -2026-11-29T20:02:13.783Z LH:status Trace Engine parse:Screenshots:finalize -2026-11-29T20:02:13.784Z LH:status Trace Engine parse:LayoutShifts:finalize -2026-11-29T20:02:13.786Z LH:status Trace Engine parse:Memory:finalize -2026-11-29T20:02:13.787Z LH:status Trace Engine parse:PageFrames:finalize -2026-11-29T20:02:13.789Z LH:status Trace Engine parse:Scripts:finalize -2026-11-29T20:02:13.790Z LH:status Trace Engine parse:SelectorStats:finalize -2026-11-29T20:02:13.791Z LH:status Trace Engine parse:UserInteractions:finalize -2026-11-29T20:02:13.792Z LH:status Trace Engine parse:Workers:finalize -2026-11-29T20:02:13.794Z LH:status Trace Engine parse:Warnings:finalize -2026-11-29T20:02:13.795Z LH:status Trace Engine parse:clone -2026-11-29T20:02:13.799Z LH:status Trace Engine insights -2026-11-29T20:02:13.800Z LH:status Trace Engine insights:CLSCulprits -2026-11-29T20:02:13.800Z LH:status Trace Engine insights:Cache -2026-11-29T20:02:13.800Z LH:status Trace Engine insights:DOMSize -2026-11-29T20:02:13.801Z LH:status Trace Engine insights:DocumentLatency -2026-11-29T20:02:13.801Z LH:status Trace Engine insights:DuplicatedJavaScript -2026-11-29T20:02:13.802Z LH:status Trace Engine insights:FontDisplay -2026-11-29T20:02:13.802Z LH:status Trace Engine insights:ForcedReflow -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:INPBreakdown -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:ImageDelivery -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LCPBreakdown -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LCPDiscovery -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:LegacyJavaScript -2026-11-29T20:02:13.803Z LH:status Trace Engine insights:ModernHTTP -2026-11-29T20:02:13.804Z LH:status Trace Engine insights:NetworkDependencyTree -2026-11-29T20:02:13.804Z LH:status Trace Engine insights:RenderBlocking -2026-11-29T20:02:13.804Z LH:status Trace Engine insights:SlowCSSSelector -2026-11-29T20:02:13.804Z LH:status Trace Engine insights:ThirdParties -2026-11-29T20:02:13.806Z LH:status Trace Engine insights:Viewport -2026-11-29T20:02:13.806Z LH:status Trace Engine insights:createLanternContext -2026-11-29T20:02:13.844Z LH:status Trace Engine insights:CLSCulprits -2026-11-29T20:02:13.844Z LH:status Trace Engine insights:Cache -2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DOMSize -2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DocumentLatency -2026-11-29T20:02:13.847Z LH:status Trace Engine insights:DuplicatedJavaScript -2026-11-29T20:02:13.847Z LH:status Trace Engine insights:FontDisplay -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:ForcedReflow -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:INPBreakdown -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:ImageDelivery -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LCPBreakdown -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LCPDiscovery -2026-11-29T20:02:13.848Z LH:status Trace Engine insights:LegacyJavaScript -2026-11-29T20:02:13.851Z LH:status Trace Engine insights:ModernHTTP -2026-11-29T20:02:13.852Z LH:status Trace Engine insights:NetworkDependencyTree -2026-11-29T20:02:13.854Z LH:status Trace Engine insights:RenderBlocking -2026-11-29T20:02:13.855Z LH:status Trace Engine insights:SlowCSSSelector -2026-11-29T20:02:13.855Z LH:status Trace Engine insights:ThirdParties -2026-11-29T20:02:13.870Z LH:status Trace Engine insights:Viewport -2026-11-29T20:02:13.949Z LH:status Getting artifact: ViewportDimensions -2026-11-29T20:02:13.949Z LH:status Getting artifact: FullPageScreenshot -2026-11-29T20:02:15.702Z LH:status Getting artifact: BFCacheFailures -2026-11-29T20:02:15.981Z LH:status Analyzing and running audits... -2026-11-29T20:02:15.982Z LH:status Auditing: Uses HTTPS -2026-11-29T20:02:15.984Z LH:status Auditing: Redirects HTTP traffic to HTTPS -2026-11-29T20:02:15.985Z LH:status Auditing: Has a `` tag with `width` or `initial-scale` -2026-11-29T20:02:15.988Z LH:status Auditing: First Contentful Paint -2026-11-29T20:02:16.002Z LH:status Auditing: Largest Contentful Paint -2026-11-29T20:02:16.005Z LH:status Auditing: First Meaningful Paint -2026-11-29T20:02:16.005Z LH:status Auditing: Speed Index -2026-11-29T20:02:16.248Z LH:status Auditing: Screenshot Thumbnails -2026-11-29T20:02:16.249Z LH:status Auditing: Final Screenshot -2026-11-29T20:02:16.251Z LH:status Auditing: Total Blocking Time -2026-11-29T20:02:16.266Z LH:status Auditing: Max Potential First Input Delay -2026-11-29T20:02:16.273Z LH:status Auditing: Cumulative Layout Shift -2026-11-29T20:02:16.274Z LH:status Auditing: No browser errors logged to the console -2026-11-29T20:02:16.275Z LH:status Auditing: Initial server response time was short -2026-11-29T20:02:16.276Z LH:status Auditing: Time to Interactive -2026-11-29T20:02:16.277Z LH:status Auditing: User Timing marks and measures -2026-11-29T20:02:16.279Z LH:status Auditing: Avoid chaining critical requests -2026-11-29T20:02:16.282Z LH:status Auditing: Avoid multiple page redirects -2026-11-29T20:02:16.285Z LH:status Auditing: Displays images with correct aspect ratio -2026-11-29T20:02:16.286Z LH:status Auditing: Serves images with appropriate resolution -2026-11-29T20:02:16.287Z LH:status Auditing: Avoids deprecated APIs -2026-11-29T20:02:16.290Z LH:status Auditing: Avoids third-party cookies -2026-11-29T20:02:16.291Z LH:status Auditing: Minimizes main-thread work -2026-11-29T20:02:16.321Z LH:status Auditing: JavaScript execution time -2026-11-29T20:02:16.354Z LH:status Auditing: Preconnect to required origins -2026-11-29T20:02:16.357Z LH:status Auditing: All text remains visible during webfont loads -2026-11-29T20:02:16.358Z LH:status Auditing: Diagnostics -2026-11-29T20:02:16.359Z LH:status Auditing: Network Requests -2026-11-29T20:02:16.361Z LH:status Auditing: Network Round Trip Times -2026-11-29T20:02:16.362Z LH:status Auditing: Server Backend Latencies -2026-11-29T20:02:16.363Z LH:status Auditing: Tasks -2026-11-29T20:02:16.364Z LH:status Auditing: Metrics -2026-11-29T20:02:16.364Z LH:lh:computed:TimingSummary:error Error: FCP All Frames not implemented in lantern +2026-11-29T20:05:24.126Z LH:ChromeLauncher Waiting for browser. +2026-11-29T20:05:24.127Z LH:ChromeLauncher Waiting for browser... +2026-11-29T20:05:24.628Z LH:ChromeLauncher Waiting for browser..... +2026-11-29T20:05:24.630Z LH:ChromeLauncher Waiting for browser.....✓ +2026-11-29T20:05:25.083Z LH:status Connecting to browser +2026-11-29T20:05:25.091Z LH:status Navigating to about:blank +2026-11-29T20:05:25.103Z LH:status Benchmarking machine +2026-11-29T20:05:26.113Z LH:status Host device pixel ratio +2026-11-29T20:05:26.114Z LH:status Preparing target for navigation mode +2026-11-29T20:05:26.125Z LH:status Cleaning origin data +2026-11-29T20:05:26.164Z LH:status Cleaning browser cache +2026-11-29T20:05:26.184Z LH:status Preparing network conditions +2026-11-29T20:05:26.208Z LH:status Navigating to http://127.0.0.1:8765/ +2026-11-29T20:05:30.243Z LH:status Getting artifact: DevtoolsLog +2026-11-29T20:05:30.243Z LH:status Getting artifact: Trace +2026-11-29T20:05:30.244Z LH:status Getting artifact: Accessibility +2026-11-29T20:05:30.781Z LH:status Getting artifact: AnchorElements +2026-11-29T20:05:30.963Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.965Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.966Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.967Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.969Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.970Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.972Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.973Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.975Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.976Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.978Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.979Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.980Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.982Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.983Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.984Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.985Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.987Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.988Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.989Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.990Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.996Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:30.998Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.000Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.001Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.003Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.004Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.005Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.007Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.008Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.009Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.010Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.011Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.012Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.013Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.014Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.015Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.016Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.017Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.018Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.019Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.019Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.020Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.021Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.022Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.023Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.023Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.024Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.025Z LH:method <= browser ERR:error DOM.pushNodeByPathToFrontend +2026-11-29T20:05:31.088Z LH:status Getting artifact: ConsoleMessages +2026-11-29T20:05:31.089Z LH:status Getting artifact: CSSUsage +2026-11-29T20:05:31.125Z LH:status Getting artifact: Doctype +2026-11-29T20:05:31.126Z LH:status Getting artifact: DOMStats +2026-11-29T20:05:31.134Z LH:status Getting artifact: FontSize +2026-11-29T20:05:31.518Z LH:status Getting artifact: Inputs +2026-11-29T20:05:31.532Z LH:status Getting artifact: ImageElements +2026-11-29T20:05:31.609Z LH:status Getting artifact: InspectorIssues +2026-11-29T20:05:31.610Z LH:status Getting artifact: JsUsage +2026-11-29T20:05:31.610Z LH:status Getting artifact: LinkElements +2026-11-29T20:05:31.617Z LH:status Getting artifact: MainDocumentContent +2026-11-29T20:05:31.621Z LH:status Getting artifact: MetaElements +2026-11-29T20:05:31.629Z LH:status Getting artifact: NetworkUserAgent +2026-11-29T20:05:31.630Z LH:status Getting artifact: OptimizedImages +2026-11-29T20:05:31.630Z LH:status Getting artifact: ResponseCompression +2026-11-29T20:05:31.664Z LH:method <= browser ERR:error Network.getResponseBody +2026-11-29T20:05:31.664Z LH:ResponseCompression:error Protocol error (Network.getResponseBody): Protocol error (Network.getResponseBody): Request content was evicted from inspector cache +2026-11-29T20:05:31.664Z LH:status Getting artifact: RobotsTxt +2026-11-29T20:05:31.673Z LH:status Getting artifact: Scripts +2026-11-29T20:05:31.674Z LH:status Getting artifact: SourceMaps +2026-11-29T20:05:31.674Z LH:status Getting artifact: Stacks +2026-11-29T20:05:31.674Z LH:status Collect stacks +2026-11-29T20:05:31.695Z LH:status Getting artifact: Stylesheets +2026-11-29T20:05:31.706Z LH:status Getting artifact: TraceElements +2026-11-29T20:05:31.738Z LH:status Trace Engine total +2026-11-29T20:05:31.738Z LH:status Trace Engine parse +2026-11-29T20:05:31.739Z LH:status Trace Engine parse:handleEvent +2026-11-29T20:05:31.892Z LH:status Trace Engine parse:Meta:finalize +2026-11-29T20:05:31.894Z LH:status Trace Engine parse:AnimationFrames:finalize +2026-11-29T20:05:31.895Z LH:status Trace Engine parse:Animations:finalize +2026-11-29T20:05:31.897Z LH:status Trace Engine parse:Samples:finalize +2026-11-29T20:05:31.898Z LH:status Trace Engine parse:AuctionWorklets:finalize +2026-11-29T20:05:31.900Z LH:status Trace Engine parse:NetworkRequests:finalize +2026-11-29T20:05:31.904Z LH:status Trace Engine parse:Renderer:finalize +2026-11-29T20:05:31.922Z LH:status Trace Engine parse:Flows:finalize +2026-11-29T20:05:31.929Z LH:status Trace Engine parse:AsyncJSCalls:finalize +2026-11-29T20:05:31.933Z LH:status Trace Engine parse:DOMStats:finalize +2026-11-29T20:05:31.934Z LH:status Trace Engine parse:UserTimings:finalize +2026-11-29T20:05:31.935Z LH:status Trace Engine parse:ExtensionTraceData:finalize +2026-11-29T20:05:31.937Z LH:status Trace Engine parse:LayerTree:finalize +2026-11-29T20:05:31.939Z LH:status Trace Engine parse:Frames:finalize +2026-11-29T20:05:31.943Z LH:status Trace Engine parse:GPU:finalize +2026-11-29T20:05:31.944Z LH:status Trace Engine parse:ImagePainting:finalize +2026-11-29T20:05:31.946Z LH:status Trace Engine parse:Initiators:finalize +2026-11-29T20:05:31.947Z LH:status Trace Engine parse:Invalidations:finalize +2026-11-29T20:05:31.949Z LH:status Trace Engine parse:PageLoadMetrics:finalize +2026-11-29T20:05:31.950Z LH:status Trace Engine parse:LargestImagePaint:finalize +2026-11-29T20:05:31.952Z LH:status Trace Engine parse:LargestTextPaint:finalize +2026-11-29T20:05:31.953Z LH:status Trace Engine parse:Screenshots:finalize +2026-11-29T20:05:31.954Z LH:status Trace Engine parse:LayoutShifts:finalize +2026-11-29T20:05:31.956Z LH:status Trace Engine parse:Memory:finalize +2026-11-29T20:05:31.957Z LH:status Trace Engine parse:PageFrames:finalize +2026-11-29T20:05:31.959Z LH:status Trace Engine parse:Scripts:finalize +2026-11-29T20:05:31.960Z LH:status Trace Engine parse:SelectorStats:finalize +2026-11-29T20:05:31.961Z LH:status Trace Engine parse:UserInteractions:finalize +2026-11-29T20:05:31.962Z LH:status Trace Engine parse:Workers:finalize +2026-11-29T20:05:31.964Z LH:status Trace Engine parse:Warnings:finalize +2026-11-29T20:05:31.965Z LH:status Trace Engine parse:clone +2026-11-29T20:05:31.967Z LH:status Trace Engine insights +2026-11-29T20:05:31.967Z LH:status Trace Engine insights:CLSCulprits +2026-11-29T20:05:31.967Z LH:status Trace Engine insights:Cache +2026-11-29T20:05:31.968Z LH:status Trace Engine insights:DOMSize +2026-11-29T20:05:31.968Z LH:status Trace Engine insights:DocumentLatency +2026-11-29T20:05:31.968Z LH:status Trace Engine insights:DuplicatedJavaScript +2026-11-29T20:05:31.969Z LH:status Trace Engine insights:FontDisplay +2026-11-29T20:05:31.969Z LH:status Trace Engine insights:ForcedReflow +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:INPBreakdown +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:ImageDelivery +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:LCPBreakdown +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:LCPDiscovery +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:LegacyJavaScript +2026-11-29T20:05:31.970Z LH:status Trace Engine insights:ModernHTTP +2026-11-29T20:05:31.971Z LH:status Trace Engine insights:NetworkDependencyTree +2026-11-29T20:05:31.971Z LH:status Trace Engine insights:RenderBlocking +2026-11-29T20:05:31.971Z LH:status Trace Engine insights:SlowCSSSelector +2026-11-29T20:05:31.971Z LH:status Trace Engine insights:ThirdParties +2026-11-29T20:05:31.973Z LH:status Trace Engine insights:Viewport +2026-11-29T20:05:31.973Z LH:status Trace Engine insights:createLanternContext +2026-11-29T20:05:32.026Z LH:status Trace Engine insights:CLSCulprits +2026-11-29T20:05:32.027Z LH:status Trace Engine insights:Cache +2026-11-29T20:05:32.029Z LH:status Trace Engine insights:DOMSize +2026-11-29T20:05:32.030Z LH:status Trace Engine insights:DocumentLatency +2026-11-29T20:05:32.030Z LH:status Trace Engine insights:DuplicatedJavaScript +2026-11-29T20:05:32.030Z LH:status Trace Engine insights:FontDisplay +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:ForcedReflow +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:INPBreakdown +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:ImageDelivery +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:LCPBreakdown +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:LCPDiscovery +2026-11-29T20:05:32.031Z LH:status Trace Engine insights:LegacyJavaScript +2026-11-29T20:05:32.034Z LH:status Trace Engine insights:ModernHTTP +2026-11-29T20:05:32.035Z LH:status Trace Engine insights:NetworkDependencyTree +2026-11-29T20:05:32.037Z LH:status Trace Engine insights:RenderBlocking +2026-11-29T20:05:32.037Z LH:status Trace Engine insights:SlowCSSSelector +2026-11-29T20:05:32.037Z LH:status Trace Engine insights:ThirdParties +2026-11-29T20:05:32.055Z LH:status Trace Engine insights:Viewport +2026-11-29T20:05:32.129Z LH:status Getting artifact: ViewportDimensions +2026-11-29T20:05:32.130Z LH:status Getting artifact: FullPageScreenshot +2026-11-29T20:05:33.928Z LH:status Getting artifact: BFCacheFailures +2026-11-29T20:05:34.241Z LH:status Analyzing and running audits... +2026-11-29T20:05:34.242Z LH:status Auditing: Uses HTTPS +2026-11-29T20:05:34.244Z LH:status Auditing: Redirects HTTP traffic to HTTPS +2026-11-29T20:05:34.246Z LH:status Auditing: Has a `` tag with `width` or `initial-scale` +2026-11-29T20:05:34.248Z LH:status Auditing: First Contentful Paint +2026-11-29T20:05:34.273Z LH:status Auditing: Largest Contentful Paint +2026-11-29T20:05:34.276Z LH:status Auditing: First Meaningful Paint +2026-11-29T20:05:34.277Z LH:status Auditing: Speed Index +2026-11-29T20:05:34.546Z LH:status Auditing: Screenshot Thumbnails +2026-11-29T20:05:34.546Z LH:status Auditing: Final Screenshot +2026-11-29T20:05:34.548Z LH:status Auditing: Total Blocking Time +2026-11-29T20:05:34.569Z LH:status Auditing: Max Potential First Input Delay +2026-11-29T20:05:34.578Z LH:status Auditing: Cumulative Layout Shift +2026-11-29T20:05:34.579Z LH:status Auditing: No browser errors logged to the console +2026-11-29T20:05:34.581Z LH:status Auditing: Initial server response time was short +2026-11-29T20:05:34.582Z LH:status Auditing: Time to Interactive +2026-11-29T20:05:34.583Z LH:status Auditing: User Timing marks and measures +2026-11-29T20:05:34.585Z LH:status Auditing: Avoid chaining critical requests +2026-11-29T20:05:34.588Z LH:status Auditing: Avoid multiple page redirects +2026-11-29T20:05:34.593Z LH:status Auditing: Displays images with correct aspect ratio +2026-11-29T20:05:34.594Z LH:status Auditing: Serves images with appropriate resolution +2026-11-29T20:05:34.596Z LH:status Auditing: Avoids deprecated APIs +2026-11-29T20:05:34.598Z LH:status Auditing: Avoids third-party cookies +2026-11-29T20:05:34.598Z LH:status Auditing: Minimizes main-thread work +2026-11-29T20:05:34.645Z LH:status Auditing: JavaScript execution time +2026-11-29T20:05:34.678Z LH:status Auditing: Preconnect to required origins +2026-11-29T20:05:34.680Z LH:status Auditing: All text remains visible during webfont loads +2026-11-29T20:05:34.681Z LH:status Auditing: Diagnostics +2026-11-29T20:05:34.682Z LH:status Auditing: Network Requests +2026-11-29T20:05:34.684Z LH:status Auditing: Network Round Trip Times +2026-11-29T20:05:34.685Z LH:status Auditing: Server Backend Latencies +2026-11-29T20:05:34.686Z LH:status Auditing: Tasks +2026-11-29T20:05:34.687Z LH:status Auditing: Metrics +2026-11-29T20:05:34.687Z LH:lh:computed:TimingSummary:error Error: FCP All Frames not implemented in lantern at FirstContentfulPaintAllFrames.computeSimulatedMetric (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/first-contentful-paint-all-frames.js:16:11) at FirstContentfulPaintAllFrames.compute_ (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/metric.js:90:21) -2026-11-29T20:02:16.365Z LH:lh:computed:TimingSummary:error Error: LCP All Frames not implemented in lantern +2026-11-29T20:05:34.687Z LH:lh:computed:TimingSummary:error Error: LCP All Frames not implemented in lantern at LargestContentfulPaintAllFrames.computeSimulatedMetric (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/largest-contentful-paint-all-frames.js:21:11) at LargestContentfulPaintAllFrames.compute_ (file:///home/runner/work/Radio/Radio/node_modules/lighthouse/core/computed/metrics/metric.js:90:21) -2026-11-29T20:02:16.366Z LH:status Auditing: Resources Summary -2026-11-29T20:02:16.367Z LH:status Auditing: Minimize third-party usage -2026-11-29T20:02:16.375Z LH:status Auditing: Lazy load third-party resources with facades -2026-11-29T20:02:16.380Z LH:status Auditing: Largest Contentful Paint element -2026-11-29T20:02:16.382Z LH:status Auditing: Largest Contentful Paint image was not lazily loaded -2026-11-29T20:02:16.382Z LH:status Auditing: Avoid large layout shifts -2026-11-29T20:02:16.386Z LH:status Auditing: Avoid long main-thread tasks -2026-11-29T20:02:16.392Z LH:status Auditing: Avoid non-composited animations -2026-11-29T20:02:16.394Z LH:status Auditing: Image elements have explicit `width` and `height` -2026-11-29T20:02:16.395Z LH:status Auditing: Page has valid source maps -2026-11-29T20:02:16.397Z LH:status Auditing: Preload Largest Contentful Paint image -2026-11-29T20:02:16.397Z LH:status Auditing: Ensure CSP is effective against XSS attacks -2026-11-29T20:02:16.399Z LH:status Auditing: Use a strong HSTS policy -2026-11-29T20:02:16.400Z LH:status Auditing: Ensure proper origin isolation with COOP -2026-11-29T20:02:16.401Z LH:status Auditing: Mitigate clickjacking with XFO or CSP -2026-11-29T20:02:16.402Z LH:status Auditing: Mitigate DOM-based XSS with Trusted Types -2026-11-29T20:02:16.403Z LH:status Auditing: Script Treemap Data -2026-11-29T20:02:16.408Z LH:status Auditing: `[accesskey]` values are unique -2026-11-29T20:02:16.409Z LH:status Auditing: `[aria-*]` attributes match their roles -2026-11-29T20:02:16.414Z LH:status Auditing: Uses ARIA roles only on compatible elements -2026-11-29T20:02:16.416Z LH:status Auditing: `button`, `link`, and `menuitem` elements have accessible names -2026-11-29T20:02:16.417Z LH:status Auditing: ARIA attributes are used as specified for the element's role -2026-11-29T20:02:16.419Z LH:status Auditing: Deprecated ARIA roles were not used -2026-11-29T20:02:16.421Z LH:status Auditing: Elements with `role="dialog"` or `role="alertdialog"` have accessible names. -2026-11-29T20:02:16.422Z LH:status Auditing: `[aria-hidden="true"]` is not present on the document `` -2026-11-29T20:02:16.424Z LH:status Auditing: `[aria-hidden="true"]` elements do not contain focusable descendents -2026-11-29T20:02:16.426Z LH:status Auditing: ARIA input fields have accessible names -2026-11-29T20:02:16.426Z LH:status Auditing: ARIA `meter` elements have accessible names -2026-11-29T20:02:16.427Z LH:status Auditing: ARIA `progressbar` elements have accessible names -2026-11-29T20:02:16.428Z LH:status Auditing: Elements use only permitted ARIA attributes -2026-11-29T20:02:16.429Z LH:status Auditing: `[role]`s have all required `[aria-*]` attributes -2026-11-29T20:02:16.431Z LH:status Auditing: Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children. -2026-11-29T20:02:16.437Z LH:status Auditing: `[role]`s are contained by their required parent element -2026-11-29T20:02:16.437Z LH:status Auditing: `[role]` values are valid -2026-11-29T20:02:16.439Z LH:status Auditing: Elements with the `role=text` attribute do not have focusable descendents. -2026-11-29T20:02:16.440Z LH:status Auditing: ARIA toggle fields have accessible names -2026-11-29T20:02:16.441Z LH:status Auditing: ARIA `tooltip` elements have accessible names -2026-11-29T20:02:16.443Z LH:status Auditing: ARIA `treeitem` elements have accessible names -2026-11-29T20:02:16.445Z LH:status Auditing: `[aria-*]` attributes have valid values -2026-11-29T20:02:16.448Z LH:status Auditing: `[aria-*]` attributes are valid and not misspelled -2026-11-29T20:02:16.450Z LH:status Auditing: Buttons have an accessible name -2026-11-29T20:02:16.457Z LH:status Auditing: The page contains a heading, skip link, or landmark region -2026-11-29T20:02:16.459Z LH:status Auditing: Background and foreground colors have a sufficient contrast ratio -2026-11-29T20:02:16.460Z LH:status Auditing: `
`'s contain only properly-ordered `
` and `
` groups, ` + diff --git a/js/app.js b/js/app.js index 56afecf5..41e56b04 100644 --- a/js/app.js +++ b/js/app.js @@ -573,7 +573,7 @@ function applyI18n() { function rebuildDynamic() { buildBandFilter(); renderSDR(); - buildFMFacets(); + buildFMFacets().catch(function(){}); renderChips(); renderFM(); renderFav(); @@ -678,20 +678,25 @@ function splitList(v) { return String(v || '').split(',').map(function (x) { return x.trim().toLowerCase(); }).filter(Boolean); } -function buildFMFacets() { +async function buildFMFacets() { var countries={},langs={},categories={}; var languageKeys=Object.create(null), tagKeys=Object.create(null); - state.fm.forEach(function(s){ - if(s.cc)countries[s.cc]=(countries[s.cc]||0)+1; - splitList(s.language).forEach(function(lang){ - if (!(lang in languageKeys)) languageKeys[lang]=canonicalLanguage(lang); - var key=languageKeys[lang]; - if (key) langs[key]=(langs[key]||0)+1; - }); - var tags=s.tags||''; - if (!(tags in tagKeys)) tagKeys[tags]=splitList(normalizeCategories(tags)); - tagKeys[tags].forEach(function(tag){categories[tag]=(categories[tag]||0)+1;}); - }); + /* تقسيم الحلقة على مهام صغيرة: 61 ألف صف في مهمة واحدة = مهمة طويلة تحرق TBT */ + for (var fi=0; fi { assert.equal(sandbox.canonicalLanguage('rare conlang'), 'rare conlang'); }); -test('language filter merges duplicates and ranks by station count', () => { +test('language filter merges duplicates and ranks by station count', async () => { const elements = {}; sandbox.document.getElementById = id => elements[id] || (elements[id] = {}); sandbox.state.fm = [ @@ -76,7 +76,7 @@ test('language filter merges duplicates and ranks by station count', () => { { name: 'E', url: 'https://e.test/5', cc: 'ES', language: 'Espanol', tags: '' }, { name: 'F', url: 'https://f.test/6', cc: 'GB', language: 'english', tags: '' } ]; - sandbox.buildFMFacets(); + await sandbox.buildFMFacets(); const langs = sandbox.FACET_OPTIONS.language; assert.deepEqual(Array.from(langs, o => o.value), ['french', 'spanish', 'english']); assert.equal(langs[0].count, 3); From 27e61ea944ef2f97949f22aa51415264ae9c1840 Mon Sep 17 00:00:00 2001 From: Vibe Perf Bot Date: Sun, 29 Nov 2026 20:13:15 +0000 Subject: [PATCH 10/63] chore(perf): lighthouse evidence drop v3 --- install-status.txt | 1 + lh-out/cls-detail.json | 2 +- lh-out/desktop-summary.json | 2 +- lh-out/desktop.json | 3232 ++++++++++++++-------------- lh-out/listing.txt | 34 +- lh-out/longtasks-mobile.json | 2 +- lh-out/mobile1-summary.json | 2 +- lh-out/mobile1.json | 3911 ++++++++++++++++++---------------- lh-out/mobile2-summary.json | 2 +- lh-out/mobile2.json | 3637 ++++++++++++++++--------------- 10 files changed, 5667 insertions(+), 5158 deletions(-) diff --git a/install-status.txt b/install-status.txt index e2fe3bd8..ad1c930f 100644 --- a/install-status.txt +++ b/install-status.txt @@ -1,3 +1,4 @@ no-override no-override no-override +no-override diff --git a/lh-out/cls-detail.json b/lh-out/cls-detail.json index 7c98f7d6..aaeb88d4 100644 --- a/lh-out/cls-detail.json +++ b/lh-out/cls-detail.json @@ -1 +1 @@ -{"type":"table","headings":[{"key":"node","valueType":"node","subItemsHeading":{"key":"extra"},"label":"Element"},{"key":"score","valueType":"numeric","subItemsHeading":{"key":"cause","valueType":"text"},"granularity":0.001,"label":"Layout shift score"}],"items":[{"node":{"type":"node","lhId":"page-1-SECTION","path":"1,HTML,1,BODY,1,MAIN,1,SECTION","selector":"body > main > section#panel-fm","boundingRect":{"top":251,"bottom":16039,"left":22,"right":390,"width":368,"height":15787},"snippet":"
","nodeLabel":"استمع الآن\n📻\nإذاعة محمد السادس للقرآن الكريم\n🇲🇦 المغرب · عربي · quran\n🤍\n🏛 رسمي\n▶…"},"score":0.598114754794199},{"node":{"type":"node","lhId":"page-5-BUTTON","path":"1,HTML,1,BODY,0,HEADER,0,DIV,0,BUTTON","selector":"body > header.hero > div.controls > button#theme-btn","boundingRect":{"top":10,"bottom":55,"left":204,"right":246,"width":42,"height":45},"snippet":"