coder/cli
Kyle Carberry cb7375450b
feat: add startup script logs to the ui (#6558)
* Add startup script logs to the database

* Add coderd endpoints for startup script logs

* Push startup script logs from agent

* Pull startup script logs on frontend

* Rename queries

* Add constraint

* Start creating log sending loop

* Add log sending to the agent

* Add tests for streaming logs

* Shorten notify channel name

* Add FE

* Improve bulk log performance

* Finish UI display

* Fix startup log visibility

* Add warning for overflow

* Fix agent queue logs overflow

* Display staartup logs in a virtual DOM for performance

* Fix agent queue with loads of logs

* Fix authorize test

* Remove faulty test

* Fix startup and shutdown reporting error

* Fix gen

* Fix comments

* Periodically purge old database entries

* Add test fixture for migration

* Add Storybook

* Check if there are logs when displaying features

* Fix startup component overflow gap

* Fix startup log wrapping

---------

Co-authored-by: Asher <ash@coder.com>
2023-03-23 14:09:13 -05:00
..
clibase chore: early merge clibase foundations (#6542) 2023-03-10 13:41:32 -06:00
cliflag fix: Improve consistency on CLI help (#4112) 2022-09-19 11:36:18 -05:00
clitest feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
cliui feat: CLI use multiselect for list(string) (#6631) 2023-03-16 17:17:48 +01:00
config feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
testdata feat: Dbauthz is now default, remove out of experimental (#6650) 2023-03-21 09:10:22 -05:00
agent.go feat: add startup script logs to the ui (#6558) 2023-03-23 14:09:13 -05:00
agent_internal_test.go feat: Ignore agent pprof port in listening ports (#6515) 2023-03-09 10:53:00 -06:00
agent_test.go chore: add echo helper to create an agent with token (#6576) 2023-03-21 18:03:38 +00:00
configssh.go feat: Add deployment side config-ssh options (#6613) 2023-03-16 13:03:37 -05:00
configssh_internal_test.go feat: Add deployment side config-ssh options (#6613) 2023-03-16 13:03:37 -05:00
configssh_test.go chore: add echo helper to create an agent with token (#6576) 2023-03-21 18:03:38 +00:00
constants.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
create.go fix: CLI do not ignore autostop (#6647) 2023-03-17 18:14:46 +01:00
create_test.go feat: pass `access_token` to `coder_git_auth` resource (#6713) 2023-03-22 19:37:08 +00:00
delete.go feat: Add buffering to provisioner job logs (#4918) 2022-11-06 20:50:34 -06:00
delete_test.go test: Fix cli delete test (#6183) 2023-02-13 14:54:38 +00:00
dotfiles.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
dotfiles_test.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
gitaskpass.go chore: update to go 1.20 (#5968) 2023-02-02 12:36:27 -06:00
gitaskpass_test.go chore: move agent functions from `codersdk` into `agentsdk` (#5903) 2023-01-29 15:47:24 -06:00
gitssh.go chore: move agent functions from `codersdk` into `agentsdk` (#5903) 2023-01-29 15:47:24 -06:00
gitssh_test.go chore: add echo helper to create an agent with token (#6576) 2023-03-21 18:03:38 +00:00
list.go feat: add template max_ttl (#6114) 2023-03-07 14:14:58 +00:00
list_test.go feat: add JSON output format to many CLI commands (#6082) 2023-02-08 17:09:38 +00:00
login.go feat: add minimum password entropy requirements (#6090) 2023-02-08 14:10:08 -06:00
login_test.go feat: add minimum password entropy requirements (#6090) 2023-02-08 14:10:08 -06:00
logout.go feat: add groups support to the CLI (#4755) 2022-10-27 16:49:35 -05:00
logout_test.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
parameter.go feat: CLI use multiselect for list(string) (#6631) 2023-03-16 17:17:48 +01:00
parameter_internal_test.go feat: CLI use multiselect for list(string) (#6631) 2023-03-16 17:17:48 +01:00
parameters.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
parameterslist.go feat: add JSON output format to many CLI commands (#6082) 2023-02-08 17:09:38 +00:00
ping.go feat: add `coder ping` (#6161) 2023-02-13 10:38:00 -06:00
ping_test.go feat: add `coder ping` (#6161) 2023-02-13 10:38:00 -06:00
portforward.go chore: move agent functions from `codersdk` into `agentsdk` (#5903) 2023-01-29 15:47:24 -06: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: add echo helper to create an agent with token (#6576) 2023-03-21 18:03:38 +00:00
publickey.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
publickey_test.go chore: Upgrade to Go 1.19 (#3617) 2022-08-21 22:32:53 +00:00
rename.go feat: Unhide workspace rename command (#5464) 2022-12-19 22:11:10 +02:00
rename_test.go test: Fix new name too long for cli/rename (#5462) 2022-12-19 11:58:22 +00:00
resetpassword.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
resetpassword_test.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
restart.go feat(cli): Add `restart` subcommand (#5799) 2023-01-19 23:56:41 +02:00
restart_test.go feat(cli): Add `restart` subcommand (#5799) 2023-01-19 23:56:41 +02:00
root.go feat: allow DERP headers to be set (#6572) 2023-03-21 18:43:20 +00:00
root_internal_test.go fix: Enable `goleak` for `cli` tests (#3370) 2022-08-12 21:02:10 +03:00
root_test.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
scaletest.go feat: allow DERP headers to be set (#6572) 2023-03-21 18:43:20 +00:00
scaletest_test.go feat: remove loadtest cmd, add new scaletest cmd (#5310) 2022-12-15 15:04:24 +00:00
schedule.go feat: add template max_ttl (#6114) 2023-03-07 14:14:58 +00:00
schedule_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
schedule_test.go feat: add template max_ttl (#6114) 2023-03-07 14:14:58 +00:00
server.go feat: add startup script logs to the ui (#6558) 2023-03-23 14:09:13 -05:00
server_createadminuser.go feat: add flag to disable password auth (#5991) 2023-02-06 14:58:21 +00:00
server_createadminuser_test.go chore: fix flake in create-admin-user test (#6103) 2023-02-08 15:36:43 +00:00
server_slim.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
server_test.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
show.go chore: remove resources calls (#4344) 2022-10-03 21:01:13 +00:00
show_test.go Refactor Provisioner to distinguish Plan and Apply (#5036) 2022-11-11 16:45:58 -06:00
signal_unix.go feat: Add external provisioner daemons (#4935) 2022-11-16 16:34:06 -06:00
signal_windows.go feat: Add external provisioner daemons (#4935) 2022-11-16 16:34:06 -06:00
speedtest.go test(cli): Improve speedtest debugging (#6341) 2023-02-24 20:09:16 +02:00
speedtest_test.go test(cli): Improve speedtest debugging (#6341) 2023-02-24 20:09:16 +02:00
ssh.go chore: update tests to support fish (#6023) 2023-02-03 12:25:11 -06:00
ssh_internal_test.go feat: show banner when workspace is outdated (#4926) 2022-11-07 19:12:39 +01:00
ssh_other.go feat: add GPG forwarding to coder ssh (#5482) 2023-01-06 07:52:19 +00:00
ssh_test.go fix(tailnet): Skip nodes without DERP, avoid use of RemoveAllPeers (#6320) 2023-02-24 18:16:29 +02:00
ssh_windows.go feat: add GPG forwarding to coder ssh (#5482) 2023-01-06 07:52:19 +00:00
start.go feat: Add buffering to provisioner job logs (#4918) 2022-11-06 20:50:34 -06:00
state.go feat(docs): rework CLI docs (#6312) 2023-02-23 01:53:21 +00:00
state_test.go Refactor Provisioner to distinguish Plan and Apply (#5036) 2022-11-11 16:45:58 -06:00
stop.go feat: Add buffering to provisioner job logs (#4918) 2022-11-06 20:50:34 -06:00
templatecreate.go feat: propagate job error codes (#6507) 2023-03-08 16:32:00 +01:00
templatecreate_test.go feat: Update CLI to handle managed variables (#6220) 2023-02-17 09:07:45 +01:00
templatedelete.go feat: add groups support to the CLI (#4755) 2022-10-27 16:49:35 -05:00
templatedelete_test.go chore: Reduce test times (#3856) 2022-09-04 11:28:09 -05:00
templateedit.go feat: add template max_ttl (#6114) 2023-03-07 14:14:58 +00:00
templateedit_test.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
templateinit.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
templateinit_test.go fix: Guard against CLI cmd running after test exit (#1658) 2022-05-23 20:09:58 +03:00
templatelist.go feat: add JSON output format to many CLI commands (#6082) 2023-02-08 17:09:38 +00:00
templatelist_test.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
templatepull.go feat(cli): extract tar in template pull (#6289) 2023-02-22 19:29:51 +00:00
templatepull_test.go fix: flake in template pull (#6317) 2023-02-23 04:59:07 +00:00
templatepush.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
templatepush_test.go feat: Update CLI to handle managed variables (#6220) 2023-02-17 09:07:45 +01:00
templates.go fix: remove noop `templates plan` command (#6617) 2023-03-16 21:28:22 +00:00
templatevariables.go feat: Update CLI to handle managed variables (#6220) 2023-02-17 09:07:45 +01:00
templateversions.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
templateversions_test.go refactor: Show template versions as timeline (#4800) 2022-10-31 16:38:07 +00:00
tokens.go feat: add ability to name tokens (#6365) 2023-03-02 09:39:38 -08:00
tokens_test.go feat: add ability to name tokens (#6365) 2023-03-02 09:39:38 -08:00
update.go fix: 'coder update' should always start a workspace (#6437) 2023-03-06 08:37:11 -06:00
update_test.go feat: mark coder_parameter as "required" (#6433) 2023-03-07 16:38:31 +01:00
usage.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
usage.tpl feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
usercreate.go fix: increase generated password length resolve flake (#6116) 2023-02-08 20:59:07 +00:00
usercreate_test.go chore: avoid concurrent usage of t.FailNow (#1683) 2022-05-24 08:58:39 +01:00
userlist.go feat: add JSON output format to many CLI commands (#6082) 2023-02-08 17:09:38 +00:00
userlist_test.go chore: remove `CreateAnotherUserWithUser` (#6068) 2023-02-06 23:48:21 +00:00
users.go fix: show help on wraper commands (#4402) 2022-10-06 20:15:28 +00:00
userstatus.go feat: add JSON output format to many CLI commands (#6082) 2023-02-08 17:09:38 +00:00
userstatus_test.go chore: remove `CreateAnotherUserWithUser` (#6068) 2023-02-06 23:48:21 +00:00
util.go feat: add template max_ttl (#6114) 2023-03-07 14:14:58 +00:00
util_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
vscodessh.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
vscodessh_test.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00