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
Unknown Object (File)
Mon, Apr 29, 2:52 PM
Unknown Object (File)
Wed, Apr 24, 10:50 PM
Unknown Object (File)
Tue, Apr 2, 1:17 PM
Unknown Object (File)
Mar 6 2024, 4:28 AM
Unknown Object (File)
Feb 21 2024, 10:56 AM
Unknown Object (File)
Feb 21 2024, 8:11 AM
Unknown Object (File)
Feb 12 2024, 9:44 AM
Unknown Object (File)
Jan 6 2024, 5:59 AM
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
Branch
feed1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17448
Build 23390: Run Core Tests
Build 23389: arc lint + arc unit