Skip to content

SMOODEV-1164: th observability sourcemaps upload#201

Open
brentrager wants to merge 1 commit into
mainfrom
o11y-errors-cli
Open

SMOODEV-1164: th observability sourcemaps upload#201
brentrager wants to merge 1 commit into
mainfrom
o11y-errors-cli

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Problem

The Error Tracking dashboard de-obfuscates minified stack frames by joining error_sourcemaps on (release_id, file_path) — but nothing ever populated that table, so every deployed frame stayed minified.

Solution

th observability sourcemaps upload <dir> (aliased th o11y):

  • walks a build directory for every .js/.mjs paired with a .map
  • registers each map with the backend API
  • PUTs the bytes to the presigned S3 URL the API returns

Verification

cargo clippy --workspace --all-targets clean; cargo fmt --check clean. Not yet exercised against a real build dir — worth one live run against a deployed release before relying on the dashboard symbolication.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EE5WjKwCN1qGfC81GMmrHp

…stack frames

The Error Tracking dashboard joins error_sourcemaps on (release_id, file_path)
to de-obfuscate minified frames, but nothing populated that table. This walks a
build dir, registers every .js/.mjs paired with a .map via the backend API, and
PUTs the bytes to the presigned S3 URL the API hands back.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE5WjKwCN1qGfC81GMmrHp
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b5e311a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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