* fix(insights): HogQL calculation of saved legacy insights v2
This reverts commit a6314c6bb7.
* Only use cached results in `process_query` for insight serializer
* Fix type of results
* Rename `RecalculationMode` to `ExecutionMode`
* Fix typing more
* Properly support dashboard filters
* Hacky fix for schema.py
* Don't test legacy `generate_insight_cache_key` with `query`
* Fix importing & typing
* Fix typo
* Update test_query_runner.py
* Account for property filter groups in dashboard filters
* Do return stale result in CACHE_ONLY case
* Fix `execute_hogql_query` espionage
Wow, this was a pain to figure out, only was an issue in CI, because the trigger was `TestCohort::test_creating_update_and_calculating_with_new_cohort_query` running prior to `TestInsight:: test_insight_refreshing_query` – had to use trial and error.
* Fix typing even more
* Don't require `pnpm` for `schema:build:python`
Matters in CI.
* Fix `schema:build:python`
* Fix sed usage
* Move `schema:build:python` to a bash script
* Validate cache properly
Clarifies the `cached_response.is_cached = True` situation.
* Fix Python formatting
* Update UI snapshots for `webkit` (2)
* Add test to ensure /query/ and /inisghts/ use the same cache
* Update mypy-baseline.txt
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* chore: restore person location to replay list
* country tooltip
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* feat: Send email notifications on failure
* feat: Cap number of emails to one per day
* fix: Typing errors
* fix: Add email template
* fix: Only send an email in non-retryable failures
* fix: Add timezone to time in email
* feat: Pause batch export on reaching failure threshold (#21641)
* feat: Pause batch export on reaching failure threshold
* fix: Pause only on non-retryable failures
* refactor: Raise an exception on invalid check_window / failure_threshold
* Consolidate `PersonOnEventsMode` and `PersonsOnEventsMode`
* Fix multi-line imports too
* Fix member casing
* Fix typing
* Fix some more and update baseline
* Fix `PersonsOnEventsMode` member capitalization
Reduce nginx unit request limit to 7.5k
50k was very high, taking over 5 hours even at busy times to reach this
Reduce it to 7.5k which should stop our memory usage creeping up constantly
when we aren't deploying
* Change lazy session fields to match property names
* Update where clause extractor and tests
* Fix session breakdowns
* Fix session channel type tests
* Add session scope, but throw if used
* Update query snapshots
* Fix some other places that use the old name for duration
* Fix test_properties_chain_session
* Fix session rpoperty chain
* Fix web overview query
* Fix scope warning
* Fix error message string test
* Update query snapshots
* Add duration as an alias of $session_duration
* Remove duplicates after rebase
* Add tests for sessionwhereclauseextractor on a subtable
* Update query snapshots
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
allow asgi/wsgi to be configurable by env var
This will let us roll out asgi separate across services as we had
issues with our recordings capture pods on asgi