trunk-merge/pr-110212/b89936c3-1338-4f07-b9ed-11af55c3b79b - #110278
trunk-io[bot] wants to merge 83 commits into
Conversation
Experiments waited on HogQL reading $feature/<key> from the $feature_flags map, which #91506 shipped. Cohort calculation reads event properties and was never listed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a grid/list toggle to the What to watch tab, like the Search tab. The grid shows thumbnail cards that end with a "Why this recording" section. The list stays the default, and the choice persists in the browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 1884afc9-c4a5-4b60-8411-d6ec035987f8
…cking The visual snapshot build uses production React, which has no act(), so the testing-library click in the play function failed the story. The story now sets the saved view in localStorage before render and removes it afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 1884afc9-c4a5-4b60-8411-d6ec035987f8
On a narrow watch feed card, the badge, question, and result were separate flex items, so a long question dropped to its own line and the result to the next. The badge and question now share one text flow, so the question starts beside the badge and wraps under it. The result moves to the next line only when it does not fit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 1884afc9-c4a5-4b60-8411-d6ec035987f8
5 updated Run: c3a64f9e-09d2-4011-913d-c2e036f448c8 Co-authored-by: ksvat <147102038+ksvat@users.noreply.github.com>
…xperiments-cohorts
Every account needs its external ID, so the account page now shows it under the account name with a copy button, like the Accounts list. This replaces the external ID pin, so the account_field pin kind and its API, type, and sidebar changes are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 9fe396d4-bc8d-4626-a0fd-d4c49bc0512d
Behind today-rail-nav: a Views rail pane that lists canvases, notebooks and dashboards with a type picker for new views, and a canvas scene that creates, generates and renders canvases (built artifacts and drafts) with the host data bridge. The draft sandbox document is served from the canvas artifact origin with its own CSP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 641fa581-0388-4023-a4e3-e55300c4105e
The Views sidebar shows one recency list of all view types. New canvas opens a start page that creates the canvas only on the first prompt, instead of a modal. The Views scene, empty canvas page and canvas header now use the same page header and quill patterns as the rest of the today-rail-nav UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 641fa581-0388-4023-a4e3-e55300c4105e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: 641fa581-0388-4023-a4e3-e55300c4105e
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: 8cf34c3e-4153-49f1-9b48-ff2a0ad2cfab
Generated-By: PostHog Desktop Task-Id: d763e987-bb6f-40a9-a87d-8b9ba3add7cb
The New button in the Views pane is now a full-width quill primary button, like New chat in the Spaces pane. Its retry buttons and spinner also move from LemonUI to quill, so the pane uses one component library. Generated-By: PostHog Desktop Task-Id: 701cfd10-04c2-4c1e-89b2-409834a0732e
Canvas create, rename, delete and generation toasts move from lemonToast to the quill toast that the Today shell mounts. Each failure shows a short title with the reason as its description. The delete toast keeps its Undo action. Generated-By: PostHog Desktop Task-Id: 701cfd10-04c2-4c1e-89b2-409834a0732e
Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
…ws-2 Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
…ws-3 Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
…ws-2 Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
…ws-3 Generated-By: PostHog Desktop Task-Id: 76efa755-694d-4332-84c4-7880baad68e5
A run started through MultiTurnSession with an output_schema was completed by set_output after its first turn, so every follow-up went to a closed workflow. The caller now marks such runs as its own to end, and set_output stores the output without signalling completion for them.
The Claude adapter answers a schema run through a StructuredOutput tool call and writes no agent message, so a MultiTurnSession with an output_schema saw an empty turn. The log parser now takes that tool call's input as the turn's message.
Arrow keys, Home and End move the selection in the artifacts file list with a roving tabindex. Full page always shows its exit action, so stepping onto an object without an embed no longer hides it. Generated-By: PostHog Desktop Task-Id: e2367959-ab88-40ff-8761-5632645167aa
4 updated Run: 1d504fa9-7d10-47cc-a8a2-a44de1321ce7 Co-authored-by: ceyniustranberg <119332946+ceyniustranberg@users.noreply.github.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (15)📝 WalkthroughWalkthroughThe pull request changes Replay navigation and removes its comments tab and implementation. It adds grid and list views to the Replay Vision watch feed, displays copyable external IDs on customer analytics account pages, moves organization role route registration, and passes run identity to an AI Gateway rollout check. Priority: ➖ Normal Merge Risk: 🔵 Low · up to The changes are mergeable with a bounded component-organization follow-up. Move the grid card into its own file to satisfy repository conventions; no user-facing failure is established. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The role APIs retain explicit authorization and organization scoping, while gateway rollout selection now uses the run's user identity. No introduced security failure was established, but incomplete historical and runtime verification prevents a minimal-risk assessment. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
Full details: Description checkExplanation The description only documents Trunk Merge batching, base commits, dependencies, and automatic closure. It does not explain the user-facing problem or changes, testing and test rationale, release status, notifications, docs impact, or required agent context. Resolution Replace the batch metadata with a standalone description using the repository template. Add the Problem, Changes, and How did you test this code? sections, including test rationale and evidence or explicit limitations. Select exactly one Release status option. Complete Automatic notifications and Docs update. Add Agent context when applicable, including autonomy, agent/model, duplicate search, coverage, schema, public-artifact, skills, and review details. Include screenshots for the frontend changes.
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
products/replay_vision/frontend/replay_scanners/components/WatchFeedCard.tsx (1)
449-449: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winMove
WatchFeedGridCardto its own file.This file now exports two card components. Move
WatchFeedGridCardtoWatchFeedGridCard.tsxand update its consumer. Put shared card helpers in sibling modules so neither layout imports through the other.As per coding guidelines: “One component per file” and “The moment it's exported, it moves to its own file.”
Source: Coding guidelines
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: PostHog/posthog/.coderabbit.yaml
Review profile: QUIET
Plan: Enterprise
Run ID: 8ba31dc3-cca0-4cfc-9a18-9b7c0a6ab032
📒 Files selected for processing (35)
docs/internal/customer-analytics/account-sidebar.mdee/urls.pyfrontend/snapshots.ymlfrontend/src/initKea.tsfrontend/src/lib/constants.tsxfrontend/src/scenes/scenes.tsfrontend/src/scenes/session-recordings/SessionRecordings.tsxfrontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.stories.tsxfrontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.tsxfrontend/src/scenes/session-recordings/playlist/playlistFiltersLogic.tsfrontend/src/scenes/session-recordings/sessionReplaySceneLogic.tsfrontend/src/scenes/session-recordings/templates/SessionRecordingTemplates.tsxfrontend/src/scenes/session-recordings/templates/sessionRecordingTemplatesLogic.tsxfrontend/src/types.tsproducts/access_control/backend/presentation/role.pyproducts/access_control/backend/routes.pyproducts/access_control/backend/tests/test_role.pyproducts/access_control/backend/tests/test_role_membership.pyproducts/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/AccountExternalId.tsxproducts/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.stories.tsxproducts/customer_analytics/frontend/scenes/CustomerAnalyticsAccountScene/CustomerAnalyticsAccountScene.tsxproducts/replay/frontend/comments/ReplayComments.stories.tsxproducts/replay/frontend/comments/ReplayComments.tsxproducts/replay/frontend/comments/replayCommentsLogic.test.tsproducts/replay/frontend/comments/replayCommentsLogic.tsproducts/replay_vision/frontend/replay_scanners/ReplayScannersScene.stories.tsxproducts/replay_vision/frontend/replay_scanners/components/WatchFeedCard.tsxproducts/replay_vision/frontend/replay_scanners/components/WatchFeedTab.tsxproducts/replay_vision/frontend/replay_scanners/watchFeedLogic.test.tsproducts/replay_vision/frontend/replay_scanners/watchFeedLogic.tsproducts/ruff.tomlproducts/tasks/backend/temporal/process_task/ai_gateway_token.pyproducts/tasks/backend/temporal/process_task/tests/test_ai_gateway_token.pyproducts/tasks/backend/temporal/process_task/utils.pypyproject.toml
💤 Files with no reviewable changes (10)
- frontend/src/initKea.ts
- frontend/src/lib/constants.tsx
- products/replay/frontend/comments/ReplayComments.stories.tsx
- products/replay/frontend/comments/replayCommentsLogic.test.ts
- products/replay/frontend/comments/ReplayComments.tsx
- frontend/src/scenes/session-recordings/filters/RecordingsUniversalFiltersEmbed.stories.tsx
- frontend/src/types.ts
- products/replay/frontend/comments/replayCommentsLogic.ts
- ee/urls.py
- frontend/src/scenes/session-recordings/templates/SessionRecordingTemplates.tsx
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 3 remain after this review.
|
This pull request was created and is being managed by Trunk Merge.
This pull request is based on the master branch at SHA 3d99563a1be0535d4c0244363d3c8e3fa5aabf79.
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 110212, 108441, and 109589 - batching documentation.
Dependencies
This pull request depends on the changes from pull requests 110129 and 108396.