Skip to content

Time out on very large monorepo #347

@TxHawks

Description

@TxHawks

Hi,

This looks like a really nice project and something I've been looking for for quite a long time. Thanks for working on it.

To try and "stress test" it, so to speak, I tried running studio on a rather huge monorepo of about 300 packages we have at at work, and it failed to start with the following error (with --verbose):

⠹ Starting Commonality Studio...> Server listening at http://localhost:8888 as production
✖ Failed to start Commonality Studio
Error: Timed out waiting for: http://localhost:8888/graph
    at /xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/wait-on/lib/wait-on.js:131:31
    at doInnerSub (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31)
    at outerNext (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70)
    at OperatorSubscriber._this._next (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
    at Subscriber.next (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at AsyncAction.<anonymous> (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28)
    at AsyncAction._execute (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18)
    at AsyncAction.execute (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26)
    at AsyncScheduler.flush (/xxxx/.npm/_npx/2b5b33cd4a83cf06/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:38:33)
    at listOnTimeout (node:internal/timers:573:17)

Unfortunately, it's a private repository, so I can share for reproduction, but happy to follow up on any questions which could make this a more helpful bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions