fix: page through ArrowHead newsfeed instead of a fixed 1024-entry window - #172
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ArrowHeadApiService.LoadFeednow pages through ArrowHead's/api/NewsFeedendpoint (advancingfromTimestampuntil a page comes back short) instead of making a single fixed-window call, so dispatches keep updating past the previous 1024-entry cap.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 buildon the full solutionHelldivers-2-CIagainst 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.