Knowledge: retrieval testing cleanup #8192

Closed
opened 2026-02-21 18:24:25 -05:00 by yindo · 1 comment
Owner

Originally created by @DavideDelbianco on GitHub (Feb 12, 2025).

Originally assigned to: @crazywoola on GitHub.

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

As the knowledge is used in chat-flows / agents every query is logged in the "retrieval testing" with source: "app"
The database is bound to infinitely increase in size if every query is persisted
An option to delete the data would be appreciated. Even better if it could be set as a scheduled maintenance action

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @DavideDelbianco on GitHub (Feb 12, 2025). Originally assigned to: @crazywoola on GitHub. ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. As the knowledge is used in chat-flows / agents every query is logged in the "retrieval testing" with source: "app" The database is bound to infinitely increase in size if every query is persisted An option to delete the data would be appreciated. Even better if it could be set as a scheduled maintenance action ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:24:25 -05:00
yindo closed this issue 2026-02-21 18:24:25 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 15, 2025):

Hi, @DavideDelbianco. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • Issue with "retrieval testing" feature in chat-flows/agents.
  • Every query is logged, leading to continuous database growth.
  • Proposal to add a feature for deleting logged data, possibly through scheduled maintenance.
  • No comments or activity since the issue was opened.

Next Steps

  • Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Mar 15, 2025): Hi, @DavideDelbianco. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary** - Issue with "retrieval testing" feature in chat-flows/agents. - Every query is logged, leading to continuous database growth. - Proposal to add a feature for deleting logged data, possibly through scheduled maintenance. - No comments or activity since the issue was opened. **Next Steps** - Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open. - If there is no further activity, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8192