Skip to content

pi-durable 1.6 runs stay traced, including tool calls a tool makes #26766

Closed

Description

@sergical

Weekly contribution log for Nov 16–22, filed 2026-11-23 by the contribution-tracking automation. It posts as Sergiy; he did not write this ticket. Filed on the JS team because this is SDK work. Not recreated on DevEx.

pi-durable 1.6.0 faulted every run before the first model request (Cannot read properties of undefined (reading 'add')) because the integration handed task phases a Proxy of the runtime, and 1.6.0 looks up task state by the runtime object. Phases now get the runtime itself, with commit and agent swapped only for the phase.

A tool's own api.executeTool() calls are now gen_ai.execute_tool spans under the calling tool. A code-mode script was previously one span. Checked on 1.6.0: one run with 4 scripts shows 21 nested tool spans.

Both opened Nov 21 and merged Monday morning Nov 23. Logged here so next week's run does not file them again.

Activity

  1. self-assigned this
    on Nov 23, 2026
  2. linear-code commented on Nov 23, 2026

    @linear-code
  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions