Skip to content

Close the audit backlog: tests, guards and cleanups - #13

Merged
Varitras merged 25 commits into
mainfrom
feature/backlog
Nov 1, 2026
Merged

Varitras merged 25 commits into
mainfrom
feature/backlog

Conversation

@Varitras

@Varitras Varitras commented Nov 1, 2026

Copy link
Copy Markdown
Owner
  • More tests for failure paths: a restore cut off mid-way, end of stream from the speaker, a failed platform setup, backup/discovery/EQ-reset timeouts.
  • New guard: every error key the code hands out has a text.
  • Standby minutes are durations.
  • Write errors mapped in one place; the redundant poll priority flag is gone (the FIFO lock already serves user actions first).
  • Relocate takes the serial a speaker announces and only asks speakers without one over TCP.
  • Naming and code-standard cleanups; logo note dropped from the README.

With Any, strict mypy checked none of the coordinator calls; the store key
was spelled out three times beside its owner.
LOCAL, rejected and unreachable were mapped by hand in three writers, and
async_persist raised the same error from two branches.
The poll takes the client lock per path and asyncio.Lock is FIFO, so a
waiting write already goes next; the flag only added a 50 ms pause.
Only candidates whose announcement carries no serial are asked over TCP;
the next setup checks the serial against the device either way.
@Varitras
Varitras merged commit 2702248 into main Nov 1, 2026
9 checks passed
@Varitras
Varitras deleted the feature/backlog branch November 1, 2026 18:56
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