Structure debt: settings package, Android mDNS, API gaps
Status: in progress; one hardware check left.
| Step | Content | State |
|---|---|---|
| D1 | settings logic in backend/app/settings/, thin routes (458, 460; identical OpenAPI) | done |
| D2 | shared multi-file reception and import jobs (459) | done |
| D3 | Android on zeroconf 0.154 as a pure wheel built by Gradle (499), probing through AddressResolverIPv4 everywhere (500); the next name, bobine-2, when another device holds bobine.local | done on a desktop with real multicast resolution, not validated on two Android devices |
| D4 | X-Total-Count on /api/logs/activity (463); WebSocket and 409 errors as {code, message} (464, 465); /api/radio/albums by a six-column projection (495, 33 to 41 ms down to 17 to 23 ms, identical output on 3 000 albums); local preferences through lib/localStore.ts (496) | done |
A SQL GROUP BY for albums was set aside: first year and non-null cover in disc and track order need window functions, never used and not verified on Android’s SQLite.
Pitfalls
Tests patch attributes by module path: a move breaks the patch without breaking the import, so the full suite runs. Raising zeroconf on Android means changing the version in android/app/requirements.txt and the SHA-256 of the source archive in android/app/build.gradle.kts together, or the build stops.