Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

trunk-merge/pr-3613/b436d705-8e88-4591-81d2-af2ef6446bf1 - #3647

Closed
trunk-io[bot] wants to merge 7 commits into
mainfrom
trunk-merge/pr-3613/b436d705-8e88-4591-81d2-af2ef6446bf1
Closed

trunk-merge/pr-3613/b436d705-8e88-4591-81d2-af2ef6446bf1#3647
trunk-io[bot] wants to merge 7 commits into
mainfrom
trunk-merge/pr-3613/b436d705-8e88-4591-81d2-af2ef6446bf1

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Jul 21, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA 37a0ed95374c5f5f38834d0a2eef9fa6571c114c.

See more details about each PR in the batch here:

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing a batch with the changes from pull requests 3613 and 3596 - batching documentation.

Gilbert09 and others added 7 commits July 20, 2026 17:27
Thread the selected sandbox environment / custom base image through the mobile
cloud-task warm path so a warmed sandbox matches what the task will actually run
on.

- `warmTask()` now optionally includes `sandbox_environment_id` / `custom_image_id`
  in the request body (only when set).
- `useWarmTask` folds both ids into the debounce/dedupe key, so changing the
  selection re-warms, and forwards them to the warm call.
- `runTaskInCloud` carries the ids on the run so a reused warm sandbox matches
  the selection instead of a mismatched default.

Generated-By: PostHog Code
Task-Id: 5c715645-baa3-460e-91ca-73ee7e7fad86
Generalize the inbox OAuth connect flow so any PostHog-supported OAuth
integration kind works without provider-specific code.

`DynamicSourceSetup` already renders `oauth` and `oauth-account-select`
fields generically (account listing + server-side resource search); the
only provider-specific gate was the flow starter, which hardcoded
`kind === "linear"`. PostHog's `…/integrations/authorize/?kind=<kind>`
endpoint is already generic, so this adds a kind-parameterized
`IntegrationService` + `integration` tRPC router and points the OAuth
field's connect button at it via `field.kind`.

Result: adding an OAuth warehouse source (Intercom, HubSpot, Salesforce,
Stripe, ad platforms, …) needs no bespoke setup form or per-kind router —
just the source's registry entry, whose connect-form schema already
carries the oauth field and kind.
The HostRouter type declares an `integration` route, but the desktop
app's trpcRouter assembly did not serve it, tripping the
servesEveryHostRoute compile-time guard and failing typecheck.

Generated-By: PostHog Code
Task-Id: 9fd73e57-6627-4884-bb0e-953cc4fa6b33
Generated-By: PostHog Code
Task-Id: 9fd73e57-6627-4884-bb0e-953cc4fa6b33
…-image

Generated-By: PostHog Code
Task-Id: 2684a08b-4ecb-4bfb-8d8e-39030b31c449
@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 0f856a9.

@trunk-io trunk-io Bot closed this Jul 21, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-3613/b436d705-8e88-4591-81d2-af2ef6446bf1 branch July 21, 2026 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant