dependabot[bot]
bb3510631b
chore: bump the offlinedocs group in /offlinedocs with 1 update ( #11428 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 02:03:26 +03:00
Steven Masley and Mathias Fredriksson
c6366e5b73
chore: prevent nil derefs in non-critical paths ( #11411 )
...
* chore: prevent nil derefs in non-critical paths
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-01-04 14:51:48 -06:00
Steven Masley
85ff030ab4
chore: update LastConnectedReplicaID in dbmem ( #11412 )
2024-01-04 19:18:54 +00:00
Cian Johnston
4f433e7f3d
ci: broaden scope of needs.changes.db ( #11386 )
...
* Broadens scope of needs.changes.db to include anything under the path coderd/database.
* Removes dependency of test-go-pg on sqlc-vet.
2024-01-04 16:24:54 +00:00
Garrett Delfosse
5981abd689
fix: handle unescaped userinfo in postgres url ( #11396 )
...
* fix: handle unescaped userinfo in postgres url
* add tests
* fix tests
2024-01-04 08:46:00 -05:00
Muhammad Atif Ali
f0db302df2
chore: add lxc logo ( #11404 )
2024-01-04 16:31:16 +03:00
Cian Johnston
4355894b2b
fix(coderd/database): revert addition of v prefix to provisioner_daemons.api_version ( #11403 )
...
"Reverts" #11385 by adding an inverse migration.
2024-01-04 11:47:31 +00:00
Spike Curtis
f9ebe8c719
fix: send end of logs when dbfake completes job ( #11402 )
2024-01-04 15:18:00 +04:00
Spike Curtis
48cd4c3a10
feat: promote single-tailnet out of experimental ( #11366 )
2024-01-04 09:27:36 +04:00
Kayla Washburn
ffa7722c31
feat: select group avatars with the emoji picker ( #11395 )
2024-01-03 15:47:24 -07:00
Ben Potter
ee2daedae0
chore: template update policies are GA ( #11397 )
2024-01-03 15:49:29 -06:00
Dean Sheather and Ben
06f519d7f1
docs: add template autostop requirement docs ( #11235 )
...
* chore: template autostop requirement docs
* fixup! chore: template autostop requirement docs
* fixes from feedback.
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
2024-01-03 14:25:25 -06:00
Kyle Carberry
30afe43f8a
fix: create tempdir prior to cleanup ( #11394 )
...
See https://github.com/coder/coder/actions/runs/7399827933/job/20132407700
Seems like this happened because the test was being cleaned up
while the tempdir was being made.
2024-01-03 19:18:15 +00:00
Bruno Quaresma
4edd21ae9e
fix(site): fix loading spinner on template version status badge ( #11392 )
2024-01-03 16:29:04 +00:00
Bruno Quaresma
f5196c06e1
fix(site): fix insights picker and disable animation ( #11391 )
2024-01-03 16:25:01 +00:00
Cian Johnston
f80a1cf3c8
fix(coderd/database): add missing v prefix to provisioner_daemons.api_version ( #11385 )
2024-01-03 14:11:02 +00:00
Cian Johnston
068e730046
chore(coderd/database/dbfake): fix pq test flake in TestStart_Starting ( #11384 )
2024-01-03 12:27:50 +00:00
Bruno Quaresma
d74e7ca20f
docs: update FE fetching data docs ( #11376 )
2024-01-03 12:27:33 +00:00
Spike Curtis
5d76210b0d
fix: change coder start to be a no-op if workspace is started
...
Fixes #11380
2024-01-03 13:24:37 +04:00
Cian Johnston
1ef96022b0
feat(coderd): add provisioner build version and api_version on serve ( #11369 )
...
* assert provisioner daemon version and api_version in unit tests
* add build info in HTTP header, extract codersdk.BuildVersionHeader
* add api_version to codersdk.ProvisionerDaemon
* testutil.MustString -> testutil.MustRandString
2024-01-03 09:01:57 +00:00
Muhammad Atif Ali
9031b498ea
ci: use depot.dev to build dogfood image ( #11378 )
2024-01-02 23:27:37 +03:00
Garrett Delfosse
227234ded5
fix: correct wording on logo url field ( #11377 )
2024-01-02 14:53:18 -05:00
Bruno Quaresma
ac899be74c
chore(site): move workspace topbar component ( #11374 )
2024-01-02 16:02:11 -03:00
Mathias Fredriksson
df3c310379
feat(cli): add coder open vscode ( #11191 )
...
Fixes #7667
2024-01-02 20:46:18 +02:00
Bruno Quaresma
099be249a7
fix(site): fix external auth button loading state ( #11373 )
2024-01-02 18:30:05 +00:00
Kayla Washburn
6308a78365
chore: clean up light theme code ( #11319 )
2024-01-02 15:19:20 -03:00
Bruno Quaresma
c37c0e7d1b
refactor(site): simplify workspace topbar ( #11370 )
2024-01-02 15:17:42 -03:00
Bruno Quaresma
62a20e86fd
chore(site): ignore deletion date on chromatic ( #11372 )
2024-01-02 18:17:24 +00:00
Bruno Quaresma
a1341ee9ac
fix(site): fix pill spinner size ( #11368 )
2024-01-02 15:05:20 -03:00
Bruno Quaresma
467a1a3e71
fix(site): fix workspace topbar back button ( #11371 )
2024-01-02 18:01:06 +00:00
Kayla Washburn
a24c3b4dc7
chore: cleanup inline prop type definitions ( #11317 )
2024-01-02 10:39:00 -07:00
Bruno Quaresma
cf17fabcc6
feat(site): refactor workspace header to be more slim ( #11327 )
2024-01-02 12:42:51 -03:00
Muhammad Atif Ali
608937c79c
chore(site): update node to version 18.19.0 ( #11344 )
2024-01-02 12:41:24 +00:00
Bruno Quaresma
8717fdfc20
refactor(site): refactor pill component API ( #11329 )
...
Refactor the Pill API to make it easier to extend and reuse.
2024-01-02 09:28:51 -03:00
Spike Curtis
c9b7d61769
chore: refactor agent connection updates ( #11301 )
...
Refactors the code that handles monitoring an agent websocket with pings and updating the connection times in the DB.
Consolidates v1 and v2 agent APIs under the same code for this.
One substantive change (not _just_ a refactor) is that I've made it so that we actually disconnect if the agent fails to respond to our pings, rather than the old behavior where we would update the database, but not actually tear down the websocket.
2024-01-02 16:04:37 +04:00
Spike Curtis
520c3a8ff7
fix: use TSMP for pings and checking reachability ( #11306 )
...
We're seeing some flaky tests related to agent connectivity - https://github.com/coder/coder/actions/runs/7286675441/job/19856270998
I'm pretty sure what happened in this one is that the client opened a connection while the wgengine was in the process of reconfiguring the wireguard device, so the fact that the peer became "active" as a result of traffic being sent was not noticed.
The test calls `AwaitReachable()` but this only tests the disco layer, so it doesn't wait for wireguard to come up.
I think we should be using TSMP for pinging and reachability, since this operates at the IP layer, and therefore requires that wireguard comes up before being successful.
This should also help with the problems we have seen where a TCP connection starts before wireguard is up and the initial round trip has to wait for the 5 second wireguard handshake retry.
fixes : #11294
2024-01-02 15:53:52 +04:00
Muhammad Atif Ali
58e40f6cd6
chore: update nfpm to v2.35.1 ( #11310 )
2024-01-02 10:27:46 +00:00
Spike Curtis
4071f1713b
feat: add logging to agent stats and JetBrains tracking ( #11364 )
...
Adds logging so we can hope to diagnose #11363
2024-01-02 13:34:49 +04:00
dependabot[bot]
893a8ea583
chore: bump golang.org/x/tools from 0.15.0 to 0.16.1 ( #11357 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 12:26:45 +03:00
dependabot[bot]
a439507c6a
ci: bump the github-actions group with 1 update ( #11355 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 12:26:29 +03:00
Steven Masley and Andrew Benton
8f49f10134
chore: put overrides and renames in pkg context in sqlc.yaml ( #11347 )
...
* chore: Put overrides and renames in pkg context in sqlc.yaml
---------
Co-authored-by: Andrew Benton <andrewmbenton@gmail.com >
2024-01-02 08:56:38 +00:00
Spike Curtis
36636bb6a5
feat: add tailnet to agent RPC service ( #11304 )
...
Adds tailnet.DRPCService to the agent API
Supports #10531 but we still need to add version negotiation to the websocket endpoint
2024-01-02 10:10:20 +04:00
Spike Curtis
25f2abf9ab
chore: remove tailnet from agent API and rename client API to tailnet ( #11303 )
...
Refactors our DRPC service definitions slightly.
In the previous version, I inserted the RPCs from the tailnet proto directly into the Agent service. This makes things hard to deal with because DRPC then generates a new set of methods with new interfaces with the `DRPCAgent_` prefixed. Since you can't have a single method that takes different argument types, we couldn't reuse the implementation of those RFCs without a lot of extra classes and pass-thru methods.
Instead, the "right" way to do it is to integrate at the DRPC layer. So, we have two DRPC services available over the Agent websocket, and register them both on the DRPC `mux`.
Since the tailnet proto RPC service is now for both clients and agents, I renamed some things to clarify and shorten.
This PR also removes the `TailnetAPI` implementation from the `agentapi` package, and the next PR in the stack replaces it with the implementation from the `tailnet` package.
2024-01-02 10:02:45 +04:00
Spike Curtis
65290997c1
chore: disable failing metrics check until it can be fixed ( #11361 )
2024-01-02 05:39:48 +00:00
Spike Curtis
f28f340c7b
fix: test for expiry 3 months on Azure certs ( #11362 )
2024-01-02 09:30:36 +04:00
Spike Curtis
d257f8163d
feat: implement DERP streaming on tailnet Client API ( #11302 )
...
Implements DERPMap streaming from client API.
In a subsequent PR I plan to remove the implementation in coderd/agentapi in favor of the tailnet one
2024-01-02 08:07:57 +04:00
dependabot[bot]
055a160431
chore: bump the offlinedocs group in /offlinedocs with 1 update ( #11358 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 05:49:33 +03:00
sharkymark and Eric
3582284977
chore: update images in appearance docs and correct inconsistencies ( #11346 )
...
* chore: update images in appearance docs and correct inconsistencies
* fix: spelling
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-12-28 15:06:54 -06:00
Myne
6fcc49f030
fix(examples/templates/nomad-docker): ignore NOMAD_NAMESPACE and NOMAD_REGION when Coder is running in nomad ( #11341 )
2023-12-28 10:24:18 +03:00
Muhammad Atif Ali
e9437e2662
chore(site): update miscellaneous svg icons ( #11343 )
2023-12-27 23:05:03 +03:00