[GH-ISSUE #995] [Issue]: Clear All Data leaves TTS provider credentials behind #484

Closed
opened 2026-10-20 17:29:21 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @NeoKazuya on GitHub (May 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/995

Originally assigned to: @cha1latte on GitHub.

Summary

Clear All Data and the selected Connections clear action do not remove saved TTS provider credentials. After clearing connection data, the TTS settings can still show a saved key and speech requests can still use that retained provider key.

Expected behavior

TTS provider credentials configured from the Connections area should be removed when the user clears Connections data or runs Clear All Data.

After either clear path, TTS should not report a saved API key or reuse the old key for provider requests.

Actual behavior

After clearing Connections or running Clear All Data, TTS still reports that an API key is saved. Speech requests can still use that retained key.

Steps to reproduce

  1. Open Connections -> Text to Speech.
  2. Configure Text to Speech with a provider API key.
  3. Open Settings -> Advanced -> Danger Zone.
  4. Select Connections, click Clear Selected Data, and confirm.
  5. Reopen Connections -> Text to Speech, or call GET /api/tts/config.
  6. Observe that the TTS API key is still saved/masked.
  7. Repeat with Clear All Data and observe the same retained TTS key.

Environment

  • Marinara Engine version: 1.6.0
  • Install type: Source
  • OS + version: Windows 11
  • Browser or app shell: Chrome / not browser-specific

Logs, screenshots, or video

Relevant route behavior:

  • Clearing Connections uses /api/admin/expunge.
  • Clear All Data uses /api/admin/clear-all.
  • After either action, GET /api/tts/config can still report a saved TTS key.
  • TTS can still use the retained key for speech requests after either action.

Additional context

TTS is shown in the Connections panel, but its config is stored separately from normal API connections. Normal provider connections live in api_connections; TTS config lives in app_settings[key="tts"].

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @NeoKazuya on GitHub (May 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/995 Originally assigned to: @cha1latte on GitHub. ## Summary Clear All Data and the selected Connections clear action do not remove saved TTS provider credentials. After clearing connection data, the TTS settings can still show a saved key and speech requests can still use that retained provider key. ## Expected behavior TTS provider credentials configured from the Connections area should be removed when the user clears Connections data or runs Clear All Data. After either clear path, TTS should not report a saved API key or reuse the old key for provider requests. ## Actual behavior After clearing Connections or running Clear All Data, TTS still reports that an API key is saved. Speech requests can still use that retained key. ## Steps to reproduce 1. Open Connections -> Text to Speech. 2. Configure Text to Speech with a provider API key. 3. Open Settings -> Advanced -> Danger Zone. 4. Select Connections, click Clear Selected Data, and confirm. 5. Reopen Connections -> Text to Speech, or call `GET /api/tts/config`. 6. Observe that the TTS API key is still saved/masked. 7. Repeat with Clear All Data and observe the same retained TTS key. ## Environment - Marinara Engine version: `1.6.0` - Install type: Source - OS + version: Windows 11 - Browser or app shell: Chrome / not browser-specific ## Logs, screenshots, or video Relevant route behavior: - Clearing Connections uses `/api/admin/expunge`. - Clear All Data uses `/api/admin/clear-all`. - After either action, `GET /api/tts/config` can still report a saved TTS key. - TTS can still use the retained key for speech requests after either action. ## Additional context TTS is shown in the Connections panel, but its config is stored separately from normal API connections. Normal provider connections live in `api_connections`; TTS config lives in `app_settings[key="tts"]`. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#484
No description provided.