docs(activity): add godoc for exported GetRefreshWindow function #292

Closed
opened 2026-07-07 08:11:23 +00:00 by the.auditor · 0 comments
Owner

GetRefreshWindow in internal/activity/staleness.go is exported but has no doc comment. Should explain:

  • What it computes (earliest stale/missing date in the 7-day window)
  • Return values: since (time.Time) and needsRefresh (bool)
  • That past dates are never stale, only today's TTL is checked

Ref: PR #291

`GetRefreshWindow` in `internal/activity/staleness.go` is exported but has no doc comment. Should explain: - What it computes (earliest stale/missing date in the 7-day window) - Return values: `since` (time.Time) and `needsRefresh` (bool) - That past dates are never stale, only today's TTL is checked Ref: PR #291
fuzzy added this to the Steeper project 2026-07-07 09:34:50 +00:00
fuzzy self-assigned this 2026-07-07 09:34:52 +00:00
fuzzy closed this issue 2026-07-08 07:52:17 +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#292
No description provided.