Skip to content

fix(cli): publish activates a build already registered by preview or taps (4.7.2) - #66

Merged
Mathieu2301 merged 1 commit into
mainfrom
fix/publish-reuses-staged
Nov 19, 2026
Merged

Mathieu2301 merged 1 commit into
mainfrom
fix/publish-reuses-staged

Conversation

@Mathieu2301

Copy link
Copy Markdown
Member

miakapp preview and miakapp taps register the build they test. miakapp publish then tried to upload the same digest again and the control plane refused it with 422 invalid_artifact.

publish now reads the release first: when the digest is already registered with the same size, ABI and requirements, it activates it directly; when they differ, it says so instead of a generic 422. Regression test included.

@Mathieu2301
Mathieu2301 merged commit 58c5e25 into main Nov 19, 2026
1 check passed
@Mathieu2301
Mathieu2301 deleted the fix/publish-reuses-staged branch November 19, 2026 22:16
Mathieu2301 added a commit that referenced this pull request Nov 20, 2026
…taps (4.7.2) (#66)

Co-authored-by: Mathieu2301 <21021423+Mathieu2301@users.noreply.github.com>
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