[#2713] Converted 'ahoy reset hard' to the 'ahoy reset --hard' option flag.#2717
Conversation
|
Warning Review limit reached
More reviews will be available in 29 minutes and 19 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 To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Code coverage (threshold: 90%) Per-class coverage |
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
|
Code coverage (threshold: 90%) Per-class coverage |
|
📖 Documentation preview for this pull request has been deployed to Netlify: https://6a3c96c9897739de9ad42c43--vortex-docs.netlify.app This preview is rebuilt on every commit and is not the production documentation site. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2717 +/- ##
==========================================
- Coverage 86.67% 86.22% -0.45%
==========================================
Files 96 89 -7
Lines 4719 4560 -159
Branches 47 3 -44
==========================================
- Hits 4090 3932 -158
+ Misses 629 628 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closes #2713
Summary
Converts the
ahoy reset hardpositional modifier to the option flagahoy reset --hard, making the interface consistent with the option-based convention used throughout the ahoy interface. Theresetscript now parses arguments via an exact-token loop, matching only the literal--hardflag - the legacy positionalhardis intentionally no longer honoured. Docs, tests, and the installer baseline fixture are updated to match.Changes
Core script (
.vortex/tooling/src/reset)$1 == "hard"positional check with a loop over all arguments that tests each against--hardby exact string equality.Ahoy interface (
.ahoy.yml)resetcommand usage text fromUse with `hard`toUse with `--hard`.Documentation (
.vortex/docs/content/development/README.mdx)ahoy reset hardand./vendor/…/reset hardexamples to the--hardoption form.Tests
.vortex/tests/phpunit/Traits/Subtests/SubtestAhoyTrait.phpto callahoy reset --hard..vortex/tooling/tests/unit/reset.batswith three BATS unit tests: soft reset (no flag),--hardtriggers the full reset path, and the legacy positionalhardis explicitly verified to no longer trigger a hard reset.Installer fixture (
.vortex/installer/tests/Fixtures/handler_process/_baseline/.ahoy.yml)Before / After