Skip to content

feat(symbols): find symbol files on disk by debug id or name - #15

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

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

Conversation

@bobbyg603

Copy link
Copy Markdown
Member

Adds bugsplat symbols find: bugsplat-symbols walks the --path folders in parallel and reports the PE, PDB, ELF, Mach-O and Breakpad .sym files matching a --debug-id (any case, dashes ignored) or --name (case-insensitive glob on the file, module or bundle name), or every symbol file when neither is given, with --max-depth, --no-ignore and --follow; .dSYM, .app and .xcarchive bundles are read as one unit, requested ids and names without a match are listed last and make the command exit 1, and --json prints the same result. A file only reaches the debug-id reader when its extension doesn't rule it out and its first bytes are a known signature, and the reader is a parameter of bugsplat_symbols::find, so until bugsplat_debugid::read lands the search is tested with a stand-in reader over temporary trees (matching, ignore rules, depth, symlinks, bundles, missing ids, JSON, and 5,000 non-symbol files that never reach the reader), plus CLI tests for arguments, empty results, exit codes and the JSON shape; cargo fmt, cargo clippy -D warnings and cargo test --workspace pass. Closes #6

🤖 Generated with Claude Code

`bugsplat symbols find` walks the given folders in parallel and reports
the PE, PDB, ELF, Mach-O and Breakpad .sym files whose debug id or name
was requested, or every symbol file when nothing is requested. .dSYM,
.app and .xcarchive bundles are read as one unit. Files are only handed
to the debug-id reader when their extension doesn't rule them out and
their first bytes are a known signature. The reader is a parameter of
`bugsplat_symbols::find`, so the search is tested with a stand-in until
`bugsplat_debugid::read` lands.

Closes #6

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-find 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