screentinker/server/ws
ScreenTinker c8e664e66c fix(ws): guard fingerprint insert against stale device_id (FK violation noise)
A socket reconnecting with a device_id that no longer exists in `devices`
(e.g. the row was deleted server-side) hit the device_fingerprints insert
with an unknown foreign key. INSERT OR IGNORE does NOT suppress FOREIGN KEY
violations, so it threw a caught-but-noisy "Fingerprint tracking error" on
every such reconnect. Null out an unknown device_id before the insert; a
genuinely fresh device sends no device_id and was always fine.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 15:46:41 -05:00
..
dashboardSocket.js fix(socket): offline debounce + truthful single-device command feedback 2026-05-14 13:11:40 -05:00
deviceSocket.js fix(ws): guard fingerprint insert against stale device_id (FK violation noise) 2026-06-11 15:46:41 -05:00
index.js Initial open source release 2026-04-08 12:14:53 -05:00