Skip to content

fix: resolve the latest arXiv date within its own archive - #18

Merged
HsukqiLee merged 2 commits into
mainfrom
fix/latest-arxiv-date
Nov 21, 2026
Merged

HsukqiLee merged 2 commits into
mainfrom
fix/latest-arxiv-date

Conversation

@HsukqiLee

@HsukqiLee HsukqiLee commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

The dedicated arXiv page initially defaulted to the newest mixed-news date. When that day contained only security stories, opening latest preprints showed an empty list even though an older capture contained papers.

The existing news API now supports explicit all/arxiv/security scopes and resolves the latest nonempty date for a scoped request without a date. Explicit dates still return their own empty state. Both the arXiv and security-news pages use the date/content returned by that API. Date changes clear prior rows before loading so a failed new request cannot display old rows under the new date. Shared source recognition remains in the Go catalog; the duplicate frontend classifier is removed. No new metadata field or client search loop is added.

Validation: the real HTTP regression first failed by returning the newer security story for source=arxiv. It now covers latest scoped date, default all-source behavior, explicit empty dates and invalid scope. The existing desktop/mobile/subpath scenarios additionally check both channels' initial scoped dates before exercising historical pagination and filters. Windows full Go/vet and frontend typecheck/build passed. Complete Linux CI passed Go race/vet, formatting, 35 browser scenarios, production /news build and native package at b406778: https://github.com/FastR-D/FastNews/actions/runs/44920651310 . Two existing entry-canonicalization cases skip desktop/mobile and pass in their applicable subpath project.

All eight files and both commits were reviewed. Net diff: production +76/-38, scenarios +48/-0, docs +2/-0. The extra state holds the server-resolved date separately from an optional explicit URL date; no derived date is requested from the user or model, and one backend source rule serves both views.

Advances #1; external conference access/model quality acceptance remains separate. No dependency, timeout, data migration, live model call or deployment is involved.

@HsukqiLee
HsukqiLee merged commit 9b47b78 into main Nov 21, 2026
3 checks passed
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.

1 participant