Repository navigation
Replies: 3 comments 4 replies
|
Correction after the author's clarification (2026-11-23): My earlier “Yes” was too broad. My example issued a new At this pinned revision, a Likewise, an undeliverable final wait reply alone is not a cancellation receipt. The dropped-callback test also drops the delegate and its strong reference to the step; it does not isolate reply loss. Cancelling a wait observation, terminating the cell, and losing a reply take different paths. I do not know a supported acknowledgment that proves this particular pending request can no longer start after the reply is lost. For a side-effecting command, reconcile the operation's external state before retrying. The earlier reproduction still shows that a cell can issue a new command after an earlier wait yields. It does not answer the narrower pending-request question. A maintainer-supplied contract or trace correlating the same request across broker enqueue and native acceptance would settle it. |
|
I'd treat At the pinned revision
However, these establish implementation behavior at specific boundaries, not an end-to-end guarantee about native executor acceptance. The broker's response channel should also not be confused with the final Proposed deterministic regression testRather than relying on sleep-based timing, I'd introduce a test-controlled synchronization barrier immediately before native executor acceptance. A separate test should repeat this sequence while making the final wait response undeliverable, without independently cancelling the cell, dropping the delegate or destroying the originating step. The trace should correlate: These are proposed trace fields and events, not necessarily existing public interfaces. The existing Practical client behaviorUntil an explicit ordering guarantee is documented, I'd treat both a non-terminating wait and an undeliverable result as inconclusive regarding whether the pending command can still start. For commands with external side effects, use an application-level operation ID and durable deduplication where possible. Do not automatically retry solely because the result was lost. Ideally, the protocol would expose a request-specific cancellation acknowledgment that guarantees the executor has rejected the request before acceptance and that subsequent acceptance is impossible. Relevant version-pinned sources:
My conclusion from these sources is that the requested ordering guarantee is not established. A deterministic test covering the same request across both waits and native acceptance would resolve the implementation question without relying on scheduling assumptions. |
|
AI-assisted source reading at 490e213; no build or trace was executed. @veobenus, on your question: "native acceptance" isn't one named event at this SHA, so here are the last pre-launch points I found:
Can the reply come first? For a "still running" (Yielded) reply, the source permits it: the actor's yield timer replies without joining tool tasks, and the sampling runtime and callback worker each build a runtime with its own execution lock, so the parked exec and the So both orderings are source-permitted, not observed. This still says nothing about whether losing the reply prevents a later launch. |
Uh oh!
There was an error while loading. Please reload this page.
When
functions.waitreturns “still running” withterminateomitted, can the native executor subsequently accept a pendingtools.exec_commandrequest for the first time? Does the answer change if the final result cannot be delivered to the caller?If either event prevents the executor from accepting the request, could you point to the versioned source or documentation that guarantees this ordering, and a public test or trace that demonstrates it?
All reactions