RSS Feed lastGuid rotation handling (#584) #590
No reviewers
Labels
No labels
blocked
duplicate
high priority
needs
approval
needs
criteria
needs
estimate
needs
tests
question
step
doing
step
review
step
testing
step
todo
step
uat
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
development
type
documentation
type
epic
type
idea
type
incident
type
investigation
type
spike
type
story
type
tests
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RabbitLabs/vylbot-app!590
Loading…
Reference in a new issue
No description provided.
Delete branch "cursor/584-rss-feed-lastguid-rotation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Stops
RssFeedHelper.GetNewItemsfrom treating every feed item as new when the storedlastGuidhas rotated off the feed (retention/expiry).When
lastGuidis set but not found, at most 10 newest items are returned (oldest-first). The cap is an optional third argument so timer/commands can reuse it. First-poll behaviour (lastGuidmissing/empty →[]) is unchanged.Changes
src/helpers/RssFeedHelper.ts— detect missinglastGuidafter scan; apply configurable cap (default 10)tests/helpers/RssFeedHelper.test.ts— cover default cap overflow, sub-cap feeds, custom cap; keep match/empty casesVerification
yarn buildPASSyarn testPASS (5 suites / 72 tests)Ticket: #584
Base is
feature/epic-528-rss-feeds(same as #583 / #530) becauseRssFeedHelperlives on the epic branch, not yet onrelease/3.4.0.