trunk-merge/pr-108162/1d6dd547-beb0-4a6d-a92a-4c724de0977f - #111089
Closed
trunk-io[bot] wants to merge 54 commits into
Closed
trunk-io[bot] wants to merge 54 commits into
trunk-io[bot] wants to merge 54 commits into
Conversation
TestValidateAIRunPreferences and TestRunCreateSerializerModeWithoutAdapter assert only local validation, so they move to a database-free module. TestRunCreateSerializerModeWithoutAdapter drops its unused APIBaseTest base. Generated-By: PostHog Desktop Task-Id: 94d388a3-1135-4b76-9501-fc5409164abe
TestRunCreateSerializerModeWithoutAdapter no longer inherits a database base class, so the repo invariant no longer scans it as a candidate. Generated-By: PostHog Desktop Task-Id: 94d388a3-1135-4b76-9501-fc5409164abe
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
The materialization eligibility check reads the version's team for the compare-mode flag. The endpoint and version list querysets did not load that relation, so each unmaterialized row ran one extra query. Select the team with the saved query, and run the list query-count tests for unmaterialized versions too. Generated-By: PostHog Desktop Task-Id: 33e1a67e-86fe-41e4-abd8-8cdea0bc16b9
The materialization preview resolved the materialized view with no user. With warehouse access control on, a userless database denies every warehouse view, so the preview returned no execution query. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…version goal Put goals and session replay side by side, swap the geography and error tracking spots, and stop hiding error tracking, retention, goals, replay and frustrating pages when a conversion goal is selected. Generated-By: PostHog Desktop Task-Id: abbf5513-e42d-4241-834e-06d9282bab9b
Only the v2 grid packs densely, so a one-column geography tile left an empty gap on wide screens with the old tile header. Generated-By: PostHog Desktop Task-Id: abbf5513-e42d-4241-834e-06d9282bab9b
At half width on the two-column grid, the goals tile is too narrow. Goals and replay now each use the full row at md, and stay side by side at 2xl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: abbf5513-e42d-4241-834e-06d9282bab9b
… goal The error tracking query reused the replay filter group, which carries the conversion goal as an action or event filter. Now that the tile stays visible with a goal, that silently narrowed the errors it showed. Build its filter group from the property filters only, and add a regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: abbf5513-e42d-4241-834e-06d9282bab9b
6 updated Run: b9029439-7b7a-44c7-b27c-d43be3aab2b6 Co-authored-by: mjwarren3 <37048138+mjwarren3@users.noreply.github.com>
…test Replace the disallowed toBeDefined assertion with toBeTruthy, and mock posthog.setPersonProperties in the block's setup so the test passes when it runs alone, not only after the compare filter block. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: abbf5513-e42d-4241-834e-06d9282bab9b
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
Generated-By: PostHog Desktop Task-Id: dfd25ee9-6919-4a87-a234-52175025275c
…kdown test The standalone test added one more outside test driving product_analytics' query runners, which raised the model_crossing_uses baseline count and failed the repo invariant. Asserting the limit context on the existing materialized insight test keeps the count flat and covers the same regression. Generated-By: PostHog Desktop Task-Id: 7b226002-e454-4cd6-a37b-274f646f3489
…eads Serving re-checks `can_materialize()` on every read, so the compare parity test has to hold the rollout flag for the materialized read too — otherwise the read falls back inline and the response carries no resolved compare date range. `can_materialize_query` now evaluates the flag only when the query actually asks for compare, keeping it off the read path of ordinary trends endpoints. Generated-By: PostHog Desktop Task-Id: 7b226002-e454-4cd6-a37b-274f646f3489
2 updated Run: fda13555-5838-4378-b645-052699768e41 Co-authored-by: mariusandra <53387+mariusandra@users.noreply.github.com>
Generated-By: PostHog Desktop Task-Id: 7b226002-e454-4cd6-a37b-274f646f3489
The execution query preview is display-only text for the endpoint's own materialized view and reads no rows, so it prints with the warehouse bypass instead of a user-scoped context. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ference-tests-from-098275 Generated-By: PostHog Desktop Task-Id: 591c4710-06f3-40d4-9de8-2f95d917f5c2
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
LivestreamAuthentication now inherits ActivityCredentialMixin and declares the internal_jwt credential type. The repo invariant requires this of every authentication class. Generated-By: PostHog Desktop Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
The live stream authorization endpoint now applies verified-domain enforcement to the token's organization. A member whose email is outside the verified domains loses the stream at the next periodic check, the same as on every other API view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
Generated-By: PostHog Desktop Task-Id: 160dfc49-dceb-4887-b9f5-a93b2da017ed
A team or project whose stored conversations_settings predates the object/null
validation can hold a stray array or scalar. Sending a valid object update
unpacked that value with `{**stored, **new}` and raised a 500. Treat a
non-dict stored value as empty before merging or diffing it, in both update
paths and the shared change-reporting helper.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated-By: PostHog Desktop
Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
Move the legacy non-object conversations_settings check into one helper. The team update, project update and change reporting paths now share it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
A stored list, string or int in conversations_settings made a PATCH with conversations_enabled fail with a 500. The token handler read the raw value with .get() and dict(). It now uses the same dict coercion as the merge path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
Enabling conversations through product_enablement ran dict() on the stored value. A legacy string or int made it fail with a 500 before the save. It now uses the shared dict coercion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Generated-By: PostHog Desktop Task-Id: c1760719-6011-4fd3-8a6c-96837fac0085
trunk-io
Bot
deleted the
trunk-merge/pr-108162/1d6dd547-beb0-4a6d-a92a-4c724de0977f
branch
October 2, 2026 19:25
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was created and is being managed by Trunk Merge.
This pull request is based on the master branch at SHA ff2ef488281784274ee89920cac25a8ac98da481.
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 108162, stacked on pull requests 108135 and 108161.
Dependencies
This pull request depends on the changes from pull requests 103604, 110759, 111013, 111035, 105242, and 110846.