nwhitehouse catches a silent data loss bug in chat history
User messages were quietly vanishing from the database - and nobody noticed because the screen looked fine.
nwhitehouse traced a bug where user-side chat messages were never actually being saved. The save call referenced a column that didn't exist in the database, so the database rejected every write - but the error was thrown away instead of surfaced. Live conversations looked normal because the browser was holding the history in memory; only on reload did the user's own messages disappear, leaving a one-sided transcript of just the AI's replies.
The fix itself is small. More interesting is what it exposes: errors from the storage layer were being silently swallowed across the codebase. Alongside the patch, nwhitehouse wired in proper error logging so the next time something like this breaks, it screams instead of hiding.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?