You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(hub): make skill version publish idempotent for draft versions (#451)
When publishing a skill version, if the draft creation (step 1) succeeds
but upload/finalize (steps 2-3) fail or are interrupted, retrying from
step 1 would hit a UNIQUE constraint and return 409 Conflict, leaving
the user stuck.
Now when a version with the same number already exists as a draft, the
endpoint returns the existing draft with fresh upload URLs instead of
rejecting. Published/deprecated/archived versions still return 409.
Co-authored-by: Scion Agent (skill-bank-publish-fix) <agent@scion.dev>
0 commit comments