FR: Add build_reason to Workspace Builds #17024
Closed
bjornrobertsson
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When investigating Workspace behavior, it would be valuable to track why a workspace was started. Currently, currently there's no clear way to determine if a workspace was started due to a user SSH connection, VS Code connection, or direct console action.
Proposed Solution
Add a
build_reason
field to workspace builds that provides context about what triggered the build. This field should be exposed in the API, UI, and included in support bundles.Use Cases
Implementation Details
build_reason
field to the workspace build database schemauser_ssh_connection
vscode_connection
web_terminal
manual_ui_action
autostart_schedule
api_request
Context
This request was inspired by troubleshooting scenarios and the discovery we don't log the exact method of the start, only the client/worker.
Related Issues
Beta Was this translation helpful? Give feedback.
All reactions