π¦ New version release - #552
Merged
Merged
Conversation
brentrager
force-pushed
the
changeset-release/main
branch
from
August 26, 2026 00:08
fd39610 to
64358a3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@smooai/smooth-operator@1.58.5
Patch Changes
b3ad578: fix(server): a pending write-confirmation survives the pod that parked it (th-db0816)
The write-confirmation park was a channel into a turn running on ONE pod. A
visitor whose refresh reconnected them to a different replica β or whose pod
rolled mid-park β got
NO_PENDING_CONFIRMATIONfor an approval the agent hadjust asked them to give, and the approved write was silently lost. With 2-6
replicas and no session affinity, that is the expected outcome for any
reconnect, not a rare race.
The confirmation bridge now mirrors every park into the session's durable
metadata.pendingConfirmation(tool name + arguments + prompt + requestedAt)through the same
SessionUpdate.metadatawrite-through the session registryalready uses: storage is the truth, the in-process channel map is the same-pod
fast path.
confirm_tool_actionthat finds no live sender reads the recordFRESH from storage and resolves it there:
be cleared could execute a write twice, so a failed clear surfaces as a
retryable storage error instead of proceeding), then a continuation turn runs
through the normal
send_messagepath. A one-shot, server-side pre-approvalfor exactly the recorded tool lets the re-issued call execute instead of
parking a second time β it is granted only by the resolving handler and never
readable from the wire, so a client cannot smuggle a confirmation bypass into
a frame.
never runs anywhere (a dead park cannot execute, and a still-parked twin on
another pod resolves to its timeout rejection).
pod-death orphan cannot authorize a stale write later.
The same-pod path is unchanged (sender fed, turn resumes in place) except that
it now also retires the durable record immediately on resolution.
rust/smooth-operator-server/tests/durable_confirmation.rsdrives the realhandle_frameon TWOAppStates sharing one storage adapter β the sametwo-instance shape as the session-registry fix. The approval test asserts its
premise (pod B holds no live park), that the continuation actually executes the
gated tool WITHOUT a second
write_confirmation_required, and that the recordis retired; the decline test asserts retire-without-a-turn; the negative
control proves
NO_PENDING_CONFIRMATIONis still reachable with no record, sothe positive tests ride on the record path and nothing else. Positive control:
with the durable fallback disabled, both cross-instance tests fail reproducing
the exact production error, while the negative control still passes.
No wire-protocol change.
@smooai/smooth-operator-web-chat-example@0.0.118
Patch Changes