docs(activity): add godoc for exported RefreshContext function #299

Closed
opened 2026-07-07 09:15:54 +00:00 by the.auditor · 0 comments
Owner

RefreshContext in internal/activity/refresh.go is exported but has no doc comment. Should document:

  • Orchestration flow: cache check → staleness → fetch → upsert
  • Error fallback behavior: returns stale cached data on fetch error if any exists
  • That partial upsert failures may leave cache in an inconsistent state

Ref: PR #298

`RefreshContext` in `internal/activity/refresh.go` is exported but has no doc comment. Should document: - Orchestration flow: cache check → staleness → fetch → upsert - Error fallback behavior: returns stale cached data on fetch error if any exists - That partial upsert failures may leave cache in an inconsistent state Ref: PR #298
fuzzy added this to the Steeper project 2026-07-07 09:34:18 +00:00
fuzzy self-assigned this 2026-07-07 09:34:19 +00:00
fuzzy closed this issue 2026-07-08 07:58:30 +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#299
No description provided.