RSS Feed Fetch Timeout #583
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RabbitLabs/vylbot-app#583
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Epic: #528
Story Points:
Add a timeout to RSS feed fetches so a hung or slow URL cannot stall the polling loop.
Follow-up from the review on #579 / #530:
FetchFeedcurrently callsrss-parserwith no timeout.Acceptance Criteria
GIVEN a valid http or https feed URL
WHEN
RssFeedHelper.FetchFeedis called and the feed responds within the timeoutTHEN the parsed feed is returned as today
GIVEN a valid http or https feed URL
WHEN the remote does not respond within 10 seconds
THEN
FetchFeedthrows a descriptive error (Failed to fetch or parse RSS feed: ...)AND the call does not hang indefinitely
GIVEN an invalid URL
WHEN
FetchFeedis calledTHEN it still throws
Invalid RSS feed URLbefore attempting a network requestSubtasks
rss-parser(or equivalent abort) fromRssFeedHelper.FetchFeedNotes
Implemented fetch timeout for #583 on branch
cursor/583-rss-feed-fetch-timeout.PR: #588 (ready for review; targets
feature/epic-528-rss-feeds).RssFeedHelper.FetchFeednow constructsrss-parserwith a 10s timeoutyarn build/yarn testPASS (65 tests)Moved to
step/reviewand assigned to @Vylpes for approval.QA results — PASS
Tested on
feature/epic-528-rss-feeds@24f39c9(PR #588 merged 2026-10-09 into the epic branch; not onrelease/3.4.0yet).Acceptance criteria
rss-parserconstructed with{ timeout: 10000 }Failed to fetch or parse RSS feed: ...(covered by unit test)Invalid RSS feed URLbefore networkChecks
yarn install --frozen-lockfilePASSyarn buildPASSyarn testPASS — 5 suites / 70 tests / 2 snapshotsRssFeedHelpersuite 18/18 PASS (timeout option + timeout error wrapping)Moved
step/testing→step/uatand assigned @Vylpes for UAT.Live hung-URL smoke against a real slow feed left for human UAT when the RSS timer (#534) is wired.