Skip to content

COMP: Recover lost ExternalData objects from actions cache (do not merge)#457

Closed
hjmjohnson wants to merge 1 commit into
InsightSoftwareConsortium:mainfrom
hjmjohnson:recover-externaldata-cache
Closed

COMP: Recover lost ExternalData objects from actions cache (do not merge)#457
hjmjohnson wants to merge 1 commit into
InsightSoftwareConsortium:mainfrom
hjmjohnson:recover-externaldata-cache

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

One-off recovery workflow — do not merge. Restores the ExternalData actions caches and uploads Objects/CID/* as an artifact, so 19 figure objects that exist nowhere else can be published to ITKTestingData.

Background

PR #359 added 19 documentation figures under src/Core/Common/* as .cid content links, but the objects were never durably published: they 404 on the ITKTestingData gh-pages and itk.org mirrors, 403 on Pinata, and time out on public IPFS gateways (ipfs.io, dweb.link, w3s.link). The GitHub Actions ExternalData cache is the last remaining copy — CI only stays green because actions/cache restores them; any fresh clone fails to fetch (first seen investigating the PR #456 macos failures).

Affected examples include ConvertArrayToImage (Sphere3D.png), BoundingBoxOfAPointSet (BoundingBox.png), CreateGaussianKernel, CreateDerivativeKernel, BresenhamLine, ReadAPointSet, and others — full list in the build log of any uncached build.

Plan: run this workflow once, download the artifact, verify each object's bytes hash to its referenced CID, upload to ITKTestingData, confirm mirror reachability, then close this PR without merging.

Nineteen Core/Common figure objects referenced by .cid links from
PR InsightSoftwareConsortium#359 are absent from ITKTestingData and every IPFS mirror; the
GitHub Actions ExternalData cache is the last remaining copy. This
workflow restores the three cache families and uploads the objects
as an artifact so they can be published to ITKTestingData.
@github-actions github-actions Bot added type:Compiler Compiler support or related warnings type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots labels Jun 11, 2026
@hjmjohnson

Copy link
Copy Markdown
Member Author

Unnecessary — PR #456 already replaces the unreachable .cid links with re-published objects (verified downloading from the ITKTestingData gh-pages mirror in its CI run). Closing unmerged.

@hjmjohnson hjmjohnson closed this Jun 11, 2026
@hjmjohnson hjmjohnson deleted the recover-externaldata-cache branch June 11, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:Compiler Compiler support or related warnings type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant