Dashboard › cli › Distillation
ad7a784c-4097-4b4a-8b04-1eb1cd5d3e4d["lore_tm_v1_g0MhRgIG7xzUc9CWpuaHjkus2tJirCn6BKwuy-Bh04g","lore_tm_v1_FjvWw8R42qLZsPiZiC67W_Gl4FwxAHJsnjcxOWkp3Y0","lore_tm_v1_ANAkmCR7eCEYYAcFSdwIIEgpECPjBdhbFdaOIsUWkpc"]
sentry api: preserve rawApiRequest() status text; empty textual non-2xx bodies must produce an HTTP status/request fallback; JSON mode must expose {status, statusText, body} so empty success and error responses remain distinguishable; successful binary Uint8Array values bypass formatters and remain raw; binary errors emit only status/content-type/byte-count summaries, never bytes or JSON coercion; prompts must never block scripted runs or interleave with stdout JSON.packages/cli/src/lib/bspatch.ts uses the TRDIFF10 format with a 32-byte header comprising magic, controlLen, diffLen, and newSize, with integer fields encoded as i64 little-endian.TRDIFF10 control block is fully decompressed with zstdDecompressSync because it needs random access, while diff and extra blocks stream through createZstdStreamReader using Node Transform β Web ReadableStream β BufferedStreamReader.applyPatch() to ALWAYS compute SHA-256 inline and return it, with no separate verification step.loadOldBinary() copies the old binary to a temporary location with COPYFILE_FICLONE, falling back from a CoW reflink to a regular copy, and then reads it into memory.cleanupPatchResources() to run every cleanup step regardless of earlier cleanup failures.writer.on('error') to prevent ERR_UNHANDLED_ERROR on ENOSPC or EIO.src/commands/issue/list.ts defines LIFETIME_FIELDS = new Set(['count','userCount','firstSeen','lastSeen']); these fields can be stripped by collapse=lifetime on the issue-list endpoint.buildListApiOptions(json, fields) enables collapseLifetime only when json && fields !== undefined && fields.length > 0 && !fields.some(f => LIFETIME_FIELDS.has(f)); human-readable output never collapses lifetime.buildIssueListCollapse() to always start with ['filtered','unhandled'], then conditionally add 'lifetime' and 'stats'.ISSUE_DETAIL_COLLAPSE can safely include 'lifetime' because the detail endpoint preserves top-level fields; count, userCount, firstSeen, and lastSeen are always present for issue view and are only potentially absent for issue list when collapse=lifetime is active.IssueViewOutputSchema in src/types/sentry.ts extends SentryIssueSchema with event, org, replayIds, and trace, which are added by jsonTransformIssueView; view.ts wires this through schema: IssueViewOutputSchema in the output configuration.generateProjectStructure() of generate-docs-sections.ts to always use the βββ prefix because standalone entries always follow groups.help.ts, added manually before sorting; the final standalone uses βββ, all earlier standalones use βββ, groups and standalones are each alphabetically sorted within their sections, and output is a fenced code block containing the cli/ tree./repos/getsentry/cli/security-advisories returns an empty array, while /repos/getsentry/cli/dependabot/alerts is the source of truth and had 13 open and 15 fixed alerts as of 2026-08-01. (meaning Aug 1, 2026)pnpm.overrides in package.json is the canonical mechanism for transitive vulnerability fixes, while direct dependency upgrades cascade through the lockfile.pnpm audit covers additional CVEs not surfaced by Dependabot, including @ai-sdk/provider-utils@<=3.0.97 LOW CVE-2026-8769; this is separate scope and requires a package upgrade rather than an override.node:sqlite on Node 22.15+ and node-sqlite3-wasm fallback on Node 18.0β22.14 because node:sqlite is unavailable before Node 22.15.sqlite.ts to always use spread bind parameters rather than passing an array, never pass undefined and defensively map it to null, and use a manual transaction wrapper.feat/source-bundle-provider, merged) added write_object_with_source_provider and write_object_with_filter delegation.fix/symbolic-followups, merged, @sentry/symbolic@13.3.1) introduced workspace dependencies, cfg-zstd, and required wasm-opt conventions, while retaining PR #988βs serde_bytes additions.ruzstd, was merged.feat/wasm-api-classes) was closed because it was superseded by Dav1ddeβs PR #992.feat(wasm): Expose lower level API for debuginfo, add tests) was open and contained Dav1ddeβs self_cell-based foundational API, with +392/-101 across 11 files.prototype/wasm-artifact-smoke, based on PR #992 head fd94b6fe, adds an artifact smoke test and an ObjectFile rename fix across 5 files with +122/-6.SourceBundleWriter was not yet in PR #992 and was planned for end of day June 23, 2026; BYK would migrate debug-files check to the new API after republication. (meaning Jun 23, 2026).git at /home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/toolkit-bridge-upgrade/.git.feat/toolkit-bridge-upgrade at exact head c6030fbf4d0c190f037c86d832edb6680d3e54ab, tracking origin/feat/toolkit-bridge-upgrade with +0 -0; the requested base remained ec83887a16f780f32fba4b7d710bad262dba3a22.packages/cli/src/commands/cli/upgrade.ts, packages/cli/src/lib/binary.ts, packages/cli/src/lib/delta-upgrade.ts, packages/cli/src/lib/ghcr.ts, packages/cli/src/lib/release-notes.ts, packages/cli/src/lib/upgrade.ts, packages/cli/src/lib/version-check.ts, packages/cli/test/commands/cli.test.ts, packages/cli/test/commands/cli/upgrade.test.ts, packages/cli/test/lib/binary.test.ts, packages/cli/test/lib/delta-upgrade.mocked.test.ts, packages/cli/test/lib/delta-upgrade.test.ts, packages/cli/test/lib/ghcr.test.ts, packages/cli/test/lib/release-notes.test.ts, packages/cli/test/lib/upgrade.test.ts, and packages/cli/test/lib/version-check.test.ts.packages/cli/src/commands/cli/upgrade.ts 126 lines; packages/cli/src/lib/binary.ts 154; packages/cli/src/lib/delta-upgrade.ts 139; packages/cli/src/lib/ghcr.ts 80; packages/cli/src/lib/release-notes.ts 119; packages/cli/src/lib/upgrade.ts 414; packages/cli/src/lib/version-check.ts 21; packages/cli/test/commands/cli.test.ts 23; packages/cli/test/commands/cli/upgrade.test.ts 136; packages/cli/test/lib/binary.test.ts 130; packages/cli/test/lib/delta-upgrade.mocked.test.ts 14; packages/cli/test/lib/delta-upgrade.test.ts 201; packages/cli/test/lib/ghcr.test.ts 73; packages/cli/test/lib/release-notes.test.ts 154; packages/cli/test/lib/upgrade.test.ts 517; and packages/cli/test/lib/version-check.test.ts 125.cf038bf6ee6a8295fdff38c4e32ebc135daf9c4f4daf566505e61b347ba23722 for standard input.