Dean Sheather
3680e158d9
chore: fix lint in main caused by incompatible merge ( #7239 )
2023-04-21 10:27:56 +00:00
Steven Masley
4353ad7940
chore: Remove url and wildcard url from moon create ( #7224 )
...
* chore: Remove url and wildcard url from moon create
2023-04-20 21:09:14 -05:00
Dean Sheather
68667323f3
chore: support signed token query param for web terminal ( #7197 )
...
* chore: add endpoint to get token for web terminal
* chore: support signed token query param for web terminal
2023-04-20 23:59:45 +00:00
Colin Adler
ac3c530283
fix(cli/clitest): race between Start/StartWithWaiter cleanup order ( #7232 )
2023-04-20 23:41:56 +00:00
Colin Adler
745868fd8a
revert: chore: upgrade tailscale ( #7236 )
2023-04-20 17:58:22 -05:00
Mathias Fredriksson
300ae4a6bf
test(agent): Fix TestAgent_UnixRemoteForwarding timeout ( #7235 )
2023-04-21 01:35:51 +03:00
Mathias Fredriksson
38a6d546ab
fix(enterprise/replicasync): Avoid deadlock during Close^2 ( #7230 )
2023-04-20 22:48:44 +03:00
Colin Adler
34c6ad671c
fix(clitest): use separate channel when waiting for exit ( #7231 )
2023-04-20 14:37:44 -05:00
Mathias Fredriksson
ad0070354f
test: Fix generated workspace name length ( #7228 )
2023-04-20 18:40:36 +00:00
Bruno Quaresma
d8eda97dbe
refactor(site): Redesign the agent row ( #7226 )
2023-04-20 18:37:10 +00:00
Colin Adler
a86830a283
chore: upgrade tailscale ( #7207 )
2023-04-20 13:29:56 -05:00
Kira Pilot
e2a7448cc8
fix: allow update of empty template description ( #7225 )
2023-04-20 10:59:57 -07:00
Colin Adler
ea27129348
chore: upgrade github.com/open-policy-agent/opa ( #7204 )
2023-04-20 12:50:21 -05:00
Bruno Quaresma
e90a076fad
fix(site): Fix websocket connections ( #7187 )
2023-04-20 17:01:08 +00:00
Steven Masley
7fa1112958
chore: Enforce workspace proxy unique name case insensitive ( #7202 )
...
* chore: Enforce workspace proxy unique name case insensitive
2023-04-20 11:30:52 -05:00
Bruno Quaresma
9abfe97dcc
Revert "fix(site): Fix update when missing parameters ( #7221 )" ( #7223 )
...
This reverts commit 7d9a7636e9 .
2023-04-20 12:40:31 -03:00
Steven Masley
a5a5c4d400
chore: Add workspace proxy enterprise cli commands ( #7176 )
...
* feat: Add workspace proxy enterprise cli commands
* chore: Handle custom workspace proxy options. Remove excess
* chore: Add endpoint to register workspace proxies
2023-04-20 09:48:47 -05:00
Muhammad Atif Ali
8926c10b7d
chore: remove disk metadata from Kubernetes examples ( #7215 )
2023-04-20 09:42:35 -05:00
Bruno Quaresma
7d9a7636e9
fix(site): Fix update when missing parameters ( #7221 )
2023-04-20 09:32:20 -05:00
Bruno Quaresma
93d0956465
chore(site): Upgrade Vite to 4.3 ( #7222 )
2023-04-20 14:28:56 +00:00
Mathias Fredriksson
8d27978760
fix(enterprise/replicasync): Avoid deadlock during Close ( #7220 )
2023-04-20 15:37:30 +03:00
Dean Sheather
528a0686c0
chore: fix deadlock in dbfake and incorrect lock types ( #7218 )
...
I manually went through every single dbfake function and ensured it has
the correct lock type depending on whether it writes or only reads.
There were a surprising amount of methods that had the wrong lock type
(Lock when only reading, or RLock when writing (!!!)).
This also manually fixes every method that acquires a RLock and then
calls a method that also acquires it's own RLock to use noLock methods
instead. You cannot rely on acquiring a RLock twice in the same
goroutine as RWMutex prioritizes any waiting Lock calls.
I tried writing a ruleguard rule for this but because of limitations in
ruleguard it doesn't seem possible.
2023-04-20 21:53:34 +10:00
Colin Adler
5f5edb18b0
chore(healthcheck): fix DERP test flakes ( #7211 )
2023-04-19 20:03:05 -05:00
Colin Adler
f60b5579a7
chore: remove usage of k8s.io/utils/pointer ( #7209 )
2023-04-19 15:53:47 -05:00
Mathias Fredriksson
c2871e12aa
fix(cli/ssh): Avoid connection hang when workspace is stopped ( #7201 )
...
* fix(cli/ssh): Avoid connection hang when workspace is stopped
Two issues are addressed here:
1. We were not detecting disconnects due to waiting for Stdin to close
(disconnect would only propagate after entering input and failing to
write to the connection).
2. In other scenarios, where the connection drop is not detected, we now
also watch workspace status and drop the connection when a workspace
reaches the stopped state.
Fixes: https://github.com/coder/jetbrains-coder/issues/199
Refs: #6180 , #6175
2023-04-19 21:32:28 +03:00
Marc
fff2b1dc90
fix(cli): Fix postgres TDE failing version check ( #7203 )
2023-04-19 11:59:56 -05:00
Ammar Bandukwala
2b9d12828a
cli: add --debug-http flag ( #7192 )
...
This makes it easier to help debug client issues.
2023-04-19 11:07:53 -05:00
Marcin Tojek
f94ac55f02
feat(agent): Expose magicsock metrics ( #7183 )
...
* feat: Expose magicsock metrics
* golden-files
2023-04-19 09:09:23 +02:00
Colin Adler
fbf329fbb7
fix(tailnet): set TCP keepalive idle to 72 hours for SSH conns ( #7196 )
2023-04-18 17:53:11 -05:00
Colin Adler
57c4de4647
feat(healthcheck): add accessurl check ( #7193 )
2023-04-18 15:52:00 -05:00
Dean Sheather
fa5387ce07
chore: fix make gen ( #7190 )
2023-04-18 17:56:52 +00:00
Kyle Carberry
888eb238ec
fix: use CODER_HTTP_ADDRESS in docker-compose.yml ( #7185 )
...
Fixes #7184 .
2023-04-18 11:44:41 -05:00
Steven Masley
7f041fecd8
test: Enable filter test with cancelled context ( #7189 )
...
* test: Enable filter test with cancelled context
* fixup! test: Enable filter test with cancelled context
2023-04-18 11:06:10 -05:00
Cian Johnston
b26826ee3f
chore(docs): update advice for cache dir ( #7182 )
...
* Adds a note in openshift documentation regarding CODER_CACHE_DIRECTORY with readOnlyRootFS=true
2023-04-18 14:13:45 +01:00
Kyle Carberry
693e5d94bc
fix: add global headers to vscodessh command ( #7181 )
2023-04-18 08:07:10 -05:00
Bruno Quaresma
56bf9cfdbe
fix(site): Handle carriage on logs output ( #7172 )
2023-04-17 20:45:48 +00:00
Colin Adler
b44e6e6711
fix(healthcheck): remove t.Parallel() from healthcheck tests ( #7174 )
2023-04-17 15:01:47 -05:00
Steven Masley and Dean Sheather
658246d5f2
chore: add workspace proxies to the backend ( #7032 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-17 19:57:21 +00:00
Kira Pilot
dc5e16ae22
feat: add success modal with token value to create token page ( #7170 )
...
* added token success modal
* added a test for new modal
2023-04-17 11:54:43 -07:00
Bruno Quaresma
76b5deea78
chore(site): Remove template editor out of experimental ( #7165 )
2023-04-17 14:40:21 -03:00
Ammar Bandukwala
80bf042528
chore(coderd): remove timing check ( #7144 )
2023-04-17 17:40:02 +00:00
Mathias Fredriksson
b3b26a62f2
test(agent/reaper): Fix restructure issue ( #7168 )
...
In #7164 we accidentally removed the "in CI" check, this fixes it.
2023-04-17 17:39:10 +00:00
Bruno Quaresma
bb3b8bab78
fix(site): Reset delete modal data when selected user changes ( #7167 )
2023-04-17 12:29:08 -05:00
Mathias Fredriksson
bf0fed4f3f
chore: Update pion/udp and improve parallel/non-parallel tests ( #7164 )
...
* test(all): Improve and fix subtests with parallell/nonparallel parents
* chore: Update pion/udp to fix buffer close
2023-04-17 20:23:10 +03:00
Ammar Bandukwala and Kyle Carberry
c6b2861493
feat: allow disabling stun addresses via env ( #7066 )
...
* feat: allow disabling stun addresses via env
Resolves #6791
* Specify a dummy access URL so the tunnel wouldn't start
* Document
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-04-17 17:20:26 +00:00
Cian Johnston
25c1e45930
chore(helm): add unit tests for setting labels / annotations on serviceaccount / deployment / pod ( #7156 )
...
* chore(helm): add unit tests for setting sa annotations
* chore(cli): also add test for labels / annotations / podLabels / podAnnotations
v0.22.2
2023-04-17 16:49:25 +01:00
Kyle Carberry
26cfc18b74
fix: use proper deployment access setting name ( #7162 )
2023-04-17 10:01:51 -05:00
Mathias Fredriksson
51841e9e11
test(cli): Fix TestTemplatePush/UseWorkingDir bad use of chdir ( #7160 )
2023-04-17 17:58:25 +03:00
Bruno Quaresma
53f521aaf9
chore(site): Make requests when offline ( #7161 )
2023-04-17 14:44:38 +00:00
Muhammad Atif Ali
4061a254a5
docs: fix a broken link in docs/README.md ( #7150 )
2023-04-17 13:05:12 +00:00