mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-05 17:28:21 +00:00
fix(ci): probe mirror tags with skopeo inspect --raw
PR 2006's Mirror wait job looped for 6 h on ghcr.io/infinito-nexus/core/mirror/ghcr.io/ggml-org/whisper.cpp:main-arm64-d1be6fde... although the pull_request_target mirror had copied it: the tag is an OCI index holding only arm64, and tag_exists ran skopeo inspect without --raw, which resolves the amd64 runner's platform and fails with 'no image found in image index for architecture amd64'. Both providers now share _manifest_exists, which probes with --raw and counts any manifest or index as present. MEDUSA B603 on the moved subprocess call accepted: fixed argv, no shell, ref from repo role metadata, same call as the two accepted probes it replaces. 🎯 Fix: 92 % 💥 Break: 2 % 💸 Tokens: 95 % ⏱️ Velocity: 92 % 🛡️ Security: 100 % 🏆 Score: 100 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b900d72fbb
commit
ff5c2e6710
2 files changed
+24
-31
No files matched your search
@@ -147,7 +147,8 @@ class TestGHCRProviderImageRef(unittest.TestCase):
|
||||
self.assertTrue(self.provider.tag_exists(NODE))
|
||||
|
||||
self.assertEqual(
|
||||
run.call_args.args[0], ["skopeo", "inspect", f"docker://{NODE_MIRROR}"]
|
||||
run.call_args.args[0],
|
||||
["skopeo", "inspect", "--raw", f"docker://{NODE_MIRROR}"],
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user