webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Starting an application from a github repository is very slow

Open djhi opened this issue 1 year ago • 4 comments

Describe the bug

When opening a github repository using the url pattern, it takes a very long time before showing the preview. It seems it has nothing to do with the bundler used:

  • With Vite https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple?file=README.md
  • With Webpack https://stackblitz.com/github/marmelab/bug-slayer?file=README.md

Opening the console shows many errors similar to Could not find source file: 'stackblitz:/HERE_GO_SOME_FILES_OF_OUR_PROJECT'. as mentioned in https://github.com/stackblitz/core/issues/3095 and #1515.

The fix mentioned in #1515 does not work anymore.

Link to the blitz that caused the error

https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple?file=README.md

Steps to reproduce

  1. Open https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple
  2. Notice it takes a very long time to show the preview
  3. Open the devtool
  4. Notice all the errors

Expected behavior

It should boot as quickly as before

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 128.0.0.0
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 193652072,
  "usedJSHeapSize": 176146888,
  "jsHeapSizeLimit": 4294705152
}
Hash = 134daa3c

Additional context

No response

djhi avatar Oct 10 '24 10:10 djhi

Any updates on this bug? It seems that many people suffer from it.

fzaninotto avatar Oct 28 '24 07:10 fzaninotto

Sorry to insist, but this issue is now the second most upvoted issue in this repo and has still received no feedback.

fzaninotto avatar Nov 06 '24 09:11 fzaninotto

Bump, please consider this issue as it's a major bug.

fzaninotto avatar Dec 11 '24 09:12 fzaninotto

Hi, seeing the lack of engagement in this issue, I wonder is GitHub support was in fact an accidental feature and that the recent regression was in fact not a problem.

Can you please comment on whether or not that feature is in scope?

fzaninotto avatar Mar 06 '25 17:03 fzaninotto