Skip to content

fix(cli): extractRBGStatus wrong - #290

Merged
Syspretor merged 1 commit into
sgl-project:mainfrom
diw-zw:0422-list
Apr 22, 2026
Merged

Syspretor merged 1 commit into
sgl-project:mainfrom
diw-zw:0422-list

Conversation

@diw-zw

@diw-zw diw-zw commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Ⅰ. Motivation

Ⅱ. Modifications

Ⅲ. Does this pull request fix one issue?

fixes #XXXX

Ⅳ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅴ. Describe how to verify it

VI. Special notes for reviews

Checklist

  • Format your code make fmt.
  • Add unit tests or integration tests.
  • Update the documentation related to the change.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the extractRBGStatus function in the CLI to correctly identify the Ready status by iterating through the workload conditions. The review feedback suggests improving this logic by using defined constants instead of hardcoded strings and adding support for a Progressing status to provide more granular feedback to the user.

Comment thread cmd/cli/cmd/llm/svc/list.go

@Syspretor Syspretor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm

@Syspretor
Syspretor enabled auto-merge (squash) April 22, 2026 11:17
@Syspretor
Syspretor merged commit a496199 into sgl-project:main Apr 22, 2026
8 of 9 checks passed
@diw-zw
diw-zw deleted the 0422-list branch April 30, 2026 08:44
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.

2 participants