RSS Feed Fetch Timeout #583
Labels
No labels
blocked
duplicate
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
epic
type
idea
type
incident
type
investigation
type
spike
type
story
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