Skip to content

Sync Boatstack from Intelligence Flow Labs @ f671638f234f - #116

Merged
operator-stack-publisher[bot] merged 1 commit into
mainfrom
sync/intelligence-flow-f671638f234f
Jul 26, 2026
Merged

Sync Boatstack from Intelligence Flow Labs @ f671638f234f#116
operator-stack-publisher[bot] merged 1 commit into
mainfrom
sync/intelligence-flow-f671638f234f

Conversation

@operator-stack-publisher

Copy link
Copy Markdown
Contributor

What this sync releases

Concurrent first use hydrates the shared runtime exactly once

When several tool calls hit an empty shared-runtime slot at the same time, one guard hydrates
the slot and the others wait. A guard tests whether the slot is missing, then takes a
clone-wide lock to hydrate it. A slow guard could reach the lock only after the winner had
already finished and released it. Its test result was stale, so it took the lock and ran the
installer a second time.

The guard now re-tests the slot after it takes the lock and runs the installer only if the
slot is still missing or incomplete. So exactly one hydration happens under contention. This
also narrows the window where a peer is writing the helper while another guard starts it,
which complements the retry that already handles that case on Linux.

Projection provenance

Generated from operatorstack/intelligence-flow@f671638f234faa96ea85336e9a76b164020df172.
Review provenance, tests, and examples before merging.

@operator-stack-publisher
operator-stack-publisher Bot merged commit 5d62624 into main Jul 26, 2026
9 checks passed
@operator-stack-publisher
operator-stack-publisher Bot deleted the sync/intelligence-flow-f671638f234f branch July 26, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants