bd944e0d21
chore: rename startup logs to agent logs ( #8649 )
...
* chore: rename startup logs to agent logs
This also adds a `source` property to every agent log. It
should allow us to group logs and display them nicer in
the UI as they stream in.
* Fix migration order
* Fix naming
* Rename the frontend
* Fix tests
* Fix down migration
* Match enums for workspace agent logs
* Fix inserting log source
* Fix migration order
* Fix logs tests
* Fix psql insert
2023-07-28 15:57:23 +00:00
00b9a3ce58
fix: prevent error log when pgcoord
query is canceled ( #8609 )
2023-07-19 16:40:57 -05:00
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
abe1e89f80
chore: increase parallelism of TestWorkspaceQuota ( #6710 )
...
This does a lot of build operations, so having multiple provisioner
daemons is great.
We were actually approaching the ceiling here for test duration!
2023-03-21 22:44:01 +00:00
2a8a147e7d
fix: don't log disconnect error when the database is shutting down ( #6309 )
...
* fix: don't log disconnect error when the database is shutting down
Seen in: https://github.com/coder/coder/actions/runs/4244980490/jobs/7379867681
* Generalize the query close error
2023-02-22 16:07:26 -06:00
dc9b4155e0
feat: Generate DB unique constraints as enums ( #3701 )
...
* feat: Generate DB unique constraints as enums
This fixes a TODO from #3409 .
2022-08-29 14:56:51 +03:00
c8f8c95f6a
feat: Add support for renaming workspaces ( #3409 )
...
* feat: Implement workspace renaming
* feat: Add hidden rename command (and data loss warning)
* feat: Implement database.IsUniqueViolation
2022-08-26 12:28:38 +03:00