Files
reverse-engineering-anything/bridge/agentenv
Adolanium 72f8f521a6 fix(desktop): claim agentenv capture exclusively and survive FIFO write errors (#12838)
* fix(desktop): claim agentenv capture exclusively and survive FIFO write errors

stop() used makedirs(exist_ok) before the control FIFO existed, so a
start already in that window kept running after stop reported the
capture absent. A broken or full FIFO also aborted stop and mark
instead of reporting that the capture was not reading.

* fix(desktop): retry agentenv stop until the reader accepts it

stop() treated the first failed FIFO write as final and then started a
second full timeout. A start() that has created the FIFO but not opened
it kept running, and an interrupted startup could take twice the
caller's timeout.

* fix(desktop): remember an absent agentenv stop for a retry

stop() claimed a missing directory and returned absent. A retry found
that directory and waited for a FIFO that start() will not create, so
the build-computer release could not clear the folder. The claim is a
file in the directory, and a later stop returns absent.

* test(lifecycle): name the renamed JEB and BEAM coverage tests

The full source suite still expects titles removed by the JEB catalog consolidation and the BEAM CLI consolidation. Point those entries at the tests that replaced them.
2026-11-21 20:05:35 +01:00
..