Skip to content

ci: remove the Delete Package Versions workflow - #1872

Merged
joshunrau merged 1 commit into
DouglasNeuroInformatics:mainfrom
joshunrau:ci/1760-remove-delete-package-versions
Nov 6, 2026
Merged

joshunrau merged 1 commit into
DouglasNeuroInformatics:mainfrom
joshunrau:ci/1760-remove-delete-package-versions

Conversation

@joshunrau

Copy link
Copy Markdown
Collaborator

Closes #1760

What and why

Deletes .github/workflows/delete-package-versions.yaml. Each of its steps ran actions/delete-package-versions with delete-only-untagged-versions: true and min-versions-to-keep: 0. Every image is built for linux/amd64,linux/arm64, so each tag names an OCI index whose per-platform and attestation manifests GHCR lists as untagged versions. A single dispatch would delete them and leave every tag, including latest and every past release, failing with manifest unknown.

The untagged orphans this workflow targets cost nothing, because the packages are public. So this PR removes the workflow and adds no replacement, as planned in the triage comment. A scheduled cleanup on a multi-arch-aware action (dataaxiom/ghcr-cleanup-action) is left for after #1822 and needs sign-off as a new third-party action.

Nothing else in the repo references the workflow. It has no caller, no script or config reads it, and no doc mentions it.

Verification

  • No unit or e2e test: this is a deletion, so there is no code left to test, and nothing in the test suites can exercise GHCR. It is exempt from the test rule in the root AGENTS.md.
  • pnpm lint, pnpm test:coverage and pnpm test:e2e were not run locally. The diff is one YAML file under .github/, which no lint, vitest or Playwright run reads. CI on this PR covers them.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Its delete-only-untagged-versions step treats the per-platform and
attestation manifests of every multi-arch image as untagged versions, so
one dispatch would leave every tag pointing at an index whose manifests
are gone. The orphans it targets cost nothing on public packages, so the
workflow is removed rather than replaced.

Refs DouglasNeuroInformatics#1760

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joshunrau
joshunrau merged commit df35f0a into DouglasNeuroInformatics:main Nov 6, 2026
2 checks passed
@joshunrau
joshunrau deleted the ci/1760-remove-delete-package-versions branch November 19, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete Package Versions workflow deletes the platform manifests of every multi-arch image, so no image tag can be pulled

1 participant