cli
cli copied to clipboard
fix: handle broken pipe error while rapidly reading from secrets mount
potentially fixes #502
I've been running this without the crash for about half an hour, so I think it solves it. Hard to tell, because I'm still getting spammed by the Secrets mount opened by reader message, but I don't think this would introduce any further breaking behavior either.
I left a dev session running on this branch for the past ~24 hrs and it's still running so I think this is indeed a viable fix!
I'm still confused what vite is doing, as it seems the endless Secrets mount opened by reader eventually stop... maybe a separate issue to file with vite.