Colin Adler
2fd1a726aa
fix: only delete expired agents on success ( #11940 )
2024-01-30 14:11:45 -06:00
Colin Adler
27f3b7a814
fix: add timeout to listening ports request ( #11935 )
...
This can potentially hang for 15m if the agent is unreachable.
2024-01-30 13:53:52 -06:00
Bruno Quaresma
7f1c808ff9
feat(site): simplify create template form by removing advanced settings ( #11918 )
2024-01-30 16:40:59 -03:00
Kayla Washburn-Love
619bdd1e7a
refactor: redesign Paywall component ( #11907 )
2024-01-30 10:26:19 -07:00
Kayla Washburn-Love
20dcefa156
add an interaction test to InfoTooltip ( #11905 )
2024-01-30 10:20:11 -07:00
Bruno Quaresma
e26ba1affd
feat(site): do not show popover on update deadline ( #11921 )
2024-01-30 14:11:15 -03:00
Bruno Quaresma and Cian Johnston
dcab6fa5a4
feat(site): display user avatar ( #11893 )
...
* add owner API to workspace and workspace build responses
* display user avatar in workspace top bar
Co-authored-by: Cian Johnston <cian@coder.com >
2024-01-30 17:07:06 +00:00
Mathias Fredriksson
83eea2d323
feat(scaletest/templates): add support for concurrent scenarios ( #11753 )
2024-01-30 14:54:54 +02:00
Bruno Quaresma
4b27c77969
fix(site): fix parameters' request upon template variables update ( #11898 )
...
Fix https://github.com/coder/coder/issues/11870
2024-01-30 08:03:53 -03:00
Mathias Fredriksson
60653bbacb
fix(cli): allow template name length of 32 in template push and create ( #11915 )
2024-01-30 12:47:10 +02:00
Muhammad Atif Ali
86e33257af
chore(docs): fix a typo ( #11895 )
2024-01-30 12:00:25 +03:00
Spike Curtis
0fc177203e
feat: use agent v2 API to update app health ( #11889 )
...
Use the Agent v2 API to update App Health
2024-01-30 11:35:12 +04:00
Spike Curtis
2599850e54
feat: use agent v2 API to post startup ( #11877 )
...
Uses the v2 Agent API to post startup information.
2024-01-30 11:23:28 +04:00
Spike Curtis
da8bb1c198
feat: use agent v2 API to fetch manifest ( #11832 )
...
Agent uses the v2 API to obtain the manifest, instead of the HTTP API.
2024-01-30 10:11:28 +04:00
Spike Curtis
9cf4e7f15a
fix: prevent agent_test.go from failing on error logs ( #11909 )
...
We're failing tests on error logs like this: https://github.com/coder/coder/actions/runs/7706053882/job/21000984583
Unfortunately, the error we hit, when the underlying connection is closed, is unexported, so we can't specifically ignore it.
Part of the issue is that agent.Close() doesn't wait for these goroutines to complete before returning, so the test harness proceeds to close the connection. This looks to our product code like the network connection failing. It would be possible to fix this, but just doesn't seem worth it for the extra insurance of catching other error logs in these tests.
2024-01-30 10:04:01 +04:00
Spike Curtis
d3983e4dba
feat: add logging to client tailnet yamux ( #11908 )
...
Adds logging to yamux when used for tailnet client connections, e.g. CLI and wsproxy. This could be useful for debugging connection issues with tailnet v2 API.
2024-01-30 09:58:59 +04:00
Spike Curtis
0eff646c31
chore: move proto to sdk conversion to agentsdk ( #11831 )
...
`agentsdk` depends on `agent/proto` because it needs to get the version to dial.
Therefore, the conversion routines need to live in `agentsdk` so that we can convert to and from the Manifest.
I briefly considered refactoring the agent to only reference `proto.Manifest`, but decided against it because we might have multiple protocol versions in the future, its useful to have a protocol-independent data structure.
2024-01-30 09:04:56 +04:00
Spike Curtis
1e8a9c09fe
chore: remove legacy wsconncache ( #11816 )
...
Fixes #8218
Removes `wsconncache` and related "is legacy?" functions and API calls that were used by it.
The only leftover is that Agents still use the legacy IP, so that back level clients or workspace proxies can dial them correctly.
We should eventually remove this: #11819
2024-01-30 07:56:36 +04:00
Spike Curtis
13e24f21e4
feat: use Agent v2 API for Service Banner ( #11806 )
...
Agent uses the v2 API for the service banner, rather than the v1 HTTP API.
One of several for #10534
2024-01-30 07:44:47 +04:00
Jon Ayers
4f5a2f0a9b
feat: add backend for jfrog xray support ( #11829 )
2024-01-29 19:30:02 -06:00
dependabot[bot]
46d92dac57
ci: bump the github-actions group with 5 updates ( #11890 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:38:59 +03:00
dependabot[bot]
5937027c86
chore: bump github.com/gohugoio/hugo from 0.121.2 to 0.122.0 ( #11883 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:23 +03:00
dependabot[bot]
4dc6a302f2
chore: bump google.golang.org/grpc from 1.60.1 to 1.61.0 ( #11885 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:12 +03:00
dependabot[bot]
3b65a1508c
chore: bump github.com/google/uuid from 1.5.0 to 1.6.0 ( #11886 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:01 +03:00
dependabot[bot]
71b79eace4
chore: bump alpine from 3.19.0 to 3.19.1 in /scripts ( #11887 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:35:44 +03:00
Eric Paulsen
d8a3ebef31
docs: fix example template README 404s and semantics ( #11903 )
...
* docs: fix example template README 404s and semantics
* make: gen
2024-01-29 21:34:12 +00:00
Kayla Washburn-Love
f572e18144
fix: fix cliui prompt styling ( #11899 )
2024-01-29 13:56:43 -07:00
Spike Curtis
207328ca50
feat: use appearance.Fetcher in agentapi ( #11770 )
...
This PR updates the Agent API to use the appearance.Fetcher, which is set by entitlement code in Enterprise coderd.
This brings the agentapi into compliance with the Enterprise feature.
2024-01-29 21:22:50 +04:00
Garrett Delfosse
f54278cdfe
fix: respect wait flag on ping ( #11896 )
2024-01-29 11:50:35 -05:00
Colin Adler
bc14e926d8
feat: add option to speedtest to dump a pcap of network traffic ( #11848 )
2024-01-29 09:57:31 -06:00
Spike Curtis
b2bc3fff33
fix: wait for new template version before promoting ( #11874 )
...
Fixes a test flake due to not waiting for the correct template version prior to promoting it.
2024-01-29 19:29:56 +04:00
Steven Masley
04a23261e6
chore: ensure github uids are unique ( #11826 )
2024-01-29 09:13:46 -06:00
Steven Masley
d66e6e78ee
fix: always attempt external auth refresh when fetching ( #11762 ) ( #11830 )
...
* fix: always attempt external auth refresh when fetching
* refactor validate to check expiry when considering "valid"
2024-01-29 08:55:15 -06:00
Cian Johnston
eeef56a655
feat(cli): show workspace favorite status in list output ( #11878 )
2024-01-29 14:14:12 +00:00
Cian Johnston
9abf6ec170
feat(site): show favorite workspaces in ui ( #11875 )
...
* Add Star beside workspace name to indicate favorite status in WorkspacesList
* Add button in workspace top row to toggle workspace favorite status
2024-01-29 13:39:31 +00:00
Bruno Quaresma
acd22b2c65
fix(site): fix capitalized username ( #11891 )
...
Fix #11888
2024-01-29 10:24:19 -03:00
Mathias Fredriksson
3e89ba23e5
test(scaletest): fix websocket error during close ( #11879 )
...
Fixes #11735
2024-01-29 13:42:30 +02:00
Muhammad Atif Ali
8398b4188b
ci: fix winget-release workflow ( #11865 )
2024-01-29 13:49:20 +03:00
Spike Curtis
bc4ae53261
chore: refactor Appearance to an interface callable by AGPL code ( #11769 )
...
The new Agent API needs an interface for ServiceBanners, so this PR creates it and refactors the AGPL and Enterprise code to achieve it.
Before we depended on the fact that the HTTP endpoint was missing to serve an empty ServiceBanner on AGPL deployments, but that won't work with dRPC, so we need a real interface to call.
2024-01-29 12:17:31 +04:00
Marcin Tojek
aacb4a2b4c
feat: use map instead of slice in metrics aggregator ( #11815 )
2024-01-29 09:12:41 +01:00
Spike Curtis
37e9479815
fix: fix TestServiceBanners/Agent ( #11768 )
...
The original test is bugged in that it
1. creates a new AGPL coderd with a new database, so no appearance is set in the DB.
2. overwrites the agentClient so the assertion after removing the license is against the AGPL coderd
2024-01-29 11:56:33 +04:00
Spike Curtis
f9fdd44510
feat: change codersdk to use tailnet v2 for DERPMap updates ( #11736 )
...
fixes #10533
refactors `codersdk` workspace agent dialer to use a single websocket connection to the tailnet v2 API for both coordination and DERPMap updates, rather than separate websockets (and the v1 API for DERPMaps).
2024-01-29 11:26:50 +04:00
Muhammad Atif Ali
699a4b8dd4
chore(dogfood): use built-in VS Code Desktop button over the module ( #11869 )
2024-01-29 00:37:22 +03:00
Eric Paulsen
be4d5221ba
docs: add guide for azure federation ( #11864 )
...
* docs: add guide for azure federation
* make: fmt
* refactor: arm secrets and semantics
2024-01-28 15:51:11 -05:00
Muhammad Atif Ali
2f9bf1ebe1
ci: validate template before pushing ( #11867 )
2024-01-27 10:02:10 +03:00
Spike Curtis
4825b7ccd2
fix: use new context after t.Parallel in TestOAuthAppSecrets
...
c.f. https://coder.com/blog/go-testing-contexts-and-t-parallel
fixes flakes like https://github.com/coder/coder/runs/20856469613
2024-01-27 08:45:43 +04:00
Muhammad Atif Ali and Mathias Fredriksson
de6d4794dc
chore(dogfood): replace repo_dir with base_repo_dir in git-clone module ( #11835 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-01-27 01:45:07 +00:00
Kayla Washburn-Love
bb8ce7bc02
chore: move components/Resources to modules/resources ( #11852 )
2024-01-26 15:11:07 -07:00
Kayla Washburn-Love
8f46beef72
chore: remove most usage of PropsWithChildren ( #11859 )
2024-01-26 12:04:22 -07:00
Kayla Washburn-Love
c2b6e204f3
fix: type error from theme update ( #11844 )
2024-01-26 10:56:19 -07:00