Description
Severity: P2 · Area: Source maps · Found by: QA
Summary
Source-map upload is a headline feature but had no public docs, no Next.js path, and the docs referenced a CLI (@telemetry-tracker/cli) that 404s on npm. Partially fixed: /docs/source-maps, a Next.js section and a public GitHub Action now exist and symbolication works, but the documented Next.js path still fails on a default app.
Environment and versions
First seen 2026-09-25 (API 1.17.17). Retested 2026-09-26 09:54–10:02 CEST on API 1.17.23 with a fresh Next 16.3.6 app, @telemetry-tracker/[email protected], and the Action Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@main. Docs/UI recheck on API 1.17.24 at 10:33 CEST (no upload).
Steps to reproduce
npx create-next-app@latest sm-check --ts --app --yes && cd sm-check && npm i @telemetry-tracker/next@latest- Apply only what /docs/source-maps and /docs/nextjs say (including the release string), build.
- Run the Action's
upload.cjswith the documented inputs (artifact_path: .next,project_id, a CI key with source-map upload enabled).
Expected
The documented steps produce browser source maps, upload only those within the Free quota, and errors from client components symbolicate. The project ID the docs ask for can be found in the UI.
Actual
Fixed since 2026-09-25: /docs/source-maps exists (sitemap, sidebar, hosted-cloud step 4) with a Next.js section; the Action is public and works (1 real upload → 201); ingest-only key → 403, CI key → 201; errors at the same release symbolicate to the original app/*.tsx file and line; the CLI reference is gone.
Still failing (2/2, unchanged on 1.17.24):
- The docs never mention
productionBrowserSourceMaps: true, so a default Next 16 build has 0 browser maps andartifact_path: .nextwould upload only server maps (34 in a hello-world app), which browsers never load. - With browser maps enabled, the Action uploads everything under
.next(44 maps for a hello-world app) against a Free quota of 25 artifacts per project across all releases, so the first release would hit the storage limit (inferred from a dry run and the code; not run for real to protect the quota). The quota isn't mentioned in the docs or on /pricing. - The required
project_id("your-project-uuid") isn't shown anywhere in the dashboard, and the API returns 400 withoutX-Project-Ideven though the key identifies its project. - Settings → Source maps still says "Upload via POST /api/project/source-maps (EDITOR+ session). See docs/source-maps.md" (a repo path, no link to /docs/source-maps).
Acceptance criteria
- The project ID is visible and copyable in the UI (or the upload derives the project from the key).
- Following the docs,
.next/static/chunks/*.jscontainsourceMappingURL. - The Action uploads only browser maps (≤ 15 for a starter app) and exits 0 on a fresh Free project.
- An error thrown from a client component at that release shows
symbolication_status: symbolicatedwith the originalapp/*.tsxfile and line. - Settings → Source maps links to /docs/source-maps and no longer says "EDITOR+ session".
Fix references
- Partial fixes landed between 2026-09-25 and 2026-09-26 (public /docs/source-maps page, Action path); the specific PRs/commits are not recorded in the QA sources.
History
- 2026-09-25: first reported (no public docs; CLI 404).
- 2026-09-26 09:54–10:02 CEST: partially fixed on 1.17.23 (4 items still failing).
- 2026-09-26 10:33 CEST: the 4 items unchanged on 1.17.24.
Migrated from the QA regression list on 2026-09-26. Source: QA reports 2026-09-25-baseline-public.md, 2026-09-26-sweep.md (#tt-005).
Activity
unjica commentedon Oct 11, 2026
Tracking note: the deferred live source-map matrix (Next.js 15 webpack, Next.js 16 Turbopack, Vercel, plain Node) from closed #691 is already stated as not executed in docs/source-maps.md; track the live runs here.
Merge pull request #807 from Telemetry-Tracker/fix/714-members-invites
unjica commentedon Oct 16, 2026
Fixed in #807, released in v1.22.4: /docs/source-maps documents productionBrowserSourceMaps, artifact_path .next/static + base_url …/_next/static (browser maps only) and plan quotas (Free 25); X-Project-Id is optional for API-key uploads; Settings → Source maps shows a copyable Project ID and links to /docs/source-maps. The live Next 16 upload run is with QA; reopen if it fails.