You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b6f506e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pi): the T3 MCP extension file is written atomically
materializePiT3McpExtension wrote the extension directly to the shared
cache path: the write truncates the file first, so a pi process loading
the extension while the write is in flight reads an empty or partial
file and starts with a broken extension.
Write to a sibling staging file and rename into place - the rename is
atomic, so a reader sees the previous file or the complete new one,
never the truncated state. The committed regression test runs a
concurrent reader against repeated materializations and fails on main
with 'empty: truncated mid-write'.
0 commit comments