feat: message tree parser with defensive timestamps #40
No reviewers
Labels
No labels
auto-merge
bug
chore
dependency
duplicate
enhancement
upstream-sync
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
OpenCode/Arachne!40
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/8_message_tree_parser"
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?
Message-tree parser for Open WebUI chats (ticket #8, PO decision confirmed in comment 2236):
Messagenow modelsparentId/childrenIdsand parses timestamps defensively (ts_defensive: < 1e12 = seconds, >= 1e12 = milliseconds; serialization always writes seconds)MessageTree::active_thread()walks backwards fromcurrentIdwith cycle protection and orphan toleranceChatcustom deserialization accepts both the history-tree shape and the legacychat.messages[]fallback (list order trusted for linked entries, sequential relink otherwise)All checks green: build, 43/43 core tests, clippy -D warnings, fmt.
Closes #8
[8] feat: message tree parser with defensive timestampsto feat: message tree parser with defensive timestamps