- Notifications
You must be signed in to change notification settings - Fork906
feat(agent): implement recreate for devcontainers#17308
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
91dfec3
to0098663
Compare0098663
to6d18522
CompareThere 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.
looks good to me 👍
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.
Nice work! I especially like the test helper thing you added 👍
return | ||
} | ||
containers, err := ch.cl.List(ctx) |
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.
Potential follow-up (non-blocking): I wonder if we should also add anInspect()
method to theLister
; listing the entire containers endpoint is probably wasteful.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
e2d5de8
tof5e2328
Compare25fb34c
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This change implements an interface for running
@devcontainers/cli up
and an API endpoint on the agent for triggering recreate for a running devcontainer.A couple of limitations:
Both 1 and 2 will be improved in future refactors.
Fixescoder/internal#481
Fixescoder/internal#482