Dashboard › cli › Distillation
5a73a3a5-249b-41ab-ba13-08b5d5cd4ded["lore_tm_v1_Ri7LWsEUgjewNz3LXf2Z-_EWtX6ViGioxNMOib_mgfo","lore_tm_v1_3qK0c1BAWxUxrkRcXIgdjvS3VYhRC8HYo2VM9sKZIpM","lore_tm_v1_2mcxa3Z_cNfSc87m3X8sMDkFmGNaEeDWRvBw7i3cKwg","lore_tm_v1_ET2tTK4ylxwvt3arjg6g7VR9gDa_bwDWtufynNcJPp8","lore_tm_v1_LhXQg8icS5ASLYwqEQzYEqIyrDaul3cEzInTANknI0c","lore_tm_v1_PkuVKT7Xs9C9nXaqnj4HQo2gttPa3ovxUOqVREpeR9c","lore_tm_v1_cpoLgxckbXfMx08CYRwbgApi9ELx90wxx4zlfqH0o7k","lore_tm_v1_oROoL_WvDYVnpds83Wh3MxJqwdnuQg3suAszAFTlJS0","lore_tm_v1_RolhWnNqEvhOsKJhZDBYnf0mXjPya1HKchdnV-zL5Y8","lore_tm_v1_kk9K_PBeqLVOuZsQbVBmsOqgDcbcpwR0JiONH-WwKcs","lore_tm_v1_rJ1NNQc_Xeutn4xiCAA5wyJKD5UZDvsaVNJEWn-lW58","lore_tm_v1_-9h55gvj5uzS5ePDOpMjL-e0b090MtqY-kiepqFQT-A","lore_tm_v1_SL7_6jqe-Lpuleq-rl9j1yJw6qrzZwazttGXJQbdyq4","lore_tm_v1_2pgaWrzTExF-4mTHOFMm4ybn07VJBaVDt8BNkWI-vdA","lore_tm_v1_1rvYHPBjxJrn3eTc98PUPIr-SXBsEu8sMttjPNABskI","lore_tm_v1_ikh86f3deJOdjd6TsNcSZaVKaa4WiTIN9qSWrwakaGI","lore_tm_v1_sgIxFRNH-gBKSPKYHE8OSeNAwtnRVHSZKXYQco5rMXI","lore_tm_v1_x31oLEvgD892kyej6FrrRbCM8vgrHKC-RLJzpt_QzAo"]
packages/cli/src/commands/debug-files/upload.ts, real uploads fetch ChunkServerOptions before scanning and use the server-advertised positive maxFileSize instead of DEFAULT_MAX_DIF_SIZE, ensuring a file the server would reject is never read into memory.DEFAULT_MAX_DIF_SIZE, and are purely informational: they report candidate uploads, missing requested IDs, and oversized-file skips without erroring.packages/cli/src/commands/debug-files/upload.ts supports recursively scanning Mach-O/dSYM, ELF, PE/PDB, Portable PDB, WebAssembly, Breakpad, source bundles, and JVM files. ZIPs are scanned in place by default, but nested archives are not recursed; --no-zips disables ZIP scanning.<name>.pdb files. --il2cpp-mapping computes Unity IL2CPP C++βC# line mappings from referenced generated C++ sources, and --include-sources can additionally bundle referenced C# sources.--type/-t values (dsym, elf, pe, pdb, portablepdb, wasm, breakpad, sourcebundle, jvm), --no-debug, --no-unwind, --no-sources, --include-sources, --il2cpp-mapping, --derived-data, --no-zips, --wait, and numeric --wait-for.--symbol-maps is unsupported because it only applies to deprecated Apple Bitcode; users needing it must use the legacy Rust sentry-cli.collectScanPaths(paths, Boolean(flags["derived-data"])); no targets raises ContextError("Debug file path(s)", USAGE_HINT, []). Prepared files are passed through buildDifList() and dedupeDifs(), while requested IDs are checked with missingRequestedIds(flags.id, prepared).packages/cli/test/commands/issue/resolve-commit-spec.test.ts establishes that every failure mode in commit-spec resolution always throws ValidationError, never silently failing.packages/cli/test/commands/issue/merge.func.test.ts establishes that --into is always part of the merge set. One positional plus --into is a valid two-issue merge (CLI-1AE fix), and two or more positionals plus a distinct --into include that target rather than dropping it (CLI-1AF fix).--into issue to the front as the preferred parent, but Sentry may override that preference; the command warns only when Sentry overrides it. The merge requires at least 2 distinct resolved issues, so a positional and identical --into target trigger the deduplication guard.--into as a short ID, an org-qualified short ID, or a project-alias suffix such as f-g; unresolved --into values surface the not-found error, while authentication and 5xx ApiErrors propagate rather than being masked.packages/cli/test/commands/project/create.test.ts establishes that project specifications with missing platforms (my-app or my-app:) raise ValidationError with EXIT.VALIDATION, mention common platforms including javascript-nextjs and python, and direct users to sentry platform list." <platform>" must never be suggested. Trailing-platform batches such as sentry project create web api node were never supported and must raise ValidationError requiring <name>:<platform> syntax without calling createProjectWithDsn.ContextError containing "Project specification is required" and usage sentry project create [<org>/]<name>:<platform>...; empty or whitespace-only names raise ValidationError containing "Project name cannot be empty".listTeams fails with a 404 during project creation, the command wraps it as ResolutionError, includes the attempted organization such as acme-corp, and lists the userβs actual organizations such as other-org; auto-detected organization sources such as test/mocks/routes.ts are surfaced.packages/cli/test/commands/event/send.test.ts verifies that an inline "Test message" with level "error" sends exactly 1 envelope containing "type":"event" and prints "Event dispatched" plus a 32-character lowercase hexadecimal event ID.--level in the envelope body, converts tag pairs such as env:prod and region:us into JSON tags, emits JSON with an eventId field under --json, raises a configuration error when no DSN is available, converts nonexistent input-file failures to ValidationError rather than a raw stack trace, and requires file arguments with --raw.packages/cli/test/commands/help.test.ts verifies that sentry help --json outputs a JSON object with a nonempty routes array; each route has name, brief, and commands, known routes include help, auth, issue, and api, and framework-injected flags are included. JSON help also supports group, command, and nested routes such as issue, issue list, api, dashboard widget, and dashboard widget add.packages/cli/test/commands/dashboard/list.test.ts verifies that an empty dashboard collection prints "No dashboards found."; --web resolves the organization, calls openInBrowser, and does not call listDashboardsPaginated; --limit is passed to the API as perPage.packages/cli/test/commands/local/run.test.ts verifies that no explicit command plus failed auto-detection raises ValidationError containing "No command provided and could not auto-detect"; supplying only the positional separator "--" also raises ValidationError.package.json script such as { "scripts": { "dev": "echo hello" } }, runs "echo hello", and treats exit status 0 as success. Tests also verify injection of SENTRY_SPOTLIGHT into the child environment, including port 19_876.packages/cli/test/commands/react-native/xcode.test.ts uses a temporary react-native-xcode.sh, mocked context executable /usr/bin/sentry, and resolved target { org: "acme", project: "mobile" }. Running outside Xcode errors; CONFIGURATION: "Debug" runs the script once without sourcemap upload; release mode wraps the build, reads SENTRY_RN_SOURCEMAP_REPORT containing packager_bundle_path and packager_sourcemap_path, and uploads.packages/cli/test/commands/debug-files/upload.test.ts covers: no paths exiting nonzero; --wait plus --wait-for exiting nonzero; unknown --type exiting nonzero; --derived-data being additive to explicit paths; --derived-data alone on non-macOS producing no scan targets and exiting nonzero; --require-all with a missing ID exiting nonzero; server maxFileSize gating all files with a clear nonzero error; partial oversized-file drops still uploading remaining files but exiting nonzero; wait-mode processing errors exiting nonzero; not_found chunk-delivery results exiting nonzero; and --require-all remaining effective when the real-upload queue is empty.