Skip to content

fix(analyzers): use timestamp+id hash to prevent collision#90

Merged
mike1858 merged 1 commit intomainfrom
fix/piebald-globalhash-collision
Dec 27, 2025
Merged

fix(analyzers): use timestamp+id hash to prevent collision#90
mike1858 merged 1 commit intomainfrom
fix/piebald-globalhash-collision

Conversation

@mike1858
Copy link
Copy Markdown
Member

Piebald message IDs are local SQLite autoincrement values that start at 1 for each installation. Using just the ID caused hash collisions across different users.

Combine created_at timestamp (nanosecond precision) with message ID to generate globally unique hashes for message deduplication.

Piebald message IDs are local SQLite autoincrement values that start
at 1 for each installation. Using just the ID caused hash collisions
across different users.

Combine created_at timestamp (nanosecond precision) with message ID
to generate globally unique hashes for message deduplication.
@mike1858 mike1858 enabled auto-merge (squash) December 27, 2025 00:04
@mike1858 mike1858 merged commit 8ae3d6e into main Dec 27, 2025
5 checks passed
@mike1858 mike1858 deleted the fix/piebald-globalhash-collision branch December 27, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant