Skip to content

chore(codersdk): deprecate WorkspaceAppStatus.{NeedsUserAttention,Icon} #17358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Apr 11, 2025

#17163 introduced the workspace_app_statuses table. Two of these fields (needs_user_attention, icon) turned out to be surplus to requirements.

  • Removes columns needs_user_attention and icon from workspace_app_statuses
  • Marks the corresponding fields of codersdk.WorkspaceAppStatus as deprecated.

@johnstcn johnstcn changed the title chore(codersdk): remove NeedsUserAttention and Icon from WorkspaceAppStatus chore(codersdk): deprecate WorkspaceAppStatus.{NeedsUserAttention,Icon} Apr 11, 2025
@johnstcn johnstcn force-pushed the cj/task-status/remove-unused-fields branch from 101cf64 to c9ffa9b Compare April 11, 2025 10:53
@johnstcn johnstcn requested review from Copilot and mafredri April 11, 2025 10:54
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 15 out of 20 changed files in this pull request and generated 1 comment.

Files not reviewed (5)
  • coderd/apidoc/swagger.json: Language not supported
  • coderd/database/dump.sql: Language not supported
  • coderd/database/migrations/000317_workspace_app_status_drop_fields.down.sql: Language not supported
  • coderd/database/migrations/000317_workspace_app_status_drop_fields.up.sql: Language not supported
  • coderd/database/queries/workspaceapps.sql: Language not supported

@johnstcn johnstcn requested a review from kylecarbs April 11, 2025 18:03
@johnstcn johnstcn force-pushed the cj/task-status/remove-unused-fields branch from 08c2c59 to 975a32c Compare April 14, 2025 17:01
@johnstcn johnstcn merged commit 979687c into main Apr 15, 2025
38 of 39 checks passed
@johnstcn johnstcn deleted the cj/task-status/remove-unused-fields branch April 15, 2025 09:47
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants