docs(activity): add godoc for exported cache integrity symbols #321

Closed
opened 2026-07-07 12:12:30 +00:00 by the.auditor · 0 comments
Owner

Three exported symbols in internal/activity/cache.go lack doc comments:

  • ErrCorrupted — sentinel error for cache corruption, callers use errors.Is(err, ErrCorrupted)
  • CheckIntegrity — runs PRAGMA integrity_check on SQLite
  • OpenWithRecovery — wraps Open(); on ErrCorrupted, deletes and re-creates the DB

Ref: PR #320

Three exported symbols in `internal/activity/cache.go` lack doc comments: - `ErrCorrupted` — sentinel error for cache corruption, callers use `errors.Is(err, ErrCorrupted)` - `CheckIntegrity` — runs `PRAGMA integrity_check` on SQLite - `OpenWithRecovery` — wraps Open(); on `ErrCorrupted`, deletes and re-creates the DB Ref: PR #320
fuzzy added this to the Steeper project 2026-07-07 12:13:42 +00:00
fuzzy self-assigned this 2026-07-07 12:13:44 +00:00
fuzzy closed this issue 2026-07-08 08:14:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/steeper#321
No description provided.