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

zwave-js / zwave-js-ui / 22298731999
19%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2026 08:44AM UTC
Jobs 1
Files 70
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

23 Feb 2026 08:43AM UTC coverage: 19.244% (-0.04%) from 19.286%
22298731999

push

github

web-flow
feat: add driver restart option to debug capture wizard (#4481)

Several issues require driver startup logs for diagnosis. The debug
wizard now includes an optional checkbox to restart the driver with
debug logging enabled, capturing the complete startup sequence.

## Changes

**Backend (`api/lib/DebugManager.ts`)**
- Added `restartDriver` parameter to `startSession()` that triggers
`zwaveClient.restart()` after debug transports are attached

**API (`api/app.ts`, `src/apis/ConfigApis.js`)**
- `/api/debug/start` endpoint accepts `restartDriver` from request body
- Frontend API forwards the parameter to backend

**UI (`src/App.vue`)**
- Start Capture dialog includes unchecked checkbox: "Restart driver to
capture startup logs"
- Uses existing `app.confirm()` pattern with input fields

## Screenshot

![Debug Capture
Dialog](https://github.com/user-attachments/assets/932c1667-9fb5-4125-a1c0-5a62b7ef08b0)

The driver restarts only when explicitly enabled, ensuring debug
transports capture all startup logs including driver initialization,
controller interview, and node discovery.

> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `224.0.0.251`
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/zwave-js/zwave-js-ui/settings/copilot/coding_agent)
(admins only)
>
> </details>

<!-- START COPILOT CODING AGENT SUFFIX -->



<details>

<summary>Original prompt</summary>

> 
> ----
> 
> *This section details on the original issue you should resolve*
> 
> ... (continued)

334 of 444 branches covered (75.23%)

Branch coverage included in aggregate %.

0 of 77 new or added lines in 4 files covered. (0.0%)

4052 of 22347 relevant lines covered (18.13%)

1.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% src/apis/ConfigApis.js
6
0.0
0.0% api/app.ts
30
0.0
0.0% api/lib/DebugManager.ts
39
0.0
0.0% api/lib/ZwaveClient.ts
Jobs
ID Job ID Ran Files Coverage
1 22298731999.1 23 Feb 2026 08:44AM UTC 70
19.24
GitHub Action Run
Source Files on build 22298731999
  • Tree
  • List 70
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • aad29214 on github
  • Prev Build on master (#22183061276)
  • Next Build on master (#22300148887)
  • Delete
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