Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore!: fix workspace apps response #17700

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 1 commit into from
May 7, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma commented May 7, 2025

Fix WorkspaceApp response type to better reflect the schema from https://registry.terraform.io/providers/coder/coder/latest/docs/resources/app.

EDIT(ethanndickson): This is a breaking change as it adds omitempty to multiple fields in a codersdk response type. API consumers that expect those fields to be always present may need to be updated.

@BrunoQuaresma BrunoQuaresma requested review from a team May 7, 2025 12:25
@BrunoQuaresma BrunoQuaresma self-assigned this May 7, 2025
@BrunoQuaresma BrunoQuaresma requested review from jaaydenh and removed request for a team May 7, 2025 12:25
@BrunoQuaresma BrunoQuaresma added the hotfix PRs only. Harmless small change. Only humans may set this. label May 7, 2025
@BrunoQuaresma BrunoQuaresma requested review from ammario and removed request for a team May 7, 2025 12:25
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main or release branch
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@BrunoQuaresma BrunoQuaresma requested review from a team and Emyrk and removed request for ammario and a team May 7, 2025 12:25
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Wait a sec, isn't it API breaking change?

@BrunoQuaresma
Copy link
Collaborator Author

I'm not sure since it was a "bug"...

@BrunoQuaresma BrunoQuaresma requested a review from mtojek May 7, 2025 12:35
@mtojek
Copy link
Member

mtojek commented May 7, 2025

Hm.. can you link the real issue reported?

@BrunoQuaresma
Copy link
Collaborator Author

Hm.. can you link the real issue reported?

There is no issue. It is just an ad-hoc improvement that would make our FE code more reliable since the types are now truly representing the API response.

@BrunoQuaresma BrunoQuaresma changed the title chore: fix workspace apps response chore!: fix workspace apps response May 7, 2025
@github-actions github-actions bot added the release/breaking This label is applied to PRs to detect breaking changes as part of the release process label May 7, 2025
@BrunoQuaresma BrunoQuaresma merged commit 9fe5b71 into main May 7, 2025
43 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-workspaceapps-response branch May 7, 2025 13:05
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hotfix PRs only. Harmless small change. Only humans may set this. release/breaking This label is applied to PRs to detect breaking changes as part of the release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants