Skip to content

v0.4.6 RC: web observability + heap hardening - #4

Merged
danielbrownjr merged 48 commits into
mainfrom
feat/v0.4-web-observability
Oct 7, 2026
Merged

danielbrownjr merged 48 commits into
mainfrom
feat/v0.4-web-observability

Conversation

@danielbrownjr

@danielbrownjr danielbrownjr commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Promotes the web-observability work to the physically validated v0.4.6 RC.

This PR adds the browser status/AP/session UI and the associated radio/storage hardening while preserving BandiC5's active-scout behavior.

v0.4.6 RC fixes

Two peak-heap fixes were validated on physical ESP32-C5 hardware:

  • Stream Wi-Fi scan records one at a time with esp_wifi_scan_get_ap_record() instead of allocating a second array sized to the full AP result set.
  • Reduce the HTTP server task stack from 8192 bytes to 4096 bytes.

These changes restore safe internal-RAM headroom while the TF/FAT stack, uplink, HTTP server, mDNS, and dense dual-band scanning are all active.

Physical validation

Validated on real Waveshare ESP32-C5-LCD-1.47 hardware with the clean PR #4 build at:

acc37b24efde4fb1da173d1b7255e39cda93e922

Test sequence passed:

  • boot and dense dual-band scans
  • infrastructure uplink and status page
  • repeated ~80-100 AP scans
  • TF removal during logging
  • repeated mount retries while card absent
  • TF reinsertion and recovery to a new session
  • continued scans after recovery
  • runtime BOOT hold into phone OTA mode without a power cycle

No Wi-Fi OOM or FAT/VFS ESP_ERR_NO_MEM recurrence was observed.

Notes

  • release/v0.3.1 remains the frozen recovery landmark at 2e9f017ddb7580c48c539006a423e1543c0f2f84.
  • Diagnostic PR diag: v0.4.5 heap/hotplug instrumentation #5 is not part of this release path.
  • This PR remains unmerged until explicitly authorized.

@danielbrownjr danielbrownjr changed the title v0.4.0: AP table + downloadable TF sessions v0.4.1: AP table + TF log downloads Oct 6, 2026
@danielbrownjr danielbrownjr reopened this Oct 6, 2026
@danielbrownjr danielbrownjr changed the title v0.4.1: AP table + TF log downloads v0.4.2: AP table + TF log downloads Oct 6, 2026
@danielbrownjr danielbrownjr changed the title v0.4.3: AP table + browser-managed TF downloads v0.4.4: hardening RC + web observability Oct 6, 2026
@danielbrownjr danielbrownjr reopened this Oct 6, 2026
@danielbrownjr danielbrownjr changed the title v0.4.4: hardening RC + web observability v0.4.5: static RC + web observability Oct 7, 2026
@danielbrownjr danielbrownjr reopened this Oct 7, 2026
@danielbrownjr danielbrownjr changed the title v0.4.5: static RC + web observability v0.4.6 RC: web observability + heap hardening Oct 7, 2026
@danielbrownjr
danielbrownjr marked this pull request as ready for review October 7, 2026 14:23
@danielbrownjr
danielbrownjr merged commit 6106d58 into main Oct 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant