Skip to content

feat(signals): route inbox notifications to a team channel#60731

Draft
joshsny wants to merge 3 commits into
masterfrom
posthog-code/signals-slack-inbox-card
Draft

feat(signals): route inbox notifications to a team channel#60731
joshsny wants to merge 3 commits into
masterfrom
posthog-code/signals-slack-inbox-card

Conversation

@joshsny
Copy link
Copy Markdown
Contributor

@joshsny joshsny commented May 29, 2026

This moves inbox notifications to a default team channel, and keeps the per-user settings as an override.

It also moves inbox notifications out to their own workflow, and for reports that auto-start tasks we wait until the task is complete before posting the notification to slack, and include a "Review PR" button.

It also adds support for dismissing PRs directly from Slack.

@joshsny joshsny changed the title feat(signals): post inbox reports to team Slack channel feat(signals): post inbox reports to team slack channel May 29, 2026
@joshsny joshsny force-pushed the posthog-code/signals-team-slack-channel branch from 101ee31 to 3e8e7c1 Compare May 29, 2026 20:10
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch 2 times, most recently from 8c0f3a9 to f5b7740 Compare May 29, 2026 20:21
@joshsny joshsny force-pushed the posthog-code/signals-team-slack-channel branch from 3e8e7c1 to 4870f77 Compare June 1, 2026 10:12
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from f5b7740 to dfe829b Compare June 1, 2026 10:12
@joshsny joshsny force-pushed the posthog-code/signals-team-slack-channel branch from 4870f77 to bb169ea Compare June 1, 2026 10:28
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from dfe829b to 4a8aae4 Compare June 1, 2026 10:28
@joshsny joshsny force-pushed the posthog-code/signals-team-slack-channel branch from bb169ea to 5f2d6b4 Compare June 1, 2026 11:02
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from 4a8aae4 to fd0eeea Compare June 1, 2026 11:02
Base automatically changed from posthog-code/signals-team-slack-channel to master June 1, 2026 11:24
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from fd0eeea to 0583a22 Compare June 1, 2026 11:29
@joshsny joshsny changed the title feat(signals): post inbox reports to team slack channel feat(signals): route inbox notifications to reviewer or team channel Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

MCP UI Apps size report

App JS CSS
debug 474.9 KB 139.9 KB
action 349.4 KB 139.9 KB
action-list 357.2 KB 139.9 KB
cohort 348.5 KB 139.9 KB
cohort-list 356.2 KB 139.9 KB
error-details 369.9 KB 139.9 KB
error-issue 349.2 KB 139.9 KB
error-issue-list 357.2 KB 139.9 KB
experiment 353.7 KB 139.9 KB
experiment-list 358.0 KB 139.9 KB
experiment-results 355.8 KB 139.9 KB
feature-flag 434.3 KB 139.9 KB
feature-flag-list 438.8 KB 139.9 KB
feature-flag-testing 427.2 KB 139.9 KB
insight-actors 352.3 KB 139.9 KB
llm-costs 351.9 KB 139.9 KB
session-recording 350.2 KB 139.9 KB
session-summary 356.2 KB 139.9 KB
survey 350.0 KB 139.9 KB
survey-global-stats 354.8 KB 139.9 KB
survey-list 357.9 KB 139.9 KB
survey-stats 354.8 KB 139.9 KB
trace-span 348.8 KB 139.9 KB
trace-span-list 357.1 KB 139.9 KB
workflow 348.8 KB 139.9 KB
workflow-list 356.6 KB 139.9 KB
query-results 370.6 KB 139.9 KB
visual-review-snapshots 353.5 KB 139.9 KB

@tests-posthog
Copy link
Copy Markdown
Contributor

tests-posthog Bot commented Jun 1, 2026

⏭️ Skipped snapshot commit because branch advanced to 7f31708 while workflow was testing 9b49767.

The new commit will trigger its own snapshot update workflow.

If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:

  • Merge master into your branch, or
  • Push an empty commit: git commit --allow-empty -m 'trigger CI' && git push

@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from 7f31708 to 2dc0954 Compare June 1, 2026 13:53
@tests-posthog
Copy link
Copy Markdown
Contributor

tests-posthog Bot commented Jun 1, 2026

Query snapshots: Backend query snapshots updated

Changes: 1 snapshots (0 modified, 1 added, 0 deleted)

What this means:

  • Query snapshots have been automatically updated to match current output
  • These changes reflect modifications to database queries or schema

Next steps:

  • Review the query changes to ensure they're intentional
  • If unexpected, investigate what caused the query to change

Review snapshot changes →

@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch 3 times, most recently from 282060b to d80cb94 Compare June 4, 2026 10:20
joshsny and others added 3 commits June 4, 2026 17:08
Route each suggested reviewer on a ready report to exactly one Slack channel:
their own configured channel if set (filtered by their min-priority), else the
team-default channel, else nowhere. Reviewers sharing a channel — notably
everyone falling back to the team default — get a single post mentioning only
the reviewers routed there. A report with no resolvable reviewers posts nothing.

Adopts master's inbox-card formatting (📬 header, emoji priority labels,
"Matched to … per code" framing, mentions in the mrkdwn body) and extends it
to carry multiple reviewer mentions per post.

Generated-By: PostHog Code
Task-Id: 7a166a32-2165-46c5-8df0-44c62e084731
@joshsny joshsny force-pushed the posthog-code/signals-slack-inbox-card branch from 9290347 to 50947f0 Compare June 4, 2026 16:26
@joshsny joshsny changed the title feat(signals): route inbox notifications to reviewer or team channel feat(signals): route inbox notifications to a team channel Jun 4, 2026
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