-
Notifications
You must be signed in to change notification settings - Fork 702
Split the deploy tool call into several steps so we can get better titles #293
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| import { httpAction, internalMutation, mutation } from "./_generated/server"; | ||
| import { getCurrentMember } from "./sessions"; | ||
| import { internal } from "./_generated/api"; | ||
| import { ConvexError, v } from 'convex/values'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(ignore this -- we don't have linters on the convex directory so my editor reformatted)
| action.abortSignal.addEventListener('abort', abortListener); | ||
|
|
||
| const { output, exitCode } = await streamOutput(convexProc, { | ||
| const { output: convexTypecheckOutput, exitCode: convexTypecheckExitCode } = await streamOutput( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tom pointed out we need to do codegen first
|
@sujayakar I wasn't sure why you preferred a single command in #227 |
|
multiple procs is fine too. i'd be curious about execution time since i've noticed that start a shell can be slow within the container, but if you play with it and deploys don't feel slow then totally fine |
|
pulling this into #417 |
|
I'm seeing these be generally slow, although the overhead of the webcontainer part is only ~100ms so separating them is ok. over a few runs on my laptop,
Seems like we should avoid multiple typechecks and think carefully about adding steps here. Adding a lint step is a big deal. startin up convex has a lot of overhead: |

Curious on approach here of having 3 different calls