Repository navigation
Report approved command launch failures accurately - #157
Merged
Merged
postil-dev / postil/review
failed
Sep 10, 2026 in 36s
1 error, 1 warn, 0 info
review incomplete ·
1 advisory finding open
1 suppressed
- Release registered ownership when spawn fails at
src/server/runtime.rs:780: cites a line the named construct does not sit on; severity warn, confidence 0.94.prepareregisters a state whosepending_launchflag remains true untiladoptruns. If the subsequent spawn fails, the state is still held by the cleanup worker,cleanup_ticknever considers it complete, and anysecret_fileslease remains retained indefinitely. Make failed launch handling clear the pending state and release the lease, or unregister the state before propagating the spawn error.
Loading