Repository navigation
Conversation
Route interactive scope selection, contact confirmation and the terms delegation prompt through RegistrationPrompts instead of constructing TerminalPrompts inside update_with_transport. Fake prompts now drive the menu-to-confirmation flow, including --yes not answering menu consent, decline/cancel leaving the record untouched, and explicit flags passing confirmed=true. Add both-order parse coverage for the two terms flags.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
PR readiness for
|
| Fact | Value |
|---|---|
| Blocking conditions | 1 |
| Waiting conditions | 0 |
| Current unresolved threads | 0 |
| Current-head approvals | 0 |
| Stale latest reviews | 0 |
- BLOCK: codecov/patch: failure
This report is deterministic and updated for the current pull request head.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
CI diagnostics resolved for
|
| Workflow | Result | First failing job/step |
|---|---|---|
| CI | PASS | - |
This comment is updated in place for the latest PR head.
|
? |
|
感谢跟进!这个 PR 的方向感很好——把 #56 review 留下的覆盖边界继续收掉,方法论完全正确。但这次我们决定不合,核心理由如下: 与项目硬约束冲突
覆盖收益在低风险区
关于 review 记录里的"PTY 残留"
真正值得投入的方向是 #58(组合 scope 时丢弃前序 report 的模型问题):先让 |
Follow-up to #56 (merged).
account update's interactive terms confirmation still calledterminal::confirm_actiondirectly, so the menu → confirmation path could only be exercised in a real terminal. This routes it through the sameRegistrationPromptsboundary as the menu:RegistrationPromptsgainsconfirm_action(details, question, confirmed);TerminalPromptsdelegates to the existingterminal::confirm_action, so production behavior is unchanged.update_with_transporttakesinteractiveand the prompt boundary as parameters;terms_delegationtakesTermsChange { target, confirmed }and prompts instead of calling the terminal.--yesstill requires a separate confirmation (confirmed=false), accepting enables, cancel/decline leave the record untouched, and explicit flags passconfirmed=truewithout entering the menu.No production behavior change; the same terminal functions are called through
TerminalPrompts.Verification
cargo test -p aster_acme_cli --locked commands::account: 74 passedcargo test --workspace --locked: 1048 passed, 0 failed (Windows native; Linux CI adds Unix-only tests)cargo clippy --workspace --all-targets --locked -- -D warnings: cleancargo fmt --all --check,cargo doc --workspace --no-deps --locked,python scripts/check-doc-links.py: cleanThe Unix PTY script was not extended; the interactive confirmation path is now covered through injected prompts, not only a terminal. No public CA or staging account was used.
Notes
DelegationTransition(from feat(account): allow toggling future CA terms delegation from account update #56) and theUpdateArgsstruct_excessive_boolssuppression are unchanged.