Repository navigation
fix(executor): remove runner FIFOs when the run ends - #636
Conversation
RunnerFifo created /tmp/runner.ctl.fifo and /tmp/runner.ack.fifo but never removed them. Integrations treat existing FIFOs as a live runner and stall for about 4 s per benchmark process on the next run, for example a walltime run with the profiler disabled, which never touches the FIFOs. Unlink both FIFOs in a Drop impl, covering walltime, memory and analysis runs, and share the unlink with create_fifo. Fixes #635
[Medium impact] The PR appears safe to merge. Summary
Reviews (1) · Last reviewed commit: "fix(executor): remove runner FIFOs when ..." · Reviewed by Greptile |
Merging this PR will not alter performance2 warnings
Comparing Footnotes
|
RunnerFifocreated/tmp/runner.ctl.fifoand/tmp/runner.ack.fifobut never removed them. Integrations treat existing FIFOs as a live runner and stall for about 4 s per benchmark process on later runs that don't recreate them, for example a walltime run with the profiler disabled.Changes
Dropimpl forRunnerFifo, covering walltime, memory and analysis runs.create_fifo.RunnerFifoand asserts both FIFOs are gone.FIFOs left by a killed runner or by older runner versions are not cleaned up here. Integrations handle those in CodSpeedHQ/instrument-hooks#36.
Fixes #635
Fixes COD-4460