Files
PaperClipAI/packages
Priya RamanandPaperclip 223068e2ff fix(sandbox): keep bridge queue-directory setup on the startup step
The paperclip callback bridge reset the active startup-step store for the
whole worker start. That also unparented the awaited queue-directory setup
execs, which are startup work and must keep the `bridge.paperclip` step.

Move the store reset to the long-lived poll loop inside the worker. The
`makeDir` setup now keeps the active step, so its `sandbox.exec` spans stay
parented with the correct `criticalPath` flag. The loop still runs with an
empty store, so each run-time exec span opens unparented.

Add a regression test that reads the active step during setup and during the
first poll, and proves the boundary sits at the loop, not the whole worker.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-04 06:40:12 +00:00
..