Draft release until all assets upload, then publish#242
Merged
Conversation
The release was created published (draft: false) before any assets were uploaded. Since the wizard resolves releases/latest, the release went live pointing at the new version while skill-menu.json — uploaded last — was still minutes away, 404ing the wizard for that window. Create the release as a draft, upload every asset, then flip it to published as the final step. releases/latest ignores drafts, so it keeps pointing at the previous complete release until the new one is fully populated. Generated-By: PostHog Code Task-Id: 58d8e9e2-5c34-49cb-a53e-f0d51d2079c4
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
gewenyu99
marked this pull request as ready for review
July 15, 2026 23:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a race that bricks the wizard on every release.
Problem
The release was created published (
draft: false) before any assets were uploaded. Because the wizard resolvesreleases/latest, the new release went live the instant it was created — butskill-menu.jsonis uploaded last, a few minutes later. For that windowreleases/latestpoints at a release with noskill-menu.json, so the wizard 404s.Fix
Create the release as a draft, upload every asset, then flip it to published as the final step.
releases/latestignores drafts, so it keeps pointing at the previous complete release until the new one is fully populated — closing the window entirely.Why
Raised in a Slack thread: context-mill builds take a few minutes, and the publish-then-upload ordering left a ~3-minute window that broke the wizard on every release.
Created with PostHog from a Slack thread