Skip to content

fix: page through ArrowHead newsfeed instead of a fixed 1024-entry window - #172

Merged
dealloc merged 1 commit into
masterfrom
fix/dispatch-newsfeed-pagination
Sep 9, 2026
Merged

fix: page through ArrowHead newsfeed instead of a fixed 1024-entry window#172
dealloc merged 1 commit into
masterfrom
fix/dispatch-newsfeed-pagination

Conversation

@dealloc

@dealloc dealloc commented Sep 9, 2026

Copy link
Copy Markdown
Member

Summary

  • ArrowHeadApiService.LoadFeed now pages through ArrowHead's /api/NewsFeed endpoint (advancing fromTimestamp until a page comes back short) instead of making a single fixed-window call, so dispatches keep updating past the previous 1024-entry cap.
  • Store behavior is unchanged (still full-replace each sync); pagination/accumulation and V1/V2 endpoint pagination are deferred to a follow-up.
  • Verified Steam's newsfeed sync (SteamApiService.GetLatest) does not have the same bug — it always fetches the newest N items with no fixed historical window.

Fixes #171

Test plan

  • dotnet build on the full solution
  • Ran Helldivers-2-CI against the live ArrowHead API (RunOnce=true): sync completed in ~8s, V1 dispatch store went from the old hard-capped 1024 entries to 1044 (2 pages), with the newest dispatch dated 2026-09-08 instead of stuck at 2026-08-23.

…ndow

The sync always requested the same fixed maxEntries/fromTimestamp
window, so once a season passed 1024 dispatches the newest ones were
never fetched. LoadFeed now pages through the newsfeed, advancing
fromTimestamp until a page comes back short, so dispatches stay
up to date.

Fixes #171
@dealloc
dealloc merged commit 233f155 into master Sep 9, 2026
6 checks passed
@dealloc
dealloc deleted the fix/dispatch-newsfeed-pagination branch September 9, 2026 07:17
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.

[BUG]: No dispatches published after August 23, 2026

1 participant