Skip to content

Leave out environment variables that render empty - #16

Merged
MarkParker5 merged 1 commit into
developfrom
fix/unset-empty-env
Oct 30, 2026
Merged

MarkParker5 merged 1 commit into
developfrom
fix/unset-empty-env

Conversation

@MarkParker5

Copy link
Copy Markdown
Member

A Compose service's environment variable that renders empty (an optional need unbound, a param missing) was passed as set-to-nothing. matterjs-server parses BLUETOOTH_ADAPTER as an integer, so in the default setup — the BLE router holds every adapter, matterjs-server gets none — it crashed at start ("Invalid integer: ") and restarted forever: Matter never ran on a Hub. Empty variables are now left out (unset), as empty list items already are.

Found bringing up the full stack on the MajorDom CM4 board (MG26 + ZGM230, Hub as a systemd service): with this, matterjs-server is healthy and all five integrations run. Tested: the existing unbound-OTBR test now asserts the variable is unset (failed before the fix); 399 tests, ruff, ty.

@MarkParker5
MarkParker5 merged commit 6d197b1 into develop Oct 30, 2026
5 checks 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