Skip to content

Make release publication safe to rerun - #2

Merged
dandoingdev merged 1 commit into
mainfrom
codex/fix-release-reruns
Oct 22, 2026
Merged

dandoingdev merged 1 commit into
mainfrom
codex/fix-release-reruns

Conversation

@dandoingdev

@dandoingdev dandoingdev commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Duplicate v1.9.0 tag runs passed every check, then failed because gh release create tried to recreate the existing release (example run). Serialize runs per tag and leave an existing published release untouched when all three assets are uploaded. Only a 404 permits creation; API failures, draft releases, incomplete uploads and publishing failures remain errors. Prerelease handling is preserved, and creation now verifies the remote tag exists.

Validation:

  • PR CI passed, including unit, browser, widget, overview and real-input scripts, generated files/docs, lint, production build and size check.
  • Six new publisher regression tests passed locally. A live invocation against v1.9.0 succeeded without changing the release.
  • The full local npm test suite passed, including dashboard swipe (which took 331 seconds locally). The separate production-bundle browser suite passed 210 checks.
  • Both new JavaScript files pass Prettier. Repository-wide formatting reports nine existing issues in unchanged files. The size check passes with an existing budget warning.

Historical v1.7.0 lint failures and the initial v1.8.0 browser failure are already fixed on main. Existing failed runs retain the workflow from their original tags; this change applies to future tags.

Serialize publishers for each tag and leave complete published releases intact. Keep API errors and incomplete uploads visible instead of treating every failed lookup as a missing release.
@dandoingdev
dandoingdev merged commit a3eb2ba into main Oct 22, 2026
1 check passed
@dandoingdev
dandoingdev deleted the codex/fix-release-reruns branch October 22, 2026 09:46
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