use new deployment trigger for temporal worker deployments
these trigger a new workflow in posthog/charts which creates a statefile
commit instead of deploying with manually set values from env vars.
the statefile commit then triggers a deploy - this means 100% of our
deployment state is codified, simplifying rollbacks and deploys
* ci: Run core backend tests with both HogQL and legacy insights
* Double the number of tests
* Fix env var setting
* Add some HOGQL_INSIGHTS_OVERRIDE overrides in tests
* Mark `Insight.last_refresh` as deprecated
* Fix bad merge
* Update query snapshots
* Update query snapshots
* Update test_team.py
* Actually remove legacy backend from matrix
* Update test_fetch_from_cache.py
* Use `update_cached_state` in `calculate_for_query_based_insight()`
* Clean up CI changes and a comment
* Fix `update_cached_state` typing
* Update test_fetch_from_cache.py
* Update test_insight_cache.py
* Update test_insight_cache.py
* Clarify `generate_insight_cache_key` as legacy function
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Revert "revert: "chore(clickhouse): Capture final SQL in Sentry errors" (#21479)"
This reverts commit 15627818f6.
* Only upgrade `clickhouse-driver` to 0.2.6
* Add "Run migrations for this PR"
* Try switching from wsgi to asgi
By default I don't believe this will change anything (everything runs
sync by default), but it will allow us to wrap e.g. clickhouse calls in
sync_to_async wrappers to stop them blocking for ages
* Trigger e2e tests
* Set env var with ASGI/WSGI info
* Fix sentry tracing sampling in ASGI
This was relying on wsgi_environ which is replaced by asgi_scope
* Remove bad headers typecast
* fix linting errors
* Try switching from wsgi to asgi
By default I don't believe this will change anything (everything runs
sync by default), but it will allow us to wrap e.g. clickhouse calls in
sync_to_async wrappers to stop them blocking for ages
* Trigger e2e tests
* Set env var with ASGI/WSGI info
* Fix sentry tracing sampling in ASGI
This was relying on wsgi_environ which is replaced by asgi_scope
* Try switching from wsgi to asgi
By default I don't believe this will change anything (everything runs
sync by default), but it will allow us to wrap e.g. clickhouse calls in
sync_to_async wrappers to stop them blocking for ages
* Trigger e2e tests
* feat: toolbar-live-activity
* Update UI snapshots for `chromium` (2)
* fangling
* Update UI snapshots for `chromium` (2)
* rename as event debugger
* fiddl
* simple list
* don't commit yalc
* Update frontend/src/toolbar/debug/EventDebugMenu.tsx
Co-authored-by: Ben White <ben@posthog.com>
* move some logic to the logic
* more logic for the logic gods
* fix filters and make it easier to see what's the extended props area
* empty state message
* stories
* name
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben White <ben@posthog.com>
* Refactor: Switch feature request template to GitHub's beta issue templates to allow pulling in debug info via URLs
Using GitHub's new issue templates, allowing us to add debug-info via url
* Update feature_request.yml
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: Marcus Hof <13001502+MarconLP@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: Marcus Hof <13001502+MarconLP@users.noreply.github.com>
---------
Co-authored-by: Marcus Hof <13001502+MarconLP@users.noreply.github.com>
Remove concurrency group from container-images-cd
This can cause deploys to be skipped if another change is merged that doesn't trigger the
same deploys. There's no harm in running this job concurrently as the triggered deploys will
still be in concurrency groups
* chore(clickhouse): Capture final SQL in Sentry errors
* Upgrade Sentry and use the `clickhouse-driver` integration
* Turn `before_send_transaction` into `error_sampler`
* Update `escape_param_for_clickhouse`
* Fix Sentry init
* Revert "Turn `before_send_transaction` into `error_sampler`"
This reverts commit 8810b49416.
* Fix order of pip installations in migration checks
* Revert "chore(CI): revert "chore: syphar is deprecated. fangle python actions…"
This reverts commit 1f2ff4ac32.
* not on depot?
* was missing a syphar removal :/
* was missing a syphar removal :/
* Update query snapshots
* back to depot
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* chore: catch bad indexes for CH migrations
* loggin instead of print
* update exit states
* include changes to ci
* add more details to logger
* git it
* checkpoint
* nicer logs
* don't use branch on ci
* handle git states more gracefully
* looking pretty good
* remove test migration
* chore: tune up the hobby deploy testing
* quick fix
* put everything in the class
* include release tag in name
* split this out into stages for GA
* test throwing ci off
* fix
* test destroy
* check env
* exit if things don't work out
* debug
* somewhat important to create the dns record here hah
* record name as well
* maybe?
* update user_data
* set dns ttl to 30 sec
* silly dns mistake
* correct DNS error