Skip to content
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

Make sure to display old deprecated instance sizes #939

Merged
merged 6 commits into from
Nov 4, 2024

Conversation

lauhon
Copy link
Contributor

@lauhon lauhon commented Oct 29, 2024

Hi,

I'm not entirely sure if this is valid. But I noticed that the old instance slugs still work, but are not part of the schema.

My idea is to display them, but as deprecated. This would be great for the project Im working on, because we still use those old slugs and would benefit from them being present in the API spec.

@lauhon
Copy link
Contributor Author

lauhon commented Oct 30, 2024

Hey @loosla, thanks for helping me out by approving the actions and merging main.

Could you check out the failing pipeline?
It seems to have nothing to do with the file I changed, so I'm not sure how to fix it.

Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

Hi @lauhon,

Thanks for the PR. I've made some suggestions inline.

Admittedly, I am a bit reluctant about this one. We are intentionally discouraging new usage of these plans as they will go away at some point in the future. Though marking them as deprecated and adding a bit of a disclaimer should be a good compromise.

example: apps-s-1vcpu-0.5gb
example: apps-s-1vcpu-0.5gb

old_instance_size_slug:
Copy link
Member

Choose a reason for hiding this comment

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

Adding old_instance_size_slug here makes this appear as a separate attribute that could be set in an API request.

image

@lauhon
Copy link
Contributor Author

lauhon commented Nov 4, 2024

Thanks a lot @andrewsomething!

I applied your suggestions :)

@andrewsomething andrewsomething self-requested a review November 4, 2024 15:34
Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

👍 LGTM, thanks for applying the changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants