coder/cli
Kyle Carberry c5afaffa7e
fix: Tidy up closes for nicer output (#4605)
* fix: Tidy up closes for nicer output

There was a context canceled message that would appear
because of traces, and this was using the wrong close.

I don't think it was causing any specific problems, but
it could make a replica warning appear on restart.

* Fix migration and experimental
2022-10-17 18:36:23 -05:00
..
cliflag fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
clitest feat: show better error on invalid template upload (#3847) 2022-09-02 22:48:40 +00:00
cliui fix: Use the maximum number of users for a license warning (#4410) 2022-10-06 20:59:25 -05:00
config feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
deployment docs: add high availability (#4583) 2022-10-17 14:27:38 -05:00
agent.go chore: Rename context in `cli/agent` (#4422) 2022-10-07 18:06:20 +00:00
agent_test.go feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
agent_unix.go feat: Add support for pprof in `coder agent` (#1985) 2022-06-06 16:38:33 +03:00
agent_windows.go feat: Add support for pprof in `coder agent` (#1985) 2022-06-06 16:38:33 +03:00
configssh.go chore: Remove WebRTC networking (#3881) 2022-09-19 19:46:29 -05:00
configssh_internal_test.go fix: Use smarter quoting for ProxyCommand in config-ssh (#3755) 2022-08-30 21:08:20 +03:00
configssh_test.go feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
constants.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
create.go feat: Allow admins to create workspaces (#4183) 2022-09-23 20:17:10 -05:00
create_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
delete.go feat: add orphan support (#3849) 2022-09-06 17:07:00 +00:00
delete_test.go feat: add orphan support (#3849) 2022-09-06 17:07:00 +00:00
dotfiles.go fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
dotfiles_test.go feat: add dotfiles command (#1723) 2022-05-25 16:43:20 -05:00
gitssh.go feat: Improve experience with local SSH keys (#3835) 2022-09-12 17:26:04 +03:00
gitssh_test.go chore: remove resources calls (#4344) 2022-10-03 21:01:13 +00:00
list.go refactor: cli: address comments from #4240 (#4259) 2022-09-29 11:04:37 +01:00
list_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
login.go fix: use more descriptive login flags (#4493) 2022-10-11 18:45:30 +00:00
login_test.go fix: use more descriptive login flags (#4493) 2022-10-11 18:45:30 +00:00
logout.go fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
logout_test.go fix: Fix cleanup in test helpers, prefer `defer` in tests (#3113) 2022-07-25 19:22:02 +03:00
parameter.go chore: skip some flaky tests (#1643) 2022-05-21 00:39:51 +01:00
parameter_internal_test.go feat: Read params from file for template/workspace creation (#1541) 2022-05-20 11:29:10 -04:00
parameters.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
parameterslist.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
portforward.go fix: chrome requests hanging over port-forward (#4588) 2022-10-17 11:45:29 -05:00
portforward_internal_test.go feat: Support for comma-separation and ranges in port-forward (#4166) 2022-10-03 11:58:43 +03:00
portforward_test.go chore: remove resources calls (#4344) 2022-10-03 21:01:13 +00:00
publickey.go fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
publickey_test.go chore: Upgrade to Go 1.19 (#3617) 2022-08-21 22:32:53 +00:00
rename.go feat: Add support for renaming workspaces (#3409) 2022-08-26 12:28:38 +03:00
rename_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
resetpassword.go feat: add API key scopes and application_connect scope (#4067) 2022-09-19 17:39:02 +00:00
resetpassword_test.go feat: Add tunnel by default (#4399) 2022-10-07 08:05:56 -05:00
root.go fix: Tidy up closes for nicer output (#4605) 2022-10-17 18:36:23 -05:00
root_internal_test.go fix: Enable `goleak` for `cli` tests (#3370) 2022-08-12 21:02:10 +03:00
root_test.go feat: add experimental flag (#4364) 2022-10-04 19:45:00 +00:00
schedule.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
schedule_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
schedule_test.go fix: Wait for connections before port-forwarding (#4057) 2022-09-14 21:57:42 +00:00
server.go fix: Tidy up closes for nicer output (#4605) 2022-10-17 18:36:23 -05:00
server_test.go feat: Add tunnel by default (#4399) 2022-10-07 08:05:56 -05:00
show.go chore: remove resources calls (#4344) 2022-10-03 21:01:13 +00:00
show_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
signal_unix.go fix: Add `SIGHUP` and `SIGTERM` handling to `coder server` (#3543) 2022-08-18 16:25:32 +03:00
signal_windows.go fix: Add `SIGHUP` and `SIGTERM` handling to `coder server` (#3543) 2022-08-18 16:25:32 +03:00
speedtest.go feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
speedtest_test.go chore: remove resources calls (#4344) 2022-10-03 21:01:13 +00:00
ssh.go feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
ssh_other.go fix: Monitor TTY size when using SSH (#1119) 2022-04-24 22:23:54 -05:00
ssh_test.go chore: Remove WebRTC networking (#3881) 2022-09-19 19:46:29 -05:00
ssh_windows.go fix: Monitor TTY size when using SSH (#1119) 2022-04-24 22:23:54 -05:00
start.go fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
state.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
state_test.go fix: Remove name from workspace builds (#3937) 2022-09-07 19:49:57 +00:00
stop.go fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
templatecreate.go fix: allow regular users to push files (#4500) 2022-10-13 18:02:52 -05:00
templatecreate_test.go fix: Rename `IncludeProvisionerD` to `IncludeProvisionerDaemon` in test 2022-09-07 20:29:26 +00:00
templatedelete.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
templatedelete_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
templateedit.go fix: template: enforce bounds of template max_ttl (#3662) 2022-08-24 15:45:14 +01:00
templateedit_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
templateinit.go fix: clarify we download templates on template select (#3296) 2022-08-23 17:30:46 +00:00
templateinit_test.go fix: Guard against CLI cmd running after test exit (#1658) 2022-05-23 20:09:58 +03:00
templatelist.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
templatelist_test.go fix: incorrect templates list test assert (#4079) 2022-09-15 15:03:29 -05:00
templateplan.go chore: rename to "template push" in docs (#3525) 2022-08-16 14:52:31 +00:00
templatepull.go fix: allow regular users to push files (#4500) 2022-10-13 18:02:52 -05:00
templatepull_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
templatepush.go fix: allow regular users to push files (#4500) 2022-10-13 18:02:52 -05:00
templatepush_test.go feat: Add custom version names (#4186) 2022-09-23 20:17:36 -05:00
templates.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
templateversions.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
templateversions_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
tokens.go feat: app sharing (now open source!) (#4378) 2022-10-15 02:46:38 +10:00
tokens_test.go feat: tokens (#4380) 2022-10-06 19:02:27 +00:00
update.go fix: Don't use StatusAbnormalClosure (#4155) 2022-09-22 18:26:05 +00:00
update_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
usercreate.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
usercreate_test.go chore: avoid concurrent usage of t.FailNow (#1683) 2022-05-24 08:58:39 +01:00
userlist.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
userlist_test.go feat: improve coder users show output, add json format (#3176) 2022-07-26 15:47:12 -05:00
users.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
userstatus.go coder licenses add CLI command (#3632) 2022-08-23 13:55:39 -07:00
userstatus_test.go chore: Upgrade to Go 1.19 (#3617) 2022-08-21 22:32:53 +00:00
util.go feat: use active users instead of total users in Template views (#3900) 2022-09-09 19:30:31 +00:00
util_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00