feat(sse): allow disabling conversation tracking - #13150
Merged
diegosouzapw merged 4 commits intoSep 17, 2026
Merged
diegosouzapw merged 4 commits into
diegosouzapw merged 4 commits into
Conversation
Owner
|
Clean, small, well-tested fix for a real operational pain point (5.97M turn rows / ~4.26 GB of |
Contributor
Author
|
Added |
diegosouzapw
merged commit Sep 17, 2026
7e0c9f5
into
diegosouzapw:release/v3.8.51
11 of 16 checks passed
5 tasks done
Merged
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
* feat(sse): allow disabling conversation tracking * docs: document OMNIROUTE_DISABLE_CONVERSATION_TRACKING
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.
adds
OMNIROUTE_DISABLE_CONVERSATION_TRACKING=1for operators who do not need the conversation-history dashboard.when set,
resolveConversationId()returns an untracked result before reading SQLite or parsing message history. the switch also covers client-supplied session IDs. existing routing-session handling stays unchanged, and tracking remains enabled by default.on the reporting installation, 5.97 million turn records and their indexes occupied about 4.26 GB. operators should be able to stop collecting this optional history without disabling normal request routing.
tested with
node --import tsx/esm --test tests/unit/conversationTracker.test.ts tests/unit/conversationTracker-reconnect-7847.test.ts.the new regression test rejects both database access and message parsing while disabled. existing enabled-tracking and reconnect tests still pass.
this switch does not delete existing records. the installation-specific cleanup and deployment are excluded.
base-red inherited: #12732.