Sub-task of the toolkit monorepo merge (master issue linked below). Plan: https://gist.github.com/BYK/8c0ce6cec64608f41fe5654b7827228e
CLI self-upgrade backward/forward compatibility (highest correctness risk).
Old binaries have getsentry/cli + ghcr.io/getsentry/cli baked in and will hit
those endpoints forever.
See §5.1.
Sub-task of the toolkit monorepo merge (master issue linked below). Plan: https://gist.github.com/BYK/8c0ce6cec64608f41fe5654b7827228e
CLI self-upgrade backward/forward compatibility (highest correctness risk).
Old binaries have
getsentry/cli+ghcr.io/getsentry/clibaked in and will hitthose endpoints forever.
UPGRADE_SOURCES: primarytoolkit, fallbackgetsentry/cli, fall back on 404) acrosssrc/lib/binary.ts,ghcr.ts,upgrade.ts,delta-upgrade.ts.installscript; add acheck:script asserting install-script and TS resolver share ONE ordered source list.toolkitCI dual-publishes CLI releases + nightlies to BOTHgetsentry/cliandtoolkitfor the compat window (cross-repo tokencontents:write; retainoras push ghcr.io/getsentry/cli).sha256-<binary>/from-version); verify chain-depth + cleanup keep-count parity on both GHCR packages.See §5.1.