Include conversation ancestry in execution observations

This commit is contained in:
2026-11-14 01:20:06 +00:00
parent 04569e44df
commit e5c42de06d
6 changed files with 79 additions and 2 deletions

View File

@@ -112,6 +112,7 @@ func (r *Runner) RunPrepared(ctx context.Context, prepared *PreparedExecution) (
if payload.observer != nil {
var idErr error
recorder, idErr = observation.New(payload.observer)
recorder.SetParentRunID(payload.parent.RunID())
observation.RegisterClaim(ctx, recorder)
ctx = observation.WithRecorder(ctx, recorder)
selected := payload.prepared