mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5421] [GUI] a damaged chat file has no surface: the damaged list ships to the client and is dropped #3239
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheHubUser4860938 on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5421
Problem: a chat file the host cannot parse (a hand-edited file, a chat written by a future release with a higher
v) disappears from the chat list with no trace the user can act on.Environment: Strata 0.2.11 (app and Terminal 0.2.11, Control and engine 0.1.57) · Linux x86_64 · NVIDIA RTX 4090 24 GB, 125 GB RAM · Qwen3.8-Flash-Next family
Reproduce: with the 0.2.11 chat-files layout, write a
chats/<id>.jsonwhose JSON is truncated, start the host, open the app: the chat list shows the healthy chats; the damaged id appears nowhere in the UI.Expected: the user can see which chat is unreadable and delete or replace it.
Actual:
chat-store.mjsloadSyncfiles the id underdamagedandread()returns null for it; the API ships the list (index.mjschatStore.list()→damaged), the client even types it (chat-sync.tsdamaged?: string[]) - and no component consumes it. A{v:2}file from a future release reads as damaged today, so the list grows quietly across upgrades.Evidence: probe on the release code - store folder with one healthy and one truncated chat;
list()returns{chats:["s_ok"], damaged:["s_bad"]}over HTTP; the page renders onlychats.Reproduction status: reproduced locally (harness driving the 0.2.11 host module over its own API).
One line of design is enough: render the
damagedids in the sidebar (or the chat list's footer) with a delete action.