-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Sandbox versions lag behind because they are only generated daily #25603
Comments
I wonder if we should just download |
But when @shilman? Always? Because the only way to know if the git repo is behind is to download the That might be okay though, given that this is rare. |
@JReinhold always. this guarantees that we have the latest version of the code & the install script. at this point i don't remember why we were caching this in the first place. |
That's an interesting take. This is also what CI does anyway. Generating I'd like to hear @yannbf's opinion when he's back. |
If we only every use the @JReinhold we could generate the after-storybook into another repository, if we wanted to preserve that change detection. |
Apart from using |
When running
npx storybook@next sandbox
ornpx storybook@latest sandbox
, we download theafter-storybook
directory from the sandbox git repo.However that repo is only kept up-to-date once a day, meaning that if a new version is released of Storybook, up to 24 hours will pass before that version is generated with the
sandbox
command.This has always been like this, but it's now a more apparent issue, because the sandbox CLI will output this:
But then in fact generate an
alpha.9
sandbox.One fix would be to trigger sandbox generation at the end of every version publish. We could trigger the GH workflow so it wouldn't block the publish workflow from completing and it wouldn't cause it to fail either.
Should we do this for all releases or only stable releases?
We could also ignore this and accept that it just is like this.
The text was updated successfully, but these errors were encountered: