Skip to content

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

Open
jcscottiii wants to merge 1 commit into
feat/all-saved-search-slack-visitor-implfrom
feat/all-saved-search-visitor-cutover
Open

feat(push_delivery,backend): cut over push delivery and RSS handler to BaseSummaryVisitor (#2622)#2637
jcscottiii wants to merge 1 commit into
feat/all-saved-search-slack-visitor-implfrom
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
…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-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
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.

1 participant