Under the hood
Claude Code now warns if saving the session transcript is still running when the process shuts down
What
A new helper logs a warning if the process is finishing up but the promise responsible for draining (writing out) the session transcript hasn't finished within a timeout. The warning explicitly notes that the result is returned without waiting for the drain to complete.
Why
This surfaces a case where the transcript might not be fully saved before the process exits, making it easier to notice and diagnose incomplete transcripts instead of it failing silently.