Repository navigation
refactor(devtools): Click dispatch, split pipeline_probe, corpus roundtrip, xtask, media (#625, #601, #716, #670) - #763
Conversation
…#625) Split the 1484-line devtools/pipeline_probe.py into a 6-module package (engine, request, result, report, staging, __init__) with backward-compatible imports. Replaced the argparse dispatch in __main__ with a Click-based group that auto-generates commands from the CommandSpec catalog. The Click dispatch preserves --json forwarding and --list-commands --json machine output. Co-Authored-By: Claude Opus 4.7 <[email protected]>
… media (#601, #716, #670) Add --corpus flag to verify-schema-roundtrip for generating and validating synthetic records against committed element schemas. Create .agent/xtask/ with append-only JSONL task history and devtools xtask command (log/recent/ stats). Add devtools render-readme-media to generate architecture diagrams and flowcharts under docs/media/ via mmdc. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
Warning Rate limit exceeded
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 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (18)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Review rate limit: 0/1 reviews remaining, refill in 26 minutes and 21 seconds.Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5125ff4b4e
ℹ️ 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".
| if ctx.invoked_subcommand is None: | ||
| click.echo(cli.get_help(ctx)) | ||
| ctx.exit(0) |
There was a problem hiding this comment.
When no subcommand is provided, the CLI always prints help and exits 0, even if --json was passed. This silently treats devtools --json as success, whereas --json without --list-commands or a command is invalid usage and should fail; otherwise scripts can miss malformed invocations and continue with a false-success status.
Useful? React with 👍 / 👎.
| if list_commands: | ||
| _print_inventory(json=json) | ||
| ctx.exit(0) |
There was a problem hiding this comment.
Reject command args with --list-commands
The --list-commands path exits immediately without checking whether a subcommand was also supplied, so devtools --list-commands status returns success and ignores status. This masks user/CI mistakes by accepting conflicting inputs that should be rejected as invalid command-line usage.
Useful? React with 👍 / 👎.
…dtrip, xtask, media (#625, #601, #716, #670) (#763) Split 1484-line pipeline_probe into 6-module package. Click dispatch from CommandSpec. Schema roundtrip with --corpus flag. xtask execution history. README media generation (4 Mermaid diagrams). --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
Split 1484-line pipeline_probe into 6-module package. Click dispatch from CommandSpec. Schema roundtrip with --corpus flag. xtask execution history. README media generation (4 Mermaid diagrams).