Big pastes still come back in your prompt history even when saving them to disk fails.
What's wrong with this entry?
Large pastes are saved to a file so history can recall them later. When that write fails, or the storage layer refuses it, the text is now kept in memory instead of being dropped, so pressing up through your prompt history still shows the pasted content rather than an "unavailable" placeholder.
- Retained pastes are capped at 10 MB in total, with the oldest evicted first.
- A refusal from the storage layer reports "paste write refused by the storage backend".
- Prompt history, its flush on exit, and paste id generation were restructured at the same time.
paste_store_write_failed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Typing cancels a pending left-arrow confirmation in the prompt input
Both mention prompt input
-
v2.1.246
Prompt input state moved behind one shared draft object
Both mention prompt input
-
v2.1.246
Prompt input and remote session read from shared stores
Both mention prompt input