File tree Expand file tree Collapse file tree
docs/design/automatic-conversation-expiration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Spike for the Automatic conversation expiration
2+
3+ ## Overview
4+
5+ ** The problem** : Conversation history can already be manually deleted, but
6+ customers who operate high-security environments would like some strong
7+ controls over conversation persistence. Since conversations require some level
8+ of persistence, they have accepted the idea of conversations having a
9+ configurable idle timer. If a conversation is idle for a certain amount of
10+ time, the conversation becomes automatically deleted from any/all persistence
11+ layers. This requirement was communicated to us (the RHOKP team) by our
12+ stakeholders.
13+
14+ ** The recommendation** : Implement a new runner that identify idle conversations
15+ and if their time to live (TTL) is longer than defined duration, the
16+ conversation will be deleted using the same code that is implemented in "delete
17+ conversation" REST API endpoint.
Original file line number Diff line number Diff line change 1+ # Feature design for the Automatic conversation expiration
2+
3+ | | |
4+ | ---------------| --------------------------------------------------------------|
5+ | ** Date** | 2026-06-29 |
6+ | ** Component** | Conversation history database, runners |
7+ | ** Authors** | Pavel Tišnovský |
8+ | ** Feature** | [ LCORE-1475] ( https://redhat.atlassian.net/browse/LCORE-1475 ) |
9+ | ** Spike** | [ LCORE-2661] ( https://redhat.atlassian.net/browse/LCORE-2661 ) |
10+ | ** Links** | Spike doc: ` docs/automatic-conversation-expiration ` |
11+
12+ <!-- vim-markdown-toc GFM -->
13+
14+ * [What](#what)
15+ * [Why](#why)
16+ * [Requirements](#requirements)
17+ * [Use Cases](#use-cases)
18+ * [Architecture](#architecture)
19+ * [Trigger mechanism](#trigger-mechanism)
20+ * [Storage / data model changes](#storage--data-model-changes)
21+ * [ References] ( #references )
22+ * [ Changelog] ( #changelog )
23+
24+ <!-- vim-markdown-toc -->
25+
26+ ## What
27+
28+ ## Why
29+
30+ ## Requirements
31+
32+ ## Use Cases
33+
34+ ## Architecture
35+
36+ ### Trigger mechanism
37+
38+ ### Storage / data model changes
39+
40+ # References
41+
42+ # Changelog
43+
44+ TODO: Record significant changes after initial creation.
45+
46+ | Date | Change | Reason |
47+ | ------------| -----------------| -----------------|
48+ | 2026-06-29 | Initial version | feature request |
49+
You can’t perform that action at this time.
0 commit comments