• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 23565342407
81%

Build:
DEFAULT BRANCH: main
Ran 25 Mar 2026 09:41PM UTC
Jobs 1
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Mar 2026 09:35PM UTC coverage: 85.575% (-0.1%) from 85.694%
23565342407

push

github

web-flow
Admin CLI: prompt for confirmation on destructive commands (#503)

* admin: prompt for confirmation on destructive commands

Add a confirmation prompt before executing destructive sonde-admin
commands: \
ode remove\, \program remove\, \state import\,
\pairing stop\, and \pairing revoke-phone\.

A \--yes\ / \-y\ global flag skips the prompt for scripted use.
The prompt is also auto-skipped when stdin is not a terminal (piped
input), detected via \std::io::IsTerminal\.

Closes #449

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: reject non-interactive mode without --yes, fix confirm() indentation

- Non-interactive stdin (piped input) now returns an error instead of
  auto-confirming, preventing silent bypass of safety prompts.
  Users must pass --yes explicitly for scripted/piped usage.
- Fix rustfmt indentation of confirm() call in NodeAction::Remove.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review findings: align --yes help text with non-interactive behavior

Update the --yes/-y flag doc comment to mention it is required when
running non-interactively (piped stdin). PR description also updated
to reflect the refusal-to-run behavior in non-interactive mode.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

0 of 84 new or added lines in 1 file covered. (0.0%)

22164 of 25900 relevant lines covered (85.58%)

162.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
84
0.0
0.0% crates/sonde-admin/src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 23565342407.1 25 Mar 2026 09:41PM UTC 76
85.58
GitHub Action Run
Source Files on build 23565342407
  • Tree
  • List 76
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23565342407
  • 569a0783 on github
  • Prev Build on main (#23564908922)
  • Next Build on main (#23565887461)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc