Page MenuHomePhabricator

Process Herald rules recursively
Closed, WontfixPublic

Description

I have two Herald rules which look like this:

  • If [task's projects] [contains any of] [#some_project], [add project] [#x].
  • If [task's projects] [contains any of] [#x], [add project] [#y].

Now if I create a task with project #some_project, Herald will add project #x. When a subsequent interaction is made with the task (for example, someone comments on it), project #y will be added. Ideally we could detect these types of relationships between Herald rules and realize that both of these Herald rules can be applied at the same time.

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Herald.
joshuaspence added a subscriber: joshuaspence.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

I don't want to introduce this level of complexity into Herald.

(This also doesn't describe a use case, and I can't come up with any reasonable ones.)