Pazuzzu
Pazuzzu2mo ago

Convex dev stuck in "Analyzing source code"

It's been like this for more than an hour now
No description
14 Replies
Pazuzzu
PazuzzuOP2mo ago
ev/aggregate/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/nodemodules/.pnpm/@convex-dev+better-auth@0.7.7@standard-schema+spec@1.0.0_better-auth@1.2.12_convex@1.27.1_re_5vckbuhd3crgtki3pxlwhmskue/node_modules/@convex-dev/better-auth/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/node_modules/.pnpm/@convex-dev+action-retrier@0.2.1_convex@1.27.1react@19.1.0/node_modules/@convex-dev/action-retrier/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/nodemodules/.pnpm/@convex-dev+r2@0.7.3@standard-schema+spec@1.0.0_convex-svelte@0.0.11_convex@1.27.1_react@19._ljp7oju3ghx2uprbi6ykzn5mfi/node_modules/@convex-dev/r2/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/node_modules/.pnpm/@convex-dev+rate-limiter@0.2.12_convex@1.27.1_react@19.1.0react@19.1.0/node_modules/@convex-dev/rate-limiter/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/node_modules/.pnpm/@convex-dev+workpool@0.2.18convex-helpers@0.1.104@standard-schema+spec@1.0.0_convex@1.27.1qa5whvy5n2newkedhxalm6it2u/node_modules/@convex-dev/workpool/dist/esm/component skipping initial codegen for installed package /Users/pazuzzu/Desktop/gigi/dominate/node_modules/.pnpm/@convex-dev+resend@0.1.13convex-helpers@0.1.104@standard-schema+spec@1.0.0_convex@1.27.1_re_dywynfagopsyfqenefqp3gave4/node_modules/@convex-dev/resend/dist/component ⠙ Analyzing source code...
Clever Tagline
Clever Tagline2mo ago
I don't believe that Convex is down. We usually get a flood of comments in #general when that happens. How many changes have you made to your functions and/or schema since the last time you were able to launch the dev deployment?
Pazuzzu
PazuzzuOP2mo ago
I added an action and a table just before it stopped working I also slightly changed another table
Clever Tagline
Clever Tagline2mo ago
If you comment out those changes, does it work again? I suggest running some progressive tests. Start with all of the changes commented out, test the deployment, then one by one add things and test until you find what's causing the deployment to time out. Also, did you update to version 1.27.1 of Convex while making these changes?
Pazuzzu
PazuzzuOP2mo ago
Checking out an older commit works. maybe I should revert and change one thing at a time ? (still, I would like to know if there's a way to better troubleshoot in the future) I did, but I downgraded because I had conflicts with my convex components Thanks for the help. I appreciate it
Clever Tagline
Clever Tagline2mo ago
My pleasure. Other than testing changes one bit at a time, I'm not sure if there's a better way to find the culprit. Whenever I see cases where the deployment is hanging while analyzing the source code, my first thought is that there's a circular dependency somewhere. Schema changes typically won't do that, so my thought then goes to the action that you added. Maybe check that and see if anything sticks out.
nytfox
nytfox2mo ago
Hi - I'm experiencing the same issue. And I did just update to 1.27.1
marcelo
marcelo2mo ago
+1
nytfox
nytfox2mo ago
My dashboard is completely unresponsive and all websockets are down
Yuta
Yuta2mo ago
Had the same problem but seems working now
nytfox
nytfox2mo ago
ok it's back now. that was really scary
Clever Tagline
Clever Tagline2mo ago
Per Jamie in #general last night, there was a DDoS attack. They haven't backfilled the status page with the info yet, but apparently it's similar to what happened the day before, and you can read the details of that incident here: https://status.convex.dev/incidents/qnc3pbv0wnjs
Pazuzzu
PazuzzuOP2mo ago
I found the exact issue, in case someone new else has it. It's not a circular dependancy per say but it's close, it was a drilled import (not on purpose). - A imports x from B - B import x from C C is a config file, it has no link to A. But still convex get stuck
Clever Tagline
Clever Tagline2mo ago
Glad to hear you found the problem! I'm going to change the thread title so it'll be easier to surface if others have a similar problem

Did you find this page helpful?