Repository navigation
Conversation
`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>
Merged
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
bugsplat symbols uploadandbugsplat symbols deleteon a newbugsplat-uploadlibrary 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--jsonsummary are new. The pipeline takes the debug id reader as a parameter, so it is tested with a fake reader untilbugsplat_debugid::readlands. Tested withwiremockunit tests for every bullet in the issue, CLI tests through the binary, and end to end against LocalStack (http://localhost:8085, databaseFred, applicationbugsplat-cli-test), where a signed-in user's OAuth access token was accepted by/symsrv/uploadUrl,/symsrv/uploadCompleteand/api/v2/versions(HTTP 200 each, 401 without a token), so client credentials are not required there. Closes #7🤖 Generated with Claude Code