Page MenuHomePhabricator

Deduplicate application-level notifications from Aphlict
ClosedPublic

Authored by epriestley on Apr 17 2017, 9:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 1, 10:19 PM
Unknown Object (File)
Mon, Feb 24, 7:53 AM
Unknown Object (File)
Thu, Feb 20, 1:39 AM
Unknown Object (File)
Thu, Feb 13, 6:31 PM
Unknown Object (File)
Sun, Feb 9, 3:04 AM
Unknown Object (File)
Feb 3 2025, 2:55 AM
Unknown Object (File)
Jan 31 2025, 3:50 AM
Unknown Object (File)
Jan 28 2025, 11:03 AM
Subscribers
None

Details

Summary

Fixes T12564. We already had some code which seems to deal with this properly, it just wasn't getting used.

Assign each application-level notification a unique ID, then ignore messages with duplicate IDs.

Test Plan
  • In browser A, loaded /T123.
  • In browser B, loaded /T123.
  • Made a comment as B.
  • Saw notification as A.
  • Mashed "Replay" a bunch.
  • Before patch: piles of duplicate notifications.
  • After patch: no duplicates.

Diff Detail

Repository
rP Phabricator
Branch
aphlict7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16521
Build 22012: Run Core Tests
Build 22011: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 17 2017, 9:54 PM
This revision was automatically updated to reflect the committed changes.