Page MenuHomePhabricator

Give "x committed <commit>" feed stories an explicitly higher action strength than other transactions
ClosedPublic

Authored by epriestley on Jun 8 2017, 12:45 PM.
Tags
None
Referenced Files
F18146774: D18104.id43561.diff
Thu, Aug 14, 4:11 PM
F18110903: D18104.id43551.diff
Tue, Aug 12, 1:37 AM
F17948853: D18104.id.diff
Thu, Jul 31, 10:07 PM
F17930241: D18104.diff
Wed, Jul 30, 5:48 PM
F17902653: D18104.id43561.diff
Tue, Jul 29, 10:20 AM
Unknown Object (File)
Jun 2 2025, 10:59 AM
Unknown Object (File)
May 30 2025, 7:33 PM
Unknown Object (File)
May 29 2025, 4:00 PM
Subscribers
None

Details

Summary

Fixes T12811. The issue here appears to be that both the "alice committed rXYZabc" and "Herald added projects..." actions have the same (default) strength and end up applying in arbitrary order, and probably got shuffled around as this transitioned to Modular transactions.

Give "alice committed rXYZabc" an explicitly higher action strength.

Test Plan
  • Wrote an "Always, add project X" Herald rule for commits.
  • Ran bin/repository reparse --herald ....
  • Saw an "alice committed rXYZabc" story instead of a "Herald added projects: X" story.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable