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

Resource displays NaN value when session status remains in PENDING/PREPARING status after creation #2639

Open
lizable opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels
effort:easy Need to understand only a specific region of codes (good first issue, easy). field:UI / UX impact:visible This change is visible to users. type:fix Fix features that are not working urgency:blocker IT SHOULD BE RESOLVED BEFORE DISTRIBUTING
Milestone

Comments

@lizable
Copy link
Contributor

lizable commented Aug 19, 2024

What Operating System(s) are you seeing this problem on?

macOS (Apple Silicon)

Backend.AI version

24.03.7

Describe the bug

When after session creation, if session is still in PENDING/PREPARING session, it displays "NaN" value which may degrades user experience. It seems like the resource is not occupied but the value to display is sticked to "occupied_slots". Let's replace them to "requested_slots" if the status is not in RUNNING.

Screenshot(s)

image

To Reproduce

No response

Expected Behavior

No response

Anything else?

No response

@lizable lizable added type:fix Fix features that are not working effort:easy Need to understand only a specific region of codes (good first issue, easy). urgency:blocker IT SHOULD BE RESOLVED BEFORE DISTRIBUTING impact:visible This change is visible to users. field:UI / UX labels Aug 19, 2024
@lizable lizable added this to the 24.03 milestone Aug 19, 2024
@lizable lizable self-assigned this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:easy Need to understand only a specific region of codes (good first issue, easy). field:UI / UX impact:visible This change is visible to users. type:fix Fix features that are not working urgency:blocker IT SHOULD BE RESOLVED BEFORE DISTRIBUTING
Projects
None yet
Development

No branches or pull requests

1 participant