Skip to content

ci(release): drop the mirror of the unused Relay image descriptor - #3918

Merged
bobleer merged 2 commits into
openBitFun:mainfrom
bobleer:openbitfun/remove-relay-image-mirror
Nov 14, 2026
Merged

bobleer merged 2 commits into
openBitFun:mainfrom
bobleer:openbitfun/remove-relay-image-mirror

Conversation

@bobleer

@bobleer bobleer commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove mirror_relay_image_descriptor and its floating-manifest publishing from scripts/openbitfun-release-sync.sh, along with the GITHUB_RELAY_IMAGE_URL wiring and stale comments referencing the descriptor.
  • Update scripts/linux-binaries-manifest.test.mjs: drop the dedicated Relay descriptor mirror test, remove the relay-image assertion from the sync coverage test, and remove the now-dead relay-image mock from the metadata pinning test.

Type and Areas

Type: CI / refactor

Areas: release tooling (mirror sync script + its test)

Motivation / Impact

The Desktop one-click Relay deploy that consumed relay-image.json was removed in 2f0b61e (GitHub identity / device-owned remote control). Nothing under src/ reads the descriptor or its signature any more, so the mirror only republishes a dangling artifact — and the descriptor check hard-codes a ghcr.io/... image namespace, which would make every sync run fail if the image namespace ever moves.

This only removes mirror-side consumption; the release workflow keeps producing relay-image.json untouched.

Verification

  • bash -n scripts/openbitfun-release-sync.sh — passed
  • node --test scripts/linux-binaries-manifest.test.mjs — 13/13 pass
  • node --test scripts/check-github-config.test.mjs — 60 pass, 0 fail, 2 skipped
  • node --test scripts/relay/package-contract.test.mjs — 8/8 pass
  • OPENBITFUN_RELEASE_CHANNEL=stable ./scripts/openbitfun-release-sync.sh against a sandbox WEBSITE_RELEASE_DIR (full fresh-download path, exit 0): Linux binary manifest mirrored and verified, Desktop assets, Windows installer, latest-v1.json and downloads.json all published; no relay-image steps remain
  • Idempotent re-run against the production mirror — passed ("Already mirroring 1.0.10; nothing to fetch")
  • CI Shell Deploy Scripts — pass after the test update

Reviewer Notes

Rollback: revert the commits. The published relay-image.json / .sig files already on the mirror are untouched by this change; deleting them is a separate ops decision.

Generated with OpenBitFun

The Desktop one-click Relay deploy that consumed relay-image.json was
removed in 2f0b61e (GitHub identity / device-owned remote control).
Nothing under src/ reads the descriptor or its signature any more, so
the mirror only republishes a dangling artifact and pins the sync script
to a hard-coded ghcr image namespace.

Co-authored-by: OpenBitFun <318544290+bitfun-ai@users.noreply.github.com>
@bobleer
bobleer marked this pull request as ready for review November 14, 2026 13:26
The dedicated Relay descriptor mirror tests and the relay-image assertion
in the sync coverage test pinned behavior that was removed from the sync
script in the previous commit.

Co-authored-by: OpenBitFun <318544290+bitfun-ai@users.noreply.github.com>
@bobleer
bobleer merged commit 7fed0db into openBitFun:main Nov 14, 2026
13 checks passed
@bobleer
bobleer deleted the openbitfun/remove-relay-image-mirror branch November 14, 2026 13:43
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