-
Notifications
You must be signed in to change notification settings - Fork 45
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
issue with Storybook 6.5 #567
Comments
Seeing this as well, here are the versions we are using. So it may not be due to 6.5:
|
Does anyone have any more info on how to fix this? Following the example from the docs - https://docs.percy.io/docs/storybook - I get the same error when running |
I'm also having this issue. I don't know the fix. Here are my versions:
|
👋🏼 hey everyone! We’ll have a fix for this out this week — we’re going to be shipping a performance feature that eliminates this dependency |
@Robdel12 I can confirm this fixed the issue for me, thanks so much! |
Sorry that is not related to this issue but are there more details into what performance improvements can we gain? |
@fernandopasik we haven’t shipped that yet, it’s taking a bit of extra time to get the test coverage we need. Basically we’re separating the DOM capture from asset discovery so asset discovery doesn’t have to process JS requests for each snapshot. There’s some customer storybook builds that have over 350 JS requests per-story so this is going to be a massive speed increase for them. And then after that in the future we’re going to be adding parallel sharding for those who need JS enabled and have large/heavy storybook stories. |
That sounds good. My company is a customer too and we have been experiencing not great times running all the snapshots. Excited to look what you are about to deliver! |
I'm not so sure about parallel processing because CI usually doesn't offer many cpus per machine. |
Has this landed? Is there an issue to follow on this? @Robdel12 |
Upgrading to:
seems to have fixed the issue for me. |
Storybook has a minefield of breaking changes between patch versions so we weren't able to get backward compatibility without keeping it: #592 (comment) The performance update was shipped: https://github.com/percy/percy-storybook/releases/tag/v4.3.0 |
Great thanks! |
hit this error in Ci after upgrading
@storybook/cli
to 6.5:I didn't find any use of
buildArgsParam
in@storybook/cli
but I do see it in this repo - https://github.com/percy/percy-storybook/blob/master/src/snapshots.js#L2. Apologies if this issue should have been opened elsewhere.The text was updated successfully, but these errors were encountered: