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

Alan-Jowett / sonde / 24489962550
82%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 03:14AM UTC
Jobs 1
Files 113
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

16 Apr 2026 03:11AM UTC coverage: 80.345%. Remained the same
24489962550

push

github

web-flow
feat(node): add task watchdog timer (ND-0919) (#735)

* feat(node): add task watchdog timer (ND-0919)

Add ESP-IDF task watchdog timer to the node firmware to protect
against firmware hangs that would drain the battery indefinitely.

Requirements (ND-0919):
- `CONFIG_ESP_TASK_WDT_EN=y` enables the task watchdog
- `CONFIG_ESP_TASK_WDT_TIMEOUT_S=20` covers worst-case wake cycle
- `CONFIG_ESP_TASK_WDT_PANIC=y` triggers reset on expiry

Changes:
- `node-requirements.md`: add ND-0919 requirement with 4 acceptance
  criteria
- `sdkconfig.defaults`: add watchdog settings after WiFi section
- `node-design.md`: document watchdog in boot sequence (§14 step 2)
- `node-validation.md`: add T-N942 configuration validation test

The modem already has equivalent protection (MD-0302, 35s timeout).
The node's 20s timeout covers WAKE retries (4×600ms ≈ 2.4s) + chunked
transfer + BPF execution + APP_DATA exchanges with margin.

Closes #721

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

* feat(node): add runtime task watchdog registration (ND-0919)

Address review: sdkconfig alone doesn't protect the main task.
Add explicit `esp_task_wdt_add()` at startup and
`esp_task_wdt_delete()` after wake cycle completes.

- `node.rs`: register main task with TWDT before platform init,
  deregister after `run_wake_cycle()` returns
- ND-0919 AC4-6: add acceptance criteria for runtime registration
  and deregistration
- `node-design.md`: fix boot sequence numbering (3→11), document
  runtime registration in step 2
- T-N942: add registration/deregistration inspection steps

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

* style(node): cargo fmt

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

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>... (continued)

23856 of 29692 relevant lines covered (80.34%)

183.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24489962550.1 16 Apr 2026 03:14AM UTC 113
80.34
GitHub Action Run
Source Files on build 24489962550
  • Tree
  • List 113
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24489962550
  • 76243d4b on github
  • Prev Build on main (#24489828591)
  • Next Build on main (#24491787500)
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