Page MenuHomePhabricator

Permanently fail Feed HTTP tasks if the URI has been removed
Closed, ResolvedPublic

Description

Feed HTTP tasks retry forever, but if they don't 200 on the endpoint they should check if the URI is still present in configuration. If it has been removed, they should permanently fail.

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Feed, Daemons.
epriestley added a subscriber: epriestley.
  • In FeedPublisherHTTPWorker, before making the request, pull feed.http-hooks from config.
  • If the URI is no longer present, throw PhabricatorWorkerPermanentFailureException to permanently fail the request.