Skip to content

fix(cli): correct machine error classification, option validation bugs, and blob store JSON output (#548) - #559

Merged
Sinity merged 1 commit into
masterfrom
feature/fix/548-cli-bugs
Apr 28, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/fix/548-cli-bugs

Conversation

@Sinity

@Sinity Sinity commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Summary

Fix CLI bugs found in post-hoc audit: machine error classification, click option validation, blob store JSON output, and missing publish stage.

Problem

  • _runtime_only_requested excluded preview and vacuum targets
  • _validate_provider_tokens hardcoded --provider in error messages
  • Empty provider value was returned as-is instead of None
  • Blob store check had no JSON output mode
  • Publish stage wasn't available in interactive run choices

Closes #548

🤖 Generated with Claude Code

…s, and blob store JSON output

- Fix _runtime_only_requested to include preview and vacuum targets
- Use dynamic param name in _validate_provider_tokens instead of hardcoded --provider
- Return None instead of empty string for empty provider value
- Add --json output support to blob store check
- Add publish stage to run command and interactive choices
- Wire json_output flag through run_check_workflow

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 51 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: c483f482-0278-434d-950e-96baaa87d2b2

📥 Commits

Reviewing files that changed from the base of the PR and between c0c9e27 and 093c76c.

📒 Files selected for processing (4)
  • polylogue/cli/check_workflow.py
  • polylogue/cli/click_option_groups.py
  • polylogue/cli/commands/run.py
  • tests/unit/cli/test_run.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix/548-cli-bugs

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
Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 51 seconds.

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

@Sinity
Sinity merged commit 6b97328 into master Apr 28, 2026
4 of 11 checks passed
@Sinity
Sinity deleted the feature/fix/548-cli-bugs branch April 28, 2026 08:52

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 093c76c6ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/cli/check_workflow.py Resolved

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Sinity

Sinity commented May 1, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
✅ Actions performed

Full review triggered.

Sinity added a commit that referenced this pull request May 7, 2026
…s, and blob store JSON output (#559)

## Summary
Fix CLI bugs found in post-hoc audit: machine error classification,
click option validation, blob store JSON output, and missing publish
stage.

## Problem
- `_runtime_only_requested` excluded preview and vacuum targets
- `_validate_provider_tokens` hardcoded `--provider` in error messages
- Empty provider value was returned as-is instead of None
- Blob store check had no JSON output mode
- Publish stage wasn't available in interactive run choices

Closes #548

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <[email protected]>
@Sinity

Sinity commented Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

Only the rows listed above are dispositioned. Held findings remain open.

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.

fix(cli): machine error classification, click option bugs, query handling edge cases

2 participants