-
Notifications
You must be signed in to change notification settings - Fork 983
feat(site): use websocket connection for devcontainer updates #18808
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
Changes from 1 commit
487ee95
cc42018
fa46517
5aef560
975ef8b
8fdeca3
6da941f
ff5725e
178507c
367b87d
34b17c4
8f12460
81022fa
1768f7b
8240663
6d97960
88a611d
001ccda
3e50965
6ce5c19
cd0c2d5
04a92a4
096a85e
971f9d6
f24401f
64d9252
40c3fd9
1cda455
2ded15f
a87f388
2de01f5
00fdae6
a4a4bb2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -421,6 +421,15 @@ type WorkspaceAgentDevcontainer struct { | |||||||||
Error string `json:"error,omitempty"` | ||||||||||
} | ||||||||||
|
||||||||||
func (d WorkspaceAgentDevcontainer) Equals(other WorkspaceAgentDevcontainer) bool { | ||||||||||
return d.ID == other.ID && | ||||||||||
d.Name == other.Name && | ||||||||||
d.WorkspaceFolder == other.WorkspaceFolder && | ||||||||||
d.Status == other.Status && | ||||||||||
d.Dirty == other.Dirty && | ||||||||||
d.Error == other.Error | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should also check container and agent, so something like this?
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in 001ccda There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh silly me I only read half the sentence 🤦♀️ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed again in 971f9d6 😅 |
||||||||||
} | ||||||||||
|
||||||||||
// WorkspaceAgentDevcontainerAgent represents the sub agent for a | ||||||||||
// devcontainer. | ||||||||||
type WorkspaceAgentDevcontainerAgent struct { | ||||||||||
|
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.
Suggestion: Naming so nobody accidentally updates this map rather than
api.knownDevcontainers
. PerhapsknownDevcontainersBackup
or something along those lines those lines.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.
Addressed in cd0c2d5