Skip to content

refactor(cloud): share task API transport across hosts#3622

Draft
richardsolomou wants to merge 3 commits into
posthog-code/share-cloud-task-foundationsfrom
posthog-code/share-cloud-task-api-client
Draft

refactor(cloud): share task API transport across hosts#3622
richardsolomou wants to merge 3 commits into
posthog-code/share-cloud-task-foundationsfrom
posthog-code/share-cloud-task-api-client

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Mobile duplicated task, automation, integration, and sandbox API transport that already belonged in the shared authenticated client.

Depends on #3616
Refs #2416

Changes

I added the canonical cloud-task transport and normalization to @posthog/api-client, then switched the corresponding mobile hooks and screens to use it directly. The remaining mobile facade is limited to run/session compatibility methods consumed by the later engine PR.

Follow-up: #3623

How did you test this?

  • Ran 117 API client tests and the API client typecheck.
  • Ran 430 mobile tests.
  • Ran Biome and diff 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 1 issue in 1 file · 1 warning.

1 warning

src/features/chat/components/ToolMessage.tsx

Reviewed by React Doctor for commit 4478f7e.

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-api-client branch from 533ed1f to fe1c27f Compare July 21, 2026 13:29
@richardsolomou richardsolomou changed the title refactor(cloud): share task API transport refactor(cloud): share task API transport 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