Conversation
`exec --dry-run` is fully superseded by `runok check`, which offers JSON output, stdin input, Claude Code hook format, and multi-command batch checking. Removing the redundant code path reduces maintenance surface without losing any functionality. Remove the `dry_run` field from `ExecArgs`, `RunOptions`, and the `handle_dry_run` method from the `Endpoint` trait. Remove `DryRunError`, `DryRunResult`, and `CommandExecutor::dry_run` from the executor layer. Update docs and all related tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request streamlines the command-line interface by eliminating a redundant option. The Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request completely removes the --dry-run functionality from the runok exec command. This involves deleting the --dry-run CLI argument, its corresponding internal logic within the ExecAdapter and Endpoint trait, and associated data structures like DryRunError and DryRunResult. All related documentation, API definitions, and unit/integration tests for the dry-run feature have been removed across the codebase.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #216 +/- ##
==========================================
+ Coverage 89.81% 90.09% +0.28%
==========================================
Files 50 50
Lines 10325 10210 -115
==========================================
- Hits 9273 9199 -74
+ Misses 1052 1011 -41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Why
runok exec --dry-runis fully superseded byrunok checkWhat
runok exec --dry-runoption and all related code