Repository navigation
feat: add more next-actions across commands - #83
Merged
Merged
Conversation
…equire --all-targets in CI cli-engine 0.4.1 is now published. Fixes 6 clippy::unwrap_used violations in pat/mod.rs tests that merged unblocked because CI's `cargo clippy` invocation only lints lib/bin targets by default, not tests; adds --all-targets so the lint actually covers test code going forward.
… commands Suggests logical follow-up commands after: actions list, dns add/set/delete (verify via dns list), domain agreements (quote/purchase), domain nameservers set (confirm via domain get), hosting nodejs status (deployment list/logs), and payments add (domain quote). Also fixes the domain quote --quote-token placeholder to match the value actually returned (quote-token, not token).
Contributor
There was a problem hiding this comment.
Pull request overview
This PR expands the CLI’s “next action” guidance across multiple commands while also tightening Rust CI linting by ensuring clippy runs against all targets. It also bumps cli-engine to 0.4.1 and removes unwrap() usage in PAT tests to satisfy clippy::unwrap_used.
Changes:
- Add
NextActionsuggestions to more command outputs (actions, dns writes, domains flows, hosting nodejs status, payments add). - Bump
cli-enginedependency to0.4.1and update lockfile accordingly. - Fix clippy CI coverage (
--all-targets) and replaceunwrap()withexpect()in PAT tests.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rust/src/payments/mod.rs | Add a “next action” from payments add to domain quote. |
| rust/src/pat/mod.rs | Replace unwrap() in tests to satisfy clippy linting. |
| rust/src/hosting/nodejs/mod.rs | Add next actions after hosting nodejs status (deployments/logs). |
| rust/src/domain/quote.rs | Fix purchase next-action placeholder and prefill the quote token. |
| rust/src/domain/nameservers.rs | Add next action to confirm nameserver updates via domain get. |
| rust/src/domain/agreements.rs | Add next actions to proceed from agreements to quoting/purchasing. |
| rust/src/dns/mod.rs | Add helper-driven next action to verify DNS writes via dns list. |
| rust/src/actions_catalog/mod.rs | Add next action from actions list to actions describe. |
| rust/Cargo.toml | Bump cli-engine to 0.4.1. |
| rust/Cargo.lock | Update lockfile for the new cli-engine version. |
| .github/workflows/rust-port-alpha.yaml | Run clippy with --all-targets in CI. |
| .github/workflows/cicd.yml | Run clippy with --all-targets in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Inserting verify_with_list_action above summarize_add_outcomes left summarize_add_outcomes's rustdoc comment attached to the new function instead (rustdoc comments bind to the next item). Give each function its own doc block.
axburgess-godaddy
approved these changes
Jul 8, 2026
This was referenced Aug 12, 2026
This was referenced Aug 19, 2026
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cli-engineto the now-published0.4.1.clippy::unwrap_usedviolations inpat/mod.rstests, and closes the CI gap that let them merge unblocked:cargo clippywas missing--all-targets, so test-target code wasn't linted (fixed in bothcicd.ymlandrust-port-alpha.yaml).NextActionsuggestions to more command outputs:actions list→actions describe <action>dns add/set/delete→dns list(verify the write)domain agreements→domain quote/domain purchasedomain nameservers set→domain get(confirm the update)hosting nodejs status→deployment list/logspayments add→domain quotedomain quote's next-action placeholder (<quote-token>, matching the param name) and pre-fills it with the actual token value instead of leaving it required.Test plan
cargo fmt --checkcargo clippy --all-targets -- -D warningscargo test --all-targets(212 passed)