Repository navigation
ci: make publish idempotent during registry lag and keep the ROM regression local - #3
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 registrydist-tagsendpoint 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 thereal PyBoy + pinned Tetris ROMjob. The pinned disassembly (alexsteb/tetris_disassembly@b4bbceb) built with the pinned RGBDS (9d993d8) produces md5bd1f6681c13609d2500eeb108abb2eb0, not the referenceba087d5cb7d71756026c8d45114e015c, 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
rgbasm -o main.o main.asm && rgblink -o tetris.gb main.oat the pinned commits givesbd1f6681...with or withoutrgbfix -p 0; withrgbfix -vgives3f7848d2.... None match the reference.pnpm run ci(boundary, typecheck, tests, build, packed-tarball audit) is green on this tree.