mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
e4dc2d9418
This PR sets a constraint of 1MB on the provisioner job logs written to the database. This is consistent with the constraint we place on workspace agent logs: https://github.com/coder/coder/blob/4ac6be6d835dc36c242e35a26b584b784040bf28/coderd/database/dump.sql#L2030 It also adds a message printed to the front end about the provisioner log overflow, and updates the message printed to the front end when workspace startup logs exceed the max, as it was causing some customers to think their startup script had failed to run.
3.1 KiB
Generated
3.1 KiB
Generated
provisioner jobs list
List provisioner jobs
Aliases:
- ls
Usage
coder provisioner jobs list [flags]
Options
-s, --status
| Type | [pending|running|succeeded|canceling|canceled|failed|unknown] |
| Environment | $CODER_PROVISIONER_JOB_LIST_STATUS |
Filter by job status.
-l, --limit
| Type | int |
| Environment | $CODER_PROVISIONER_JOB_LIST_LIMIT |
| Default | 50 |
Limit the number of jobs returned.
-O, --org
| Type | string |
| Environment | $CODER_ORGANIZATION |
Select which organization (uuid or name) to use.
-c, --column
| Type | [id|created at|started at|completed at|canceled at|error|error code|status|worker id|worker name|file id|tags|queue position|queue size|organization id|template version id|workspace build id|type|available workers|template version name|template id|template name|template display name|template icon|workspace id|workspace name|logs overflowed|organization|queue] |
| Default | created at,id,type,template display name,status,queue,tags |
Columns to display in table output.
-o, --output
| Type | table|json |
| Default | table |
Output format.