Skip to content

fix(open-knowledge): guard auto-promote against already-released + half-cut betas#330

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 26, 2026
Merged

fix(open-knowledge): guard auto-promote against already-released + half-cut betas#330
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

…lf-cut betas (#2199)

The repository_dispatch auto-resolve picks the newest vX.Y.Z-beta.N tag,
but a tag exists minutes before its release is complete (release.yml
creates the GH Release as a draft; desktop-release.yml flips it to
published only after the signed DMG + beta-mac.yml upload, on a separate
concurrency group). The newest tag can also already be promoted, since
it keeps pointing at the just-released version until a new beta is cut.

Add two guards on the auto path only (explicit beta_tag keeps its
idempotent recovery behavior):
- Guard A: refuse if the derived stable vX.Y.Z tag already exists.
- Guard B: refuse unless the beta's GH Release is published (not draft)
  with a .dmg and a -mac.yml asset.

Both fail loud with actionable messages so a Slack-triggered promotion
surfaces why it stopped instead of shipping a broken stable.

GitOrigin-RevId: 723d1adfcf807e58f7b0fae971148a4da80abd78
@inkeep-oss-sync
inkeep-oss-sync Bot requested a review from nick-inkeep as a code owner June 26, 2026 17:23

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28253987231). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 0082d67 into main Jun 26, 2026
3 checks passed
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 26, 2026 17:24
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