Skip to content

fix(runtime): resolve cached fonts and browser logging - #713

Merged
harlan-zw merged 2 commits into
mainfrom
fix/fonts-build-cache
Sep 30, 2026
Merged

harlan-zw merged 2 commits into
mainfrom
fix/fonts-build-cache

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Repeated builds can retain Nuxt Fonts downloads while losing their URL mapping, causing Font … not found in mapping or cache during prerender. Dev and prerender now read the active font cache before public output or a CDN fetch.

The shared runtime logger also drops an unused color helper that imported node:tty through consola/utils. Browser builds can use the logger without Node compatibility warnings.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

⚡ Edge Startup

✅ No structural startup change

All startup metrics (7)
Metric Base → PR Δ
Cold import CPU 117.4 ms ±1.7% → 116.2 ms ±0.7% -1.1%
Cold import wall 117.7 ms ±1.7% → 116.5 ms ±0.7% -1.0%
Cold import RSS 50.3 MiB → 50.4 MiB +0.3%
WASM modules constructed 1 → 1 ✅ 0
WASM module bytes compiled 2.4 MiB → 2.4 MiB 0.0%
WASM instantiations started 2 → 2 ✅ 0
Server entry 4.7 MiB → 4.7 MiB -0.0%

Baseline: f763491 · PR: 84d38ff · 12 fresh Node processes · timings are informational · WASM counters determine the verdict

@pkg-pr-new

pkg-pr-new Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-og-image@713

commit: 84d38ff

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

📦 Package Size

⚠️ 1 size metric grew

Package output Gzipped Δ
nuxt-og-image · server runtime 67 kB → 67 kB 🔴 +52 B (+0.1%)
All tracked output (19)
Package output Gzipped Raw
nuxt-og-image · dependency @clack/prompts 12 kB 51 kB ✅
nuxt-og-image · dependency @vue/compiler-sfc 578 kB 2.63 MB ✅
nuxt-og-image · dependency chrome-launcher 21 kB 69 kB ✅
nuxt-og-image · dependency devalue 21 kB 63 kB ✅
nuxt-og-image · dependency lightningcss 1.4 kB 3.6 kB ✅
nuxt-og-image · dependency magicast 72 kB 355 kB ✅
nuxt-og-image · dependency mocked-exports 1.3 kB 2.6 kB ✅
nuxt-og-image · dependency nuxt-site-config 10 kB 25 kB ✅
nuxt-og-image · dependency nuxtseo-shared 23 kB 78 kB ✅
nuxt-og-image · dependency oxc-parser 132 kB 1.38 MB ✅
nuxt-og-image · dependency radix3 4.3 kB 16 kB ✅
nuxt-og-image · dependency strip-literal 711 B 2.3 kB ✅
nuxt-og-image · dependency tinyexec 4.1 kB 13 kB ✅
nuxt-og-image · export . 370 B 886 B ✅
nuxt-og-image · export ./content 324 B 607 B ✅
nuxt-og-image · published payload 173 kB 600 kB ✅
nuxt-og-image · app runtime 9.0 kB 27 kB ✅
nuxt-og-image · server runtime 67 kB 184 kB 🔴
nuxt-og-image · shared runtime 3.4 kB 10 kB ✅
Runtime dependencies (30)
Package Dependency Requested Resolved Cost
nuxt-og-image @clack/prompts ^1.8.1 1.8.1 📦 12 kB gzip
nuxt-og-image @nuxt/kit ^4.5.2 4.5.2 ♻️ free via Nuxt 4.5.2
nuxt-og-image @vue/compiler-sfc ^3.5.43 3.5.43 📦 578 kB gzip
nuxt-og-image chrome-launcher ^1.2.1 1.2.1 📦 21 kB gzip
nuxt-og-image consola ^3.4.2 3.4.2 ♻️ free via Nuxt 4.5.2
nuxt-og-image defu ^6.1.7 6.1.7 ♻️ free via Nuxt 4.5.2
nuxt-og-image devalue ^6.0.2 6.0.2 📦 21 kB gzip, Nuxt has 5.9.2
nuxt-og-image exsolve ^1.1.1 1.1.1 ♻️ free via Nuxt 4.5.2
nuxt-og-image fnv1a-64 ^0.1.2 0.1.2 ♻️ free via Nuxt 4.5.2
nuxt-og-image lightningcss ^1.33.0 1.33.0 📦 1.4 kB gzip
nuxt-og-image magic-string ^1.4.2 1.4.2 ♻️ free via Nuxt 4.5.2
nuxt-og-image magicast ^0.5.5 0.5.5 📦 72 kB gzip
nuxt-og-image mocked-exports ^0.1.1 0.1.1 📦 1.3 kB gzip
nuxt-og-image nuxt-site-config ^4.2.3 4.2.3 📦 10 kB gzip
nuxt-og-image nuxtseo-shared ^5.3.16 5.3.16 📦 23 kB gzip
nuxt-og-image nypm ^0.6.10 0.6.10 ♻️ free via Nuxt 4.5.2
nuxt-og-image object-identity ^0.2.3 0.2.3 ♻️ free via Nuxt 4.5.2
nuxt-og-image ofetch ^1.5.1 1.5.1 ♻️ free via Nuxt 4.5.2
nuxt-og-image ohash ^2.0.12 2.0.12 ♻️ free via Nuxt 4.5.2
nuxt-og-image oxc-parser ^0.151.0 0.151.0 📦 132 kB gzip
nuxt-og-image oxc-walker ^1.1.1 1.1.1 ♻️ free via Nuxt 4.5.2
nuxt-og-image pathe ^2.0.3 2.0.3 ♻️ free via Nuxt 4.5.2
nuxt-og-image pkg-types ^2.3.3 2.3.3 ♻️ free via Nuxt 4.5.2
nuxt-og-image radix3 ^1.1.2 1.1.2 📦 4.3 kB gzip
nuxt-og-image std-env ^4.2.0 4.2.0 ♻️ free via Nuxt 4.5.2
nuxt-og-image strip-literal ^4.0.0 4.0.0 📦 711 B gzip
nuxt-og-image tinyexec ^1.3.1 1.3.1 📦 4.1 kB gzip
nuxt-og-image ufo ^1.6.4 1.6.4 ♻️ free via Nuxt 4.5.2
nuxt-og-image ultrahtml ^1.7.0 1.7.0 ♻️ free via Nuxt 4.5.2
nuxt-og-image unplugin ^3.4.0 3.4.0 ♻️ free via Nuxt 4.5.2

Baseline: main_@_f7634911___2026-09-30 · gzip is the comparison metric · changes below 16 B gzip are ignored

@harlan-zw

harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Harlan Agent Kit posted this automated status. AI open source policy.

Action required: A public API changed. Check compatibility before releasing.

@harlan-zw harlan-zw added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 30, 2026
@harlan-zw

harlan-zw commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-30 08:55 UTC.

GitHub merged this pull request.

  • Logged (10/100): Dev font resolution can prefer a stale build-cache file over the user's current public/ font of the same name. View code
    • Ask an agent to verify and fix this finding

f93ad507-6e9c-4b01-8c30-d65375a80fc2

Selected findings run after merge and open separate pull requests.

@harlan-zw harlan-zw removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 30, 2026
@harlan-zw harlan-zw changed the title fix(fonts): read cached Nuxt fonts before remote sources fix(runtime): resolve cached fonts and browser logging Sep 30, 2026
@harlan-zw harlan-zw added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Sep 30, 2026
@harlan-zw
harlan-zw merged commit e09f53b into main Sep 30, 2026
17 checks passed
@harlan-zw harlan-zw removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant