Emma
Emma
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
The optimization last week reduced the number of times we parse validators on our end. You are already benefitting from that one!
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
We've added more tracing to validators so I can get back to you about that next week, and we've already made some optimizations that went out last week (what @ampp is referencing).
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
ah, so using the --debug-bundle-path flag doesn't actually deploy functions, it just writes the bundle to that directory for debugging purposes. You can always check the dashboard history page (or functions page) to verify if your deployment went through. We should change that log line after that says "Deployed convex functions".
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
great @David Alonso ! I think you might see more performance issues with these large validators but I can lyk if we optimize this further.
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
@David Alonso can you try deploying again? to any of the instances you mentioned
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
Tbh 5k line validators will be extremely inefficient and is probably slowing down your functions quite a bit
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
@David Alonso did increasing the timeout work for sensible-salmon524 and uncommon-gull-185?
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
@David Alonso I've increased the timeout for sensible-salmon-524 and uncommon-gull-185, so let me know if deploying code works!
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
Hi @David Alonso , sorry for the delay. * when I said push, I meant "push code to a deployment" and npx convex dev pushes code to your dev deployment, and npx convex deploy pushes code to your prod deployment. They're not doing anything differently besides that. * We're still investigating why your code is timing out when your deployment tries to analyze it. Do you know if you've added any more validators between the push that works and the push that fails? https://docs.convex.dev/functions/validation Validators look like
args: {
body: v.string(),
author: v.string(),
},
returns: v.null(),
args: {
body: v.string(),
author: v.string(),
},
returns: v.null(),
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
Would you mind trying to push again to sensible-salmon-524? I've enabled tracing so I should be able to have more visibility into what's going on
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
If you run du -h <debug-directory> on both the current version that fails to deploy and the previous version of your code that worked, lmk if you see any significant changes in size. You're not hitting the module size limits, but it's possible the time out is size-related
56 replies
CCConvex Community
Created by David Alonso on 10/17/2024 in #support-community
Unable to push Convex functions `Function execution timed out`
Hi David! Sorry to hear you're unable to deploy. The error message here is a bit misleading - there is no function execution happening, the deploy is timing out on analyzing the code you're pushing. Could you try running npx convex deploy --debug-bundle-path <debug-directory>? This should write the code you're pushing to the <debug-directory> so we can see what's going on.
56 replies
CCConvex Community
Created by Khalil on 7/11/2024 in #support-community
vector search stopped working
that's helpful to know! I'll try to repro and figure out why filtering is broken
15 replies
CCConvex Community
Created by Khalil on 7/11/2024 in #support-community
vector search stopped working
What does your code using vanilla vector search look like? (if you feel comfortable sharing)
15 replies
CCConvex Community
Created by Khalil on 7/11/2024 in #support-community
vector search stopped working
What version of convex are you on?
15 replies
CCConvex Community
Created by Omar Farooq on 4/9/2023 in #support-community
Regarding data import into Convex
streaming import should be available via airbyte now (it was in the latest airbyte release last week) but we still need to update our docs. Should be updated sometime this week @Omar Farooq !
8 replies