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
F19943543: D18619.diff
Thu, Apr 16, 4:18 AM
F19882433: D18619.diff
Thu, Mar 19, 2:46 PM
F19854396: D18619.diff
Mar 13 2026, 8:35 AM
F19844005: D18619.id44706.diff
Mar 12 2026, 4:36 AM
F19843154: D18619.id44706.diff
Mar 12 2026, 12:15 AM
F19795812: D18619.id.diff
Feb 27 2026, 6:05 AM
F19654910: D18619.id.diff
Feb 6 2026, 4:22 PM
F19181769: D18619.diff
Dec 16 2025, 3:12 AM
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