Skip to content

refactor(cloud): share task policies across hosts#3623

Draft
richardsolomou wants to merge 4 commits into
posthog-code/share-cloud-task-api-clientfrom
posthog-code/share-cloud-task-policies
Draft

refactor(cloud): share task policies across hosts#3623
richardsolomou wants to merge 4 commits into
posthog-code/share-cloud-task-api-clientfrom
posthog-code/share-cloud-task-policies

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Mobile independently implemented automation schedules, task status/activity, archive rules, inbox filtering, reviewer presentation, execution modes, and session activity decisions.

Depends on #3622
Refs #2416

Changes

I moved those decisions into portable @posthog/core policies and switched mobile consumers to them immediately. The corresponding mobile policy helpers and policy-only tests are removed; native components retain only rendering and interaction concerns.

Follow-up: #3624

How did you test this?

  • Ran 2,574 core tests and the core typecheck.
  • Ran 373 mobile tests.
  • Ran Biome and host-boundary checks.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 9e39cdd.

@richardsolomou
richardsolomou force-pushed the posthog-code/share-cloud-task-api-client branch from 533ed1f to fe1c27f Compare July 21, 2026 13:29
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
@richardsolomou
richardsolomou force-pushed the posthog-code/share-cloud-task-policies branch from c05b44e to dc82fa7 Compare July 21, 2026 13:38
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
@richardsolomou richardsolomou changed the title refactor(cloud): share task domain policies refactor(cloud): share task policies across hosts Jul 21, 2026
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
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