Kayla Washburn-Love
76e73287a5
refactor: add modules/templates and modules/workspaces ( #11947 )
2024-01-31 12:09:36 -07:00
Muhammad Atif Ali
4604db072a
fix(dogfood): fix startup script on workspace creation ( #11958 )
2024-01-31 18:01:22 +03:00
Muhammad Atif Ali
d2b4d58e96
chore(dogfood): use better names for image options ( #11957 )
2024-01-31 14:36:01 +00:00
Muhammad Atif Ali
215a9d1b30
chore: experiment building dogfood image with nix ( #11680 )
2024-01-31 14:27:11 +00:00
Marcin Tojek
13cbca679e
feat: support template bundles as zip archives ( #11839 )
2024-01-31 14:49:55 +01:00
Mathias Fredriksson
b25deaae20
fix(coderd/database): fix limit in GetUserWorkspaceBuildParameters ( #11954 )
2024-01-31 13:56:36 +02:00
Spike Curtis
a34cada09a
feat: add logging to pgPubsub ( #11953 )
...
Should be helpful for #11950
Adds a logger to pgPubsub and logs various events, most especially connection and disconnection from postgres.
2024-01-31 15:49:16 +04:00
Spike Curtis
1c8b803785
feat: add logging to pgcoord subscribe/unsubscribe ( #11952 )
...
Adds logging to unsubscribing from peer and tunnel updates in pgcoordinator, since #11950 seems to be problem with these subscriptions
2024-01-31 12:15:58 +04:00
Jon Ayers
0c30dde9b5
feat: add customizable upgrade message on client/server version mismatch ( #11587 )
2024-01-30 17:11:37 -06:00
Ammar Bandukwala
adbb025e74
feat: add user-level parameter autofill ( #11731 )
...
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows.
I decided against explicit user values in settings for these reasons:
* Autofill is far easier to implement
* Users benefit from autofill _by default_ — we don't need to teach them new concepts
* If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
2024-01-30 16:02:21 -06:00
Kayla Washburn-Love
aeb4112513
chore: update storybook ( #11936 )
2024-01-30 14:23:40 -07:00
Spike Curtis
520b12e1a2
fix: close MultiAgentConn when coordinator closes ( #11941 )
...
Fixes an issue where a MultiAgentConn isn't closed properly when the coordinator it is connected to is closed.
Since servertailnet checks whether the conn is closed before reinitializing, it is important that we check this, otherwise servertailnet can get stuck if the coordinator closes (e.g. when we switch from AGPL to PGCoordinator after decoding a license).
2024-01-31 00:38:19 +04:00
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