Skip to content

fix(core): report Vue/Nuxt component errors + Nuxt 4 guide paths (#919, #922) - #926

Merged
unjica merged 3 commits into
developfrom
fix/tt-034-037-vue-nuxt-errors
Nov 4, 2026
Merged

unjica merged 3 commits into
developfrom
fix/tt-034-037-vue-nuxt-errors

Conversation

@unjica

@unjica unjica commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Base branch: develop

Summary

Closes #919
Closes #922

How to test

  • Regression tests: packages/telemetry-core/src/vue.test.ts (real Vue 3.5 SSR app whose component throws → exactly one /ingest/error with component name; chaining; console fallback; idempotent/uninstall; no-op before init) and apps/dashboard/app/docs/nuxt/nuxt-guide-paths.test.ts (guide paths under app/, Nuxt 3 paths labelled, handler installed).
  • Core pnpm test now runs tsc -p tsconfig.test.json first (compile check that a real Vue App is accepted).
  • pnpm lint, pnpm test (all workspaces), pnpm -r run build, committed dist matches build: pass.
  • Production builds against prod (QA project, packed core 1.6.0 tarball), 2/2 + 2/2 reruns:
    • Vue 3 + Vite 8 (vite build, vue-tsc --build OK): click / async click / render errors → 3/3 /ingest/error 204 each run (previously 0/3); setTimeout uncaught still reported; console.error kept.
    • Nuxt 4.6 (nuxt build, files in app/ per new guide, vue-tsc on .nuxt/tsconfig.app.json OK): click / async / render → reported each run; $screen from app/middleware sent; Nuxt's own error handler still runs (chained).
    • All read back via the dashboard errors API.

Checklist

  • Tests pass
  • Lint passes
  • Build succeeds
  • CHANGELOG.md updated under [Unreleased]
  • Documentation updated
  • No breaking changes

Security / privacy

Errors go through the existing trackError path (client PII scrubbing applies). No server changes.

@unjica

unjica commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator Author

QA (QA / Product Reliability): PASS for #919 / #922. CI green (build, CodeQL). Local: lint, all workspace tests, pnpm -r run build, dist matches. Prod builds against the QA project with packed core 1.6.0, 4 runs each (r1–r4): Vue 3 + Vite 8 click/async/render errors 3/3 reported per run (were 0/3), window.onerror path unchanged, console.error kept; Nuxt 4.6 with files in app/ per the updated guide: click/async/render reported, $screen from app/middleware sent, Nuxt's own handler still chained. vue-tsc on both apps OK. All errors read back via the dashboard API. Refs #919, Refs #922

@unjica
unjica merged commit 8ae1e18 into develop Nov 4, 2026
7 checks passed
@unjica unjica mentioned this pull request Nov 4, 2026
2 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant