-
Notifications
You must be signed in to change notification settings - Fork 960
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
Merged
+1,079
−23
Merged
Changes from 24 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
487ee95
feat(site): use websocket connection for devcontainer updates
DanielleMaywood cc42018
fix: some issues
DanielleMaywood fa46517
Merge branch 'main' into danielle/container-push
DanielleMaywood 5aef560
Merge branch 'main' into danielle/container-push
DanielleMaywood 975ef8b
chore: fix disconnect bug and add agentcontainers test
DanielleMaywood 8fdeca3
Merge branch 'main' into danielle/container-push
DanielleMaywood 6da941f
test: add coderd/ test
DanielleMaywood ff5725e
chore: appease formatter
DanielleMaywood 178507c
chore: feedback
DanielleMaywood 367b87d
chore: fix nil exception
DanielleMaywood 34b17c4
chore: make gen
DanielleMaywood 8f12460
fix: docs
DanielleMaywood 81022fa
Merge branch 'main' into danielle/container-push
DanielleMaywood 1768f7b
fix: only send when there are updates
DanielleMaywood 8240663
chore: lint and format
DanielleMaywood 6d97960
Merge branch 'main' into danielle/container-push
DanielleMaywood 88a611d
chore: test `useAgentContainers`
DanielleMaywood 001ccda
chore: check container ids match in `Equals` function
DanielleMaywood 3e50965
chore: add logger to WatchContainers
DanielleMaywood 6ce5c19
chore: reposition close of update channel
DanielleMaywood cd0c2d5
chore: rename `knownDevcontainers`
DanielleMaywood 04a92a4
chore: use `WebsocketNetConn`
DanielleMaywood 096a85e
chore: steal CloseRead
DanielleMaywood 971f9d6
chore: check agents match
DanielleMaywood f24401f
test: parsing error and socket error
DanielleMaywood 64d9252
chore: lint and format
DanielleMaywood 40c3fd9
chore: give comment some love
DanielleMaywood 1cda455
chore: re-use json encoder instead of recreating every time
DanielleMaywood 2ded15f
fix: push initial dev container state in websocket
DanielleMaywood a87f388
fix: do not invalidateQuery + fix bad types
DanielleMaywood 2de01f5
chore: appease linter
DanielleMaywood 00fdae6
chore: broadcast updates in more places, add staleTime: Infinity
DanielleMaywood a4a4bb2
chore: appease linter
DanielleMaywood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.