Skip to content

GO:Cli fix show user storage display truncation - #16805

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
myf-bee:maoyifeng-fix-show-ky
Jul 10, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
myf-bee:maoyifeng-fix-show-ky

Conversation

@myf-bee

@myf-bee myf-bee commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

GO: Cli fix show user storage display truncation

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 10, 2026
@coderabbitai

coderabbitai Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 19e48a02-f664-4ed6-abd1-93696cb09733

📥 Commits

Reviewing files that changed from the base of the PR and between 28340f6 and b324ecd.

📒 Files selected for processing (1)
  • internal/cli/response.go

📝 Walkthrough

Walkthrough

The CLI metric table conversion now skips []interface{} values in CommonDataResponse.Data, preventing those entries from appearing as metric/value rows.

Changes

Metric table filtering

Layer / File(s) Summary
Skip slice-valued metrics
internal/cli/response.go
orderedMetricTable() detects []interface{} values and skips them instead of adding table rows.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

I’m a bunny with a tidy table,
Skipping slices when I’m able.
No stray rows hop into view,
Metrics stay neat and ordered too.
Nibble, test, and ship—woo-hoo!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and refers to the same CLI storage truncation fix described in the changes.
Description check ✅ Passed The description includes the required Summary section and states the fix, though it is brief.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@myf-bee myf-bee added the ci Continue Integration label Jul 10, 2026
@JinHai-CN
JinHai-CN merged commit c33a5a9 into infiniflow:main Jul 10, 2026
10 checks passed
@myf-bee
myf-bee deleted the maoyifeng-fix-show-ky branch August 5, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants