Skip to content

feat(push_delivery,backend): cut over push delivery and RSS handler to BaseSummaryVisitor (#2622) - #2637

Merged
jcscottiii merged 2 commits into
mainfrom
feat/all-saved-search-visitor-cutover
Jul 30, 2026
Merged

feat(push_delivery,backend): cut over push delivery and RSS handler to BaseSummaryVisitor (#2622)#2637
jcscottiii merged 2 commits into
mainfrom
feat/all-saved-search-visitor-cutover

Conversation

@jcscottiii

Copy link
Copy Markdown
Collaborator

Completes the Visitor pattern cutover across push delivery pipelines and the RSS HTTP handler.

  • Updates shouldNotifyV1 in workers/push_delivery/pkg/dispatcher to delegate highlight filtering and error checks to EventSummary.Categorize(triggers) and BaseSummaryVisitor.HasContent().
  • Cuts over get_subscription_rss.go in backend/pkg/httpserver to invoke summary.Accept(visitor, triggers) for RSS feed payload generation.
  • Passes EventSummary by pointer (*EventSummary) into shouldNotifyV1 to avoid backing array copy overhead across subscriber loops.
  • Removes redundant manual trigger matching logic, completing double dispatch cutover for push notifications and RSS feed rendering.

Fixes #2622 (PR 5/5)

CONV=f70d8c59-6f49-4a69-bb74-5643e908f5b1
TAG=agy

@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from 6882b44 to 276df8f Compare July 21, 2026 20:05
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch 2 times, most recently from 00fb6d6 to 4637948 Compare July 21, 2026 20:10
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch 2 times, most recently from f90c656 to 6fb0070 Compare July 21, 2026 21:10
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch from 4637948 to af63999 Compare July 21, 2026 21:10
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from 6fb0070 to d5039eb Compare July 21, 2026 21:43
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch 2 times, most recently from dc5b1e8 to ea25f1a Compare July 22, 2026 14:01
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from d5039eb to 34105c8 Compare July 22, 2026 14:01
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch from ea25f1a to f067369 Compare July 22, 2026 14:58
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from 34105c8 to 74e4719 Compare July 22, 2026 14:58
@jcscottiii
jcscottiii requested a review from neilv-g July 28, 2026 15:05
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch from f067369 to 2bc1c07 Compare July 29, 2026 18:32
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from 74e4719 to f1d0da6 Compare July 29, 2026 18:33
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch from 2bc1c07 to df2f585 Compare July 29, 2026 19:24
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from f1d0da6 to 1e5a45c Compare July 29, 2026 19:24
Comment thread workers/push_delivery/pkg/dispatcher/dispatcher_test.go Outdated
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-slack-visitor-impl branch from df2f585 to 7c94da5 Compare July 30, 2026 15:07
…o BaseSummaryVisitor (#2622)

Complete the Visitor pattern cutover across push delivery pipelines and the RSS HTTP handler.

- Update shouldNotifyV1 in workers/push_delivery/pkg/dispatcher to delegate highlight filtering and error checks to EventSummary.Categorize(triggers) and BaseSummaryVisitor.HasContent().
- Cut over get_subscription_rss.go in backend/pkg/httpserver to invoke summary.Accept(visitor, triggers) for RSS feed payload generation.
- Pass EventSummary by pointer (*EventSummary) into shouldNotifyV1 to avoid header and slice backing array copy overhead across subscriber iteration loops.
- Remove redundant manual trigger matching logic, completing the double-dispatch cutover for push notifications and RSS feed rendering.

CONV=f70d8c59-6f49-4a69-bb74-5643e908f5b1
TAG=agy
@jcscottiii
jcscottiii force-pushed the feat/all-saved-search-visitor-cutover branch from 1e5a45c to b1767f1 Compare July 30, 2026 15:32
@jcscottiii
jcscottiii changed the base branch from feat/all-saved-search-slack-visitor-impl to main July 30, 2026 15:32
@jcscottiii
jcscottiii enabled auto-merge July 30, 2026 17:00
@jcscottiii
jcscottiii added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit d93adad Jul 30, 2026
4 of 5 checks passed
@jcscottiii
jcscottiii deleted the feat/all-saved-search-visitor-cutover branch July 30, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Notification Pipeline Architecture: Category Renderer Visitor Pattern & Control-Plane Event Separation

2 participants