Select prepared execution observers at run time

This commit is contained in:
2026-11-22 18:08:28 +00:00
parent ea7cc170ad
commit f2b0ed8d6c
6 changed files with 82 additions and 6 deletions

View File

@@ -23,7 +23,9 @@ preparation or execution. Delegated calls from an injected collaborator retain
the caller's cancellation, deadline, and unrelated context values, but do not
reuse the enclosing invocation's accounting. Ordinary runs compose the request
observer before any observers selected by the invocation context; contextual
selection survives this boundary. Prepared handles use their retained observer.
selection survives this boundary. Prepared executions compose the retained
request observer with selection from the execution context after a successful
claim; the preparation context does not select execution observers.
A recorder keeps only counters, resolved identity fields, and the selected
callback. It has no global history, queue, goroutine, or mutex held across a