Repository navigation
Fixes for Oracle AI Database Agent v2 - #51
Merged
Merged
Conversation
- Conversation length is configurable - Use Consul session with delete behaviour for keys - Fix regression in tests
ramapemmaraju
approved these changes
Oct 12, 2026
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.
Consul now leases worker routes. Each worker-backed session gets a Consul session tied to the selected worker, with the same TTL as the database session. Session and task routing keys are acquired under that lease, so expiry or worker health loss removes them. Stale routes trigger a reconnect, and failures while opening a session clean up the worker and lease.
Oracle conversation retention is configurable. It defaults to seven days; 0 keeps conversations until manually deleted. The setting flows from the worker CLI and environment variable through the session runtime into Oracle conversation creation.