* fix: remove data tooltip and improve prompts rules
* fix test fixtures
* simplify expression
* fix cypress
* add cache prefix
* Update frontend/src/lib/components/LemonButton/More.tsx
Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* feat(data-management): add custom events list
* remove dead code
* fix test
* assert what matters
* this seems flakey, even locally, though the interface shows the right data locally... testing a timeout
* remove the need to double check $event === $event from the db
* remove eventDefinitionsModel
* new script
* fix test
* it does not do this anymore
* fix: no need to import all of toastify css
* fix: toolbar toast relies on variables being attched to :host
* no need to override more toast styles. handled by lemon toast
* no need to override more toast styles. handled by lemon toast
* feat(data-management): add custom events list
* remove dead code
* fix test
* assert what matters
* this seems flakey, even locally, though the interface shows the right data locally... testing a timeout
* new script
* fix test
* remove frontend changes (PR incoming)
* describe meaning behind symbols
We already push the assets prior to deploying to EKS. These assets were
being used by the ECS posthog-web deployment and as such are not
relevent any more.
Should save a little bit of time on deploy.
* fix(plugin-server): don't fetch timestamp boundaries on plugin-server boot
Historical exports use timestamp boundaries (queried from CH) to decide
what date range to export.
We were over-eager fetching this data, causing every async
plugin-servers every thread to call this query every deploy/restart,
causing issues with overloading clickhouse with queries and slowing down
the startup of plugins.
Since June 21st this year, we've done around 2M such queries.
This fixes that issue by only fetching the date ranges when they're used
as someone kicks off a historic export from the UI.
* Add query tag to clickhouse query
* chore(historical-exports): Dont call exportEvents if no events to export
* Make historical export logging more accurate
* Give a progress percentage for export
* Only log & exportEvents if there is events to export
* Track voided promises
* Add more typing to vm upgrade
* Add first test for upgrades
* Test setupPlugin()
* fix: show user first name on plugins activity log
* add tests to (try and) stop this breaking in future
Co-authored-by: Paul D'Ambra <paul@posthog.com>
* chore(docker): add cloud Dockerfile and pr build workflow
Previously we were using a completely separate image. Instead I'm
extending the general available image to add in the bits we need for
production.
* wip
* wip
* wip
* wip
* hardcode
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* only on internal PRs
* WIP
* load property definitions on the fly
* batch fetching, clean up selectors
* cleanup
* cleanup
* test property loading
* remove log
* merge two similar functions
* update comment
* use api builder
* don't use temp var
* ci(docker): push docker image on push events
This way we'll get the master image in the registry and it's layers
available for caching on PRs.
At the moment PRs will have a long initial build always.
* typo
* fly by style removal
* allow not using URL for sorting lemon table
* change all in one place
* use edit mode not insight is new
* use edit mode not insight is new
It looks like the plugin-server isn't shutting down cleanly, from
looking at the logs. They abruptly stop.
We have a trap to pick kill the yarn command on EXIT, however, yarn v1
doesn't propagate SIGTERM to subprocesses, hence node never recieves it.
Separately it looks like the shutdown ends up being called multiple
times which results in a force shutdown. I'm not entirely sure what is
going on here but I'll leave that to another PR.
0006 async migration keeps getting marked as `complete` during deploys
since is_required would return false.
This is a cloud-specific problem but allows us to work around this issue
as we figure out what to do with is_required.