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

trunk-merge/pr-3595/3f51feae-0c51-4bfa-baf5-35d0edeab8c7 - #3648

Closed
trunk-io[bot] wants to merge 11 commits into
mainfrom
trunk-merge/pr-3595/3f51feae-0c51-4bfa-baf5-35d0edeab8c7
Closed

trunk-merge/pr-3595/3f51feae-0c51-4bfa-baf5-35d0edeab8c7#3648
trunk-io[bot] wants to merge 11 commits into
mainfrom
trunk-merge/pr-3595/3f51feae-0c51-4bfa-baf5-35d0edeab8c7

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 here.

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

Pull Requests Being Tested

This pull request is testing the changes from pull request 3595.

Dependencies

This pull request depends on the changes from pull requests 3613 and 3596.

Gilbert09 and others added 11 commits July 20, 2026 17:17
Ports #3493 to the mobile filter sheet. Adds an "Any" row at the top of the
Source and Priority sections that reads as selected when the filter is empty
and clears the filter back to empty when tapped. Source clears via a new
clearSourceProductFilter store action; Priority reuses setPriorityFilter([]).

Generated-By: PostHog Code
Task-Id: be78b0df-c31b-4e0e-8d37-feaf22a054d0
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
Generated-By: PostHog Code
Task-Id: 618b6297-b38d-4cef-8ba3-9789a0326fca
…-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 868c48a.

@trunk-io trunk-io Bot closed this Jul 21, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-3595/3f51feae-0c51-4bfa-baf5-35d0edeab8c7 branch July 21, 2026 17:38
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