Audit sourcemap coverage for minified errors

Find which production errors cannot be unmangled because sourcemaps are missing, stale, or uploaded under the wrong release.

Published

difficulty intermediate · time to value 5 minutes

Start from this

Audit sourcemap coverage for current open client-side errors. Which cases still have minified stacks, and which release/source_url pairs need maps uploaded?

Why this matters

Minified stacks turn an easy frontend bug into archaeology. The fastest fix is often not code; it is uploading the missing .map for the right release and source URL.

What you get

  • Open client-side cases with minified frames
  • Which sourcemaps are already uploaded
  • Missing release/source URL pairs
  • A suggested upload command or CI step

Walk through it

You

Which production errors still need sourcemaps?

Agent

I’ll list client-side cases, try local unmangling, then compare against uploaded sourcemaps.

GET /v1/projects/:project_id/cases { project_id: "default", status: "open" }
GET /v1/projects/:project_id/sourcemaps { project_id: "default" }

The output

The agent returns a punch list of missing maps. For each top case, it should include release, source URL, and whether local translation succeeded.

Setting it up

Upload sourcemaps after every frontend build. Keep release identifiers consistent between error events and uploaded artifacts.

Variations

  • “Only audit the latest release.”
  • “Generate the CI upload step for Vite.”
  • “Which cases became readable after the last sourcemap upload?”

Try this recipe in your own agent.

Ask your agent to adapt the starter prompt to your saved signal map and live events, then run it against your data.

Install agentry.sh/install.md for me
Agent will onboard itself and then your app