Skip to content

ci: make workflows Option-B aware (manifests-only prebuilt) - #32

Merged
NimaShafie merged 1 commit into
mainfrom
fix/ci-option-b-manifests
Dec 3, 2026
Merged

NimaShafie merged 1 commit into
mainfrom
fix/ci-option-b-manifests

Conversation

@NimaShafie

Copy link
Copy Markdown
Collaborator

Why

The prebuilt/ submodule was migrated to Option B (commits 2a3cdc3, 864bfdc):
it now ships manifests only — the binaries live in the matching release's
assets and are rehydrated by fetch-artifacts.sh. Three CI workflows still
assumed the binaries were committed to git, so they broke:

  • CI → Validate → "Prebuilt manifest completeness" failed with ~60 MISSING
    entries (every tool archive), blocking all open dependabot PRs.
  • Smoke Test and Linux Integration Test (scheduled) failed at install
    with manifests-only checkout (binaries not fetched yet).

What

  • check-prebuilt-manifests.sh — repurposed from "is every artifact
    git-tracked?" to "does every declared artifact carry a resolvable SHA256?"
    (whole-file sha256 or a complete part_sha256 set). That is the
    deliverability guarantee that actually holds under Option B, since
    fetch-artifacts.sh verifies each fetched file against these hashes. Still
    fails on a genuinely broken manifest (missing/malformed checksum) — verified
    locally both ways.
  • smoke-test.yml / linux-integration.yml — add a platform-scoped
    fetch-artifacts.sh step ahead of install. Base defaults to the release tag
    derived from version.go (currently v1.3.71), overridable via the
    DEVKIT_ARTIFACT_BASE repo variable for an internal mirror.

🤖 Generated with Claude Code

The prebuilt submodule now ships manifests only; binaries live in the
matching release's assets and are rehydrated by fetch-artifacts.sh. Three
workflows still assumed binaries were committed to git:

- check-prebuilt-manifests.sh asserted every artifact was git-tracked. Repurpose
  it to verify each declared artifact carries a resolvable SHA256 (whole-file or
  a complete part_sha256 set) -- the deliverability guarantee that actually holds
  under Option B, since fetch-artifacts.sh verifies files against these hashes.
- smoke-test.yml / linux-integration.yml installed straight from prebuilt/ and
  failed with "manifests-only checkout (binaries not fetched yet)". Add a
  fetch-artifacts.sh step (platform-scoped) ahead of install; base defaults to
  the release tag derived from version.go, overridable via DEVKIT_ARTIFACT_BASE.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@NimaShafie
NimaShafie merged commit 5824ad3 into main Dec 3, 2026
4 checks passed
@NimaShafie
NimaShafie deleted the fix/ci-option-b-manifests branch December 3, 2026 04:28
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.

1 participant