Dashboard › cli › Distillation
ca96f451-36f1-4c07-a38e-759a4c38cb17["lore_tm_v1_y-J2n2-oF5F6bSCf5n9XSnpICYet3LiJh6XLOnq1E6g","lore_tm_v1_CnOHm6a99kyEopme9esPkx33Ph73p1-O5wkqGk-vL-k"]
fetchNightlyManifest("token", undefined, UPGRADE_SOURCES[0]) coverage, confirming an explicitly selected upgrade source can return the nightly OCI manifest.getNightlyVersion() tests reject nightly manifest version annotations "not-semver", "1.2.3", and "1.2.3-dev.foo" with "Nightly manifest has invalid version annotation"; missing annotations produce "Nightly manifest has no version annotation"."HTTP 404"; fallback decisions must not rely only on matching error-message text.tag_name response fixture from {} to [].version: "0.14.0-dev.1772661724" and mocks https://api.github.com/repos/getsentry/toolkit with HTTP 200 before GHCR token and manifest requests.fetchManifest("token", "patch-0.13.0") HTTP 404 test expects GhcrManifestHttpError with name: "GhcrManifestHttpError", status: 404, and message Failed to fetch manifest for tag "patch-0.13.0": HTTP 404.fetchManifest("token", "some-tag") network-failure test expects UpgradeError with message Failed to fetch manifest for tag "some-tag": fetch failed.listTags("token") tests specify GHCR endpoint /v2/${GHCR_REPO}/tags/list; with tags ["nightly", "patch-0.13.0", "patch-0.14.0"], no prefix returns all 3 and prefix "patch-" returns ["patch-0.13.0", "patch-0.14.0"].listTags() behavior returns [] when no tags match the requested prefix and when the response has no tags field.listTags() error tests expect UpgradeError; HTTP 500 produces "Failed to list GHCR tags: HTTP 500" and a thrown TypeError("fetch failed") produces "Failed to list GHCR tags: fetch failed".listTags() pagination test treats a full page as exactly 100 tags: page 1 contains tag-000 through tag-099, page 2 contains tag-100 and tag-101, and the result contains exactly 102 tags after exactly 2 page calls.listTags("token", "patch-") prefix-filter test uses 80 mixed tagsβ40 patch-* and 40 nightly-*βand expects exactly 40 returned tags, all beginning with "patch-".downloadLayerBlob("token", "sha256:abc123") test expects a request to /v2/${GHCR_REPO}/blobs/sha256:abc123, follows a 307 redirect to https://blob.storage.azure.com/file, and returns an ArrayBuffer containing bytes [1, 2, 3, 4, 5].downloadLayerBlob("token", "sha256:abc") network-failure test expects an UpgradeError when fetch throws TypeError("fetch failed").