Skip to content

fix: pre-merge stateDelta before onUserMessageCallback in Runner#1230

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_921350398
May 28, 2026
Merged

fix: pre-merge stateDelta before onUserMessageCallback in Runner#1230
copybara-service[bot] merged 1 commit into
mainfrom
test_921350398

Conversation

@copybara-service
Copy link
Copy Markdown

fix: pre-merge stateDelta before onUserMessageCallback in Runner

Previously, stateDelta passed to runAsync was merged into the session
only after pluginManager.onUserMessageCallback was invoked, so plugins
observed a stale session state during the user-message callback.

@copybara-service copybara-service Bot force-pushed the test_921350398 branch 5 times, most recently from 5012ad9 to aab0f29 Compare May 28, 2026 08:57
Previously, stateDelta passed to runAsync was merged into the session
only after pluginManager.onUserMessageCallback was invoked, so plugins
observed a stale session state during the user-message callback.

PiperOrigin-RevId: 922634688
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