Skip to content

Bump framework-portduino to drop accept() log spam#17

Merged
thebentern merged 1 commit into
developfrom
bump-framework-drop-accept-spam
Apr 26, 2026
Merged

Bump framework-portduino to drop accept() log spam#17
thebentern merged 1 commit into
developfrom
bump-framework-drop-accept-spam

Conversation

@thebentern

Copy link
Copy Markdown
Collaborator

Summary

Bumps the framework-portduino git ref in platform.json to pull in meshtastic/framework-portduino#69, which itself bumps libraries/WiFi to meshtastic/WiFi#6 — removing two verbose log(SysWifi, LogVerbose, ...) calls in WiFiServer::available() that were firing on every poll of the accept loop.

meshtasticd polls that path hundreds of times per second, so the daemon was flooding stdout with:

calling accept
accept=0
calling accept
accept=0
...

Why these were noisy despite LogVerbose

framework-portduino's cores/portduino/logging.cpp::logv() ignores its level argument and unconditionally writes to Serial, so LogVerbose is just as loud as LogInfo. The chain of upstream PRs fixes the immediate noise problem surgically; making logv() level-aware would be a wider behavioral change (every other LogVerbose site across the framework would suddenly go silent), so it's left as a separate follow-up.

Diff

-      "version": "https://github.com/meshtastic/framework-portduino.git#447329159e67d19cefc9f47b799bc0fa0f51c010",
+      "version": "https://github.com/meshtastic/framework-portduino.git#214bf605c02c2c26d2fb963132c4bce77f416d81",

214bf60 is the merge commit of meshtastic/framework-portduino#69 on meshtastic/framework-portduino master.

Test plan

🤖 Generated with Claude Code

Pulls in meshtastic/framework-portduino#69, which advances the bundled
libraries/WiFi submodule to meshtastic/WiFi#6 and removes the two
`log(SysWifi, LogVerbose, ...)` calls in WiFiServer::available() that
were firing on every poll of the accept loop.

meshtasticd's main loop hits that path hundreds of times per second,
so the daemon was flooding stdout with repeated "calling accept" /
"accept=0" lines. The level argument was meant to suppress them at
default verbosity, but cores/portduino/logging.cpp's logv() ignores
level entirely. The upstream PR fixes the immediate noise problem
surgically; making logv() level-aware is a separate follow-up.

Old framework SHA: 447329159e67d19cefc9f47b799bc0fa0f51c010
New framework SHA: 214bf605c02c2c26d2fb963132c4bce77f416d81

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thebentern thebentern merged commit 4ea5e09 into develop Apr 26, 2026
6 checks passed
@thebentern thebentern deleted the bump-framework-drop-accept-spam branch April 26, 2026 12:04
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