Refactor: Server idiomatic cleanup (thiserror, ULID panic, parking_lot, pagination) #89
Labels
No labels
area:api
area:core
area:docs
area:infra
area:ux
dependencies
documentation
duplicate
good first issue
help wanted
invalid
question
rust
status:complete
status:partial
status:planned
type:bug
type:design
type:feature
type:infra
type:refactor
type:refactor
type:research
type:ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
icub3d/decentcom#89
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?
Category: Refactor / idiomatic (server) — found in code review 2026-07-07.
Collection of lower-urgency cleanups in
server/:StorageErrorDisplay/Error/Fromimpls (storage/mod.rs:21) withthiserror.new_id(storage/sqlite/mod.rs:124).expect()s on ULID overflow — panics under burst inserts. Fall back toUlid::new(); consider dropping the globalMutex<Generator>.parking_lotlocks in the gateway registry (9.expect("...poisoned")sites) to avoid poisoning cascades.messageshashas_more, others return bareVec;aftercursor is accepted-then-errored — implement or drop it).event_jsonsilently swallows serialization errors intoNone— log awarn!instead.# with targeted allows.