Skip to content

ci: make publish idempotent during registry lag and keep the ROM regression local - #3

Merged
drewstone merged 1 commit into
mainfrom
ci/release-hardening
Aug 20, 2026
Merged

drewstone merged 1 commit into
mainfrom
ci/release-hardening

Conversation

@drewstone

Copy link
Copy Markdown
Member

Purpose

Two CI fixes found on the first real runs of this repository.

What changes

  • publish.yml: treat a version as already published when the registry dist-tags endpoint lists it. The full packument can return 404 for minutes after the first publish, which made the idempotent retry attempt a second publish and fail with E403.
  • ci.yml: remove the real PyBoy + pinned Tetris ROM job. The pinned disassembly (alexsteb/tetris_disassembly@b4bbceb) built with the pinned RGBDS (9d993d8) produces md5 bd1f6681c13609d2500eeb108abb2eb0, not the reference ba087d5cb7d71756026c8d45114e015c, so CI cannot obtain a matching ROM from public sources. The regression stays a documented local gate with a legally obtained ROM.
  • docs/releasing.md: document the local ROM gate.

Verification

  • Local build: rgbasm -o main.o main.asm && rgblink -o tetris.gb main.o at the pinned commits gives bd1f6681... with or without rgbfix -p 0; with rgbfix -v gives 3f7848d2.... None match the reference.
  • pnpm run ci (boundary, typecheck, tests, build, packed-tarball audit) is green on this tree.

@drewstone
drewstone merged commit 8157f2e into main Aug 20, 2026
1 check passed
@drewstone
drewstone deleted the ci/release-hardening branch August 20, 2026 21:58
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