Skip to content

Improved session ID handling#933

Merged
jonathanlab merged 4 commits intomainfrom
fix/improved-session-id-handling
Feb 17, 2026
Merged

Improved session ID handling#933
jonathanlab merged 4 commits intomainfrom
fix/improved-session-id-handling

Conversation

@jonathanlab
Copy link
Contributor

@jonathanlab jonathanlab commented Feb 17, 2026

There's a few things of note here:

  • I bumped the claude agent SDK. since 0.2.32 you can now pass a sessionId during initialisation. This means we can determine the session UUID beforehand.
  • This is better than needing to store a temporary UUID which we generate ourselves, followed by then needing to reassign it once the SDK returns it's own generated UUID.
  • The agent service and agent package had some very confusing handling of the session IDs going on. This simplifies it further.
  • For some reason we were falling back to taskRunId if we did not have a sessionId which is super bad

@jonathanlab jonathanlab requested a review from a team February 17, 2026 14:31
@jonathanlab jonathanlab merged commit e38a01a into main Feb 17, 2026
12 checks passed
@jonathanlab jonathanlab deleted the fix/improved-session-id-handling branch February 17, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants