Skip to content

fix: allow prereleases from main candidates - #344

Merged
Obed0101 merged 1 commit into
devfrom
codex/fix-prerelease-main-guard
Sep 23, 2026
Merged

Obed0101 merged 1 commit into
devfrom
codex/fix-prerelease-main-guard

Conversation

@Obed0101

@Obed0101 Obed0101 commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The beta16 release workflow failed before publishing because prerelease candidates from main were required to be ancestors of origin/dev. The promoted main commit is intentionally not an ancestor of dev after the squash promotion.

Solution

Allow a prerelease source SHA to be verified against either origin/dev or origin/main, while preserving the stable-release requirement that candidates come from main.

Verification

  • git diff --check — passed.
  • Local ancestry check — confirmed the current main candidate is an ancestor of origin/main and not of origin/dev.
  • Release run 35916028675 — confirmed the prior failure was exactly this guard.

Scope

One line in .github/workflows/release.yml; no product/runtime behavior changes.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Obed0101
Obed0101 merged commit af0408b into dev Sep 23, 2026
6 checks passed
@Obed0101
Obed0101 deleted the codex/fix-prerelease-main-guard branch September 23, 2026 20: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