lablup / lablup/backend.ai

Adjust compute session status values based on server version compatibility

Open
#3,427 0 comments 0 reactions 1 assignee Claimed by @fregataa View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Description  

When using a client version 24.12 or higher with a server version 24.09 or lower, the client requests a compute session list and encounters states like `PREPARED` that are not defined on the server. This leads to inconsistencies in session state representation.

## Proposed solution

Implement a mechanism in the client to detect the server version or API version and adjust the session status values accordingly. This could involve mapping new status to existing ones or omitting unsupported status.

JIRA Issue: BA-492

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.