Skip to content

feat(symbols): upload and delete - #18

Closed
bobbyg603 wants to merge 1 commit into
feat/scaffoldfrom
feat/symbols-upload
Closed

bobbyg603 wants to merge 1 commit into
feat/scaffoldfrom
feat/symbols-upload

Conversation

@bobbyg603

Copy link
Copy Markdown
Member

Adds bugsplat symbols upload and bugsplat symbols delete on a new bugsplat-upload library that mirrors @bugsplat/symbol-upload: files with a debug id are gzipped and sent through /symsrv/uploadUrl, a presigned PUT and /symsrv/uploadComplete, source maps and the other legacy kinds are zipped and sent through /api/v2/versions, anything else is skipped with a warning, and retries back off with jitter and share one pause on a 429; --dry-run, per-file progress and a --json summary are new. The pipeline takes the debug id reader as a parameter, so it is tested with a fake reader until bugsplat_debugid::read lands. Tested with wiremock unit tests for every bullet in the issue, CLI tests through the binary, and end to end against LocalStack (http://localhost:8085, database Fred, application bugsplat-cli-test), where a signed-in user's OAuth access token was accepted by /symsrv/uploadUrl, /symsrv/uploadComplete and /api/v2/versions (HTTP 200 each, 401 without a token), so client credentials are not required there. Closes #7

🤖 Generated with Claude Code

`bugsplat symbols upload` does what `@bugsplat/symbol-upload` does: files
with a debug id are gzipped and sent through /symsrv/uploadUrl, a presigned
PUT and /symsrv/uploadComplete; source maps, .sym files without an id, Unity
LineNumberMappings*.json and .zip files are zipped and sent through
/api/v2/versions; anything else is skipped with a warning. Each slice of a
fat Mach-O file uploads under its own id. Retries use exponential backoff
with jitter, stop on 4xx other than 408 and 429, and a 429 pauses every
worker. New: --dry-run, per-file progress, and a summary (--json).

`bugsplat symbols delete` calls DELETE /api/v2/versions after confirming.

The pipeline takes the debug id reader as a parameter; the command passes
`bugsplat_debugid::read`.

Closes #7

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@bobbyg603 bobbyg603 mentioned this pull request Nov 24, 2026
@bobbyg603

Copy link
Copy Markdown
Member Author

Closing in favor of #21, which contains this branch together with the other phase 1 streams and the fixes made when they were combined. This pull request's diff is still here for reviewing this stream on its own; the branch is not deleted.

@bobbyg603 bobbyg603 closed this Nov 24, 2026
@bobbyg603
bobbyg603 deleted the feat/symbols-upload branch November 25, 2026 22:19
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