Page MenuHomePhabricator

Fix "Author's projects" Herald rules for revisions and diffs
ClosedPublic

Authored by epriestley on Sep 16 2017, 12:48 AM.
Tags
None
Referenced Files
F18869504: D18619.diff
Tue, Nov 4, 12:06 PM
F18862144: D18619.diff
Sun, Nov 2, 6:14 PM
F18758558: D18619.id44706.diff
Oct 5 2025, 10:44 PM
F18756426: D18619.id44708.diff
Oct 5 2025, 11:24 AM
F18753399: D18619.id44708.diff
Oct 4 2025, 6:36 PM
F18753394: D18619.id44706.diff
Oct 4 2025, 6:35 PM
F18753383: D18619.id.diff
Oct 4 2025, 6:32 PM
F18753381: D18619.diff
Oct 4 2025, 6:31 PM
Subscribers
None

Details

Summary

See PHI71. These didn't get properly updated when we wrote Subprojects and Milestones, and should use materialized members, not raw members. Swap the query so projects you are an indirect member of (e.g., milestones you are a member of the parent for, and parent projects you are a member of a subproject of) are included in the result list.

Also fix a bad typeahead datasource.

Test Plan
  • Ran a dry run with the test console, saw project PHIDs for milestones and parent projects in the raw field value.
  • Tried to set "Author's projects" to a user, no longer could.

Diff Detail

Repository
rP Phabricator
Branch
projrule
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18483
Build 24888: Run Core Tests
Build 24887: arc lint + arc unit