Repository navigation
fix(server-utils): Read the pi-durable session id in every phase outside a run - #25838
Merged
Merged
Conversation
…ide a run A task of an extension that calls the model while its conversation is idle kept the harness-prefixed conversation id. Its spans then showed as a conversation of their own, apart from the runs, which report the stored session id. Every phase outside a run now reads the session id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
size-limit report 📦Compared: 4c58380 (PR test merge using develop at 0455361) Against: 0455361 (develop) · base run #63985 ✅ Baseline matches: this diff contains only this PR's changes.
|
andreiborza
approved these changes
Oct 28, 2026
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 5 not successful, 57 successful. See the run.
Successful checks
|
JPeer264
marked this pull request as ready for review
October 28, 2026 21:40
JPeer264
requested review from
isaacs and
mydea
and removed request for
a team
October 28, 2026 21:40
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.
follow up to #25792
This makes every pi-durable phase outside a run read the stored session id, not only an idle compaction.
Why
An extension task that calls the model while its conversation has no run in progress kept the
<harnessId>:<n>id. The runs of the same conversation report the session id, so Sentry showed the task as a separate conversation.