Skip to content

Conversation

@copybara-service
Copy link

fix: race condition while appending Agent's events to SessionService

Agent events were processed by agentEvents.flatMap(e -> session.appendEvent(e)), which has no ordering guarantees, so the events could have been appended to session out of order.

Agent events were processed by agentEvents.flatMap(e -> session.appendEvent(e)), which has no ordering guarantees, so the events could have been appended to session out of order.

PiperOrigin-RevId: 853618840
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.

0 participants