-
Notifications
You must be signed in to change notification settings - Fork 334
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
feat(agent): Agent/$upgrade
operation
#4613
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
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.
Big picture looks good. See comments and questions. I'm going to test and run it on some windows machines before approval, but nothing else blocking.
Thanks for hard work on this, I imagine it was a slog 🙏
packages/agent/src/agent-main.ts
Outdated
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.
Is there a reason this has to be a separately file from main.ts
? Kinda confusing to have main.ts
and agent-main.ts
.
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.
main.ts
now is the entry point for two different "binaries"... I think it makes sense to split the main entry point from the entry point of each of the two paths...
Also when testing the main
, I need to mock agentMain
in order to test that it actually calls the right main between agentMain
and upgraderMain
, which is not possible if agentMain
is in the same module as main
itself.
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.
As a suggestion I'm not completely sold on but might bring more uniformity, should we rename agent-main.ts
to agent.ts
? So it's upgrader.ts
and agent.ts
?
10d6b52
to
ed3d873
Compare
|
Closes #3900
Closes #4225