Skip to content

Message buffer ordering and dedup - #133

Open
Jokler wants to merge 3 commits into
prototypefrom
34-message-buffer-ordering-and-dedup
Open

Message buffer ordering and dedup#133
Jokler wants to merge 3 commits into
prototypefrom
34-message-buffer-ordering-and-dedup

Conversation

@Jokler

@Jokler Jokler commented Aug 16, 2026

Copy link
Copy Markdown
Member

In theory messages would have been ordered and deduped already but the insert logic was missing in a lot of places. I used this opportunity to replace the message OrderMap with a database interface which is backed by IndexedDB in WASM. As a result this PR mostly acts as a first iteration of a persistent storage solution.

The mock test gets dragged along but still just acts as a POC instead of really testing anything.

Closes #34.

@Jokler
Jokler requested a review from zealsprince August 16, 2026 14:26
@Jokler Jokler self-assigned this Aug 16, 2026
@Jokler Jokler linked an issue Aug 16, 2026 that may be closed by this pull request
@Jokler Jokler added this to Orbit Aug 16, 2026
@Jokler
Jokler changed the base branch from main to prototype August 16, 2026 14:29

@zealsprince zealsprince left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed most of the changes but haven't put my stamp of approval on until I'm back in office next week.

If you want to merge it to unblock yourself for a next step feel free and I'll do a follow up when I'm back. Otherwise I'll do a review of the remainder later! :)

@Jokler Jokler moved this to In review in Orbit Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Message buffer ordering and dedup

2 participants