Skip to content

refactor(formatters): extract render_list helper and normalize quiet-key handling#252

Open
BANANASJIM wants to merge 2 commits into
masterfrom
fix/rdc-list-output
Open

refactor(formatters): extract render_list helper and normalize quiet-key handling#252
BANANASJIM wants to merge 2 commits into
masterfrom
fix/rdc-list-output

Conversation

@BANANASJIM

Copy link
Copy Markdown
Owner

The json/jsonl/quiet/table output ladder was copy-pasted across ~9 command modules, with quiet-key access drifted to bracket-indexing (KeyError risk) in some.

  • Adds render_list(...) to formatters/options.py plus a shared --json option; refactors events/counters/resources/usage/pipeline/info/unix_helpers/pixel/vfs to use it.
  • Normalizes quiet-key access to row.get(key, default) (no more KeyError on a missing key).
  • Output is byte-identical for well-formed rows (golden tests). commands-quick-ref.md regenerated via Click introspection.

Unit suite 3012 passed.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@greptile-apps greptile-apps 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.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@BANANASJIM, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 11 minutes and 22 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9b9c686d-cc8e-4b3d-8b39-f285559df42a

📥 Commits

Reviewing files that changed from the base of the PR and between a98ec12 and 90c3083.

📒 Files selected for processing (13)
  • src/rdc/_skills/references/commands-quick-ref.md
  • src/rdc/commands/counters.py
  • src/rdc/commands/events.py
  • src/rdc/commands/info.py
  • src/rdc/commands/pipeline.py
  • src/rdc/commands/pixel.py
  • src/rdc/commands/resources.py
  • src/rdc/commands/unix_helpers.py
  • src/rdc/commands/usage.py
  • src/rdc/commands/vfs.py
  • src/rdc/formatters/options.py
  • tests/unit/test_formatters.py
  • tests/unit/test_output_options.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rdc-list-output

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 and usage tips.

@greptile-apps greptile-apps 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.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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.

1 participant