-
Notifications
You must be signed in to change notification settings - Fork 900
feat: Improve resource preview and first-time experience #946
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
kylecarbs
commented
Apr 10, 2022
- Adds resource preview table.
- Reorganizes prompts on workspace create.
- Improves english in various places.
This enables a "kubernetes_pod" to attach multiple agents that could be for multiple services. Each agent is required to have a unique name, so SSH syntax is: `coder ssh <workspace>.<agent>` A resource can have zero agents too, they aren't required.
This enables a "kubernetes_pod" to attach multiple agents that could be for multiple services. Each agent is required to have a unique name, so SSH syntax is: `coder ssh <workspace>.<agent>` A resource can have zero agents too, they aren't required.
This command was `true` by default, which causes a confusing user experience.
Codecov Report
@@ Coverage Diff @@
## main #946 +/- ##
==========================================
+ Coverage 66.22% 66.76% +0.54%
==========================================
Files 240 241 +1
Lines 14408 14582 +174
Branches 115 115
==========================================
+ Hits 9542 9736 +194
+ Misses 3904 3864 -40
- Partials 962 982 +20
Continue to review full report at Codecov.
|
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.
site/
changes LGTM ✔️
@@ -17,7 +17,7 @@ const config: PlaywrightTestConfig = { | |||
// https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests | |||
webServer: { | |||
// Run the coder daemon directly. | |||
command: `go run -tags embed ${path.join(__dirname, "../../cmd/coder/main.go")} start --dev --tunnel=false`, | |||
command: `go run -tags embed ${path.join(__dirname, "../../cmd/coder/main.go")} start --dev --skip-tunnel`, |
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.
👍 LGTM
agent/agent.go
Outdated
@@ -100,6 +100,10 @@ func (a *agent) run(ctx context.Context) { | |||
} | |||
|
|||
func (a *agent) handlePeerConn(ctx context.Context, conn *peer.Conn) { | |||
go func() { | |||
<-a.closed |
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.
It feels strange to be doing this in one goroutine and waiting for conn.Closed()
in another goroutine, just to call Done()
. Can we not do it in one?
Co-authored-by: Cian Johnston <[email protected]>
c3ba120
to
5f2d858
Compare
00a9994
to
421dd0e
Compare