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

smartos-ui#4 exit_status needs to be i64 #7

Merged
merged 2 commits into from
Aug 23, 2024
Merged

smartos-ui#4 exit_status needs to be i64 #7

merged 2 commits into from
Aug 23, 2024

Conversation

bahamat
Copy link
Member

@bahamat bahamat commented Aug 23, 2024

In #4, ultimately we boiled down to having exit_status returned by vmadm being -134, and that's the cause of the UI crash.

Because vmadm is capable of returning negative values here, it was a bug for the rust data type here to be unsigned, and must be signed instead.

@bahamat bahamat requested a review from a team August 23, 2024 04:24
@danmcd
Copy link

danmcd commented Aug 23, 2024

Mentioning #4 here so I can link to it.

Copy link

@danmcd danmcd left a comment

Choose a reason for hiding this comment

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

Can't IA this until I see a summary (the issue is long and winding) about why this simple change-the-type fixes things. (JSON getting a negative number, maybe?)

@bahamat bahamat merged commit 3d49523 into master Aug 23, 2024
2 checks passed
@bahamat bahamat deleted the i4 branch August 23, 2024 16:01
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