Skip to content

refactor(core): extract repository integration semantics - #3633

Merged
trunk-io[bot] merged 12 commits into
mainfrom
posthog-code/share-repository-integration-semantics
Jul 29, 2026
Merged

refactor(core): extract repository integration semantics#3633
trunk-io[bot] merged 12 commits into
mainfrom
posthog-code/share-repository-integration-semantics

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Repository aggregation and partial-failure behavior need a shared core contract before mobile can adopt them.

Depends on #3608
Refs PostHog/posthog#76229

Changes

Phase 1 only: I extracted the existing repository aggregation behavior into tested @posthog/core helpers. Mobile remains unchanged in this PR.

How did you test this?

  • Full monorepo typecheck at this checkpoint
  • Final stack: 711 shared, 153 API-client, 2,599 core, and 451 mobile tests

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 36f9b39.

@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from 70e84e9 to dde4532 Compare July 23, 2026 12:59
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 9fa5d73 to d33f9fc Compare July 23, 2026 13:04
@richardsolomou richardsolomou changed the title refactor(mobile): share repository integration semantics refactor(mobile): reuse repository aggregation Jul 23, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from dde4532 to 8c45346 Compare July 23, 2026 13:36
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from d33f9fc to 34b58d2 Compare July 23, 2026 13:36
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Merge posthog-code/share-mobile-cloud-ta..." | Re-trigger Greptile

@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch 2 times, most recently from a7ef739 to ac5fe9a Compare July 23, 2026 18:55
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from 26dda58 to 2ae0612 Compare July 24, 2026 16:41
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from ac5fe9a to e6b7199 Compare July 24, 2026 16:41
@richardsolomou richardsolomou changed the title refactor(mobile): reuse repository aggregation refactor(core): extract repository integration semantics Jul 24, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from 2ae0612 to e1af136 Compare July 24, 2026 16:47
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch 2 times, most recently from 343feed to c49488b Compare July 24, 2026 22:26
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from e1af136 to 3e528fe Compare July 24, 2026 22:26
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from c49488b to cfdf0f4 Compare July 24, 2026 22:57
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch 2 times, most recently from 2ea8e81 to e3d7ad0 Compare July 24, 2026 23:07
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from cfdf0f4 to 4722c58 Compare July 24, 2026 23:07
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Keep the extracted domain declaration as the single source after rebasing onto current main.

Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from e3d7ad0 to db8585d Compare July 28, 2026 09:06
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 4722c58 to 72c431a Compare July 28, 2026 09:06
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from db8585d to a27d84d Compare July 28, 2026 09:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 72c431a to 468d1a8 Compare July 28, 2026 09:28
Preserve the shared model-policy extraction while incorporating current main's Modal model support.

Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 468d1a8 to 36f9b39 Compare July 29, 2026 07:58
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-cloud-task-core branch from a27d84d to 2245a2e Compare July 29, 2026 07:58
Base automatically changed from posthog-code/share-mobile-cloud-task-core to main July 29, 2026 10:26
@trunk-io

trunk-io Bot commented Jul 29, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@trunk-io
trunk-io Bot merged commit 06df336 into main Jul 29, 2026
43 of 58 checks passed
@trunk-io
trunk-io Bot deleted the posthog-code/share-repository-integration-semantics branch July 29, 2026 10:44
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.

2 participants