lablup / lablup/backend.ai

Refactor the response format of session list query

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

Description

### Main idea

As we've been supporting multi-node multi-container sessions since 21.09, we need to rearrange the response of the session list query. There are some reasons why we need to refactor the format.

- Several keys that don't use anymore (e.g. `rocm_util`, `cpu_util`, etc.) still remain and may cause misusage.
- Supporting multi-node environment, some keys need to be organized by container-wise, rather than session-wise. (e.g. status)
### Alternative ideas

_No response_

### Anything else?

_No response_

JIRA Issue: BA-206

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.