Skip to content

fix(sessions): forward the caller-supplied session id in VertexAiSessionService - #1493

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_978195603
Sep 9, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_978195603

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 9, 2026

Copy link
Copy Markdown

fix(sessions): forward the caller-supplied session id in VertexAiSessionService

createSession accepted a session id but never sent it, so the backend always
minted its own. It now travels as the sessionId query parameter and is validated
first, so an id that fails validation, or that the backend rejects, now errors
instead of quietly succeeding under a different id.

@copybara-service
copybara-service Bot force-pushed the test_978195603 branch 4 times, most recently from bcd5eba to 1558091 Compare September 9, 2026 21:29
…ionService

`createSession` accepted a session id but never sent it, so the backend always
minted its own. It now travels as the `sessionId` query parameter and is validated
first, so an id that fails validation, or that the backend rejects, now errors
instead of quietly succeeding under a different id.

PiperOrigin-RevId: 978758795
@copybara-service
copybara-service Bot merged commit 77eae25 into main Sep 9, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_978195603 branch September 9, 2026 21:37
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.

1 participant