Dashboard › cli › Distillation
1544546d-2518-44ab-b4f7-ea3c56e3b3a4["lore_tm_v1_P5Xeg70zN0ySdwrEPNhlgc3a749GEcIWPTip1e2o87s","lore_tm_v1_v5t0wU430OwVqpIg1uMM1vb3VWh3t4pbj0zysG4IC84","lore_tm_v1_6ekPNSAY_QkBBHPUGXCYUcICG9iHWvIjRzVZ3FU2iRQ","lore_tm_v1_9MLAs9rrxtOR5S8G-D3dtDP6hEagHTOneOzxmH1tkyY","lore_tm_v1_4C3gr6UlN8Fwxge1BZbyzLNVULgTVFAes9tv2rOSrMw","lore_tm_v1_2iL82AgAMTm1m4UfhrvvVEeSdO1tSUzFHm_8qQPVbUA","lore_tm_v1_cpXRuJsY54cyzcUeqgV4ql_21QL1k9xs562fD2fK3aw"]
packages/cli/test/commands/event/view.test.ts verifies parsePositionalArgs([]) throws ContextError; the usage-hint error mentions "Event ID"."latest", "latest" as the second argument, and uppercase "LATEST" with ContextError; one tested error specifically mentions "Issue ID".ContextError for "sentry/cli" (missing event ID) and "sentry/cli/" (trailing slash); the one-slash error mentions "Event ID".ContextError.packages/cli/test/commands/replay/view.test.ts verifies parsePositionalArgs(["test-org/cli"]) throws ContextError because no replay ID is supplied.--web, opening the target extracted from a replay URL with --web, and converting missing replays into ResolutionError.packages/cli/test/commands/proguard/upload.test.ts verifies invoking func with no paths throws ContextError, while no paths plus { "require-one": true } throws ValidationError whose message contains "--require-one".--uuid with multiple mapping files throws ValidationError.--no-upload dry-run success without uploading and verify that --no-upload does not require credentials.packages/cli/test/commands/build/upload.test.ts drives sentry build upload through both uploadCommand.loader() and the real Stricli app parser/router; fake APK fixtures are ZIP files containing root entry AndroidManifest.xml, while uploadBuild and organization/project resolution are mocked to avoid network access.useTestConfigDir("build-upload-cmd-"), a temporary directory prefixed "build-upload-", auth token "test-token" with TTL 3600, resolved target { org: "test-org", project: "test-project" }, and mocked uploadBuild() result https://sentry.io/artifact/1.app-release.apk, expects uploadBuild exactly once with organization "test-org" and project "test-project", expects output containing https://sentry.io/artifact/1, and expects no explicit exit code.{ "build-configuration": "Release", "install-group": ["qa", "beta"] } are passed to the API as metadata.buildConfiguration: "Release" and metadata.installGroups: ["qa", "beta"]."abcdef01".repeat(5).runViaApp(args) executes run(app, ["build", "upload", ...args], context) and captures stderr plus context.process.exitCode; the real-parser upload test invokes it with [apk] and expects exitCode ?? 0 to equal 0.