* sketch the interaction
* correct field type
* explode a filter to steps of day length
* write to object storage maybe
* very shonky storing of gzipped files
* doesn't need an export type
* mark export type choices as deprecated
* order methods
* stage to temporary file
* can manually export the uncompressed content
* shonkily export as a csv
* wip
* with test for requesting the export
* with polling test for the API
* put existing broken CSV download back before implementing UI change
* open api change
* even more waffle
* less passive waffle
* sometimes less specific is more correct
* refactor looping
* okay snapshots
* remove unused exception variable
* fix mocks
* Update snapshots
* Update snapshots
* lift storage location to the exported asset model
* split the export tasks
* improve the temp file usage in csv exporter
* delete the test files we're creating
* add a commit to try and trigger github actions
Co-authored-by: pauldambra <pauldambra@users.noreply.github.com>
* chore(plugin-server): Consume from buffer topic
* Refactor `posthog` extension for buffering
* Properly form `bufferEvent` and don't throw error
* Add E2E test
* Test buffer more end-to-end and properly
* Put buffer-enabled test in a separate file
* Update each-batch.test.ts
* Test that the event goes through the buffer topic
* Fix formatting
* Refactor out `spyOnKafka()`
* Ensure reliability batching-wise
* Send heartbeats every so often
* Make test less flaky
* Commit offsets if necessary before sleep too
* Update tests
* Use seek-based mechanism (with KafkaJS 2.0.2)
* Add comment to clarify seeking
* Update each-batch.test.ts
* Make minor improvements
* chore(dockerfile): make docker build multistage
The built image is >4GB uncompressed atm, I'm pretty sure there is a lot
of cruft.
Plan is to split out the django, frontend, plugin-server builds and
hopefully get some gains in there to not include build deps.
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix dockerfile lints
* cache from branch
* add load :true
* Update production.Dockerfile
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* Update production.Dockerfile
* update to use compressed size from remote repo
* tag with branch and sha
* add ref on pull_request events
* install python
* be a bit more lax with python version
* fix image size calc
* hardcode lower case image name
* use @
* only add sha on master branch, add master tag on master
* chore: use docker image in e2e tests
This is to try to add some guarantees to the docker image without having
to manually test it, so we can be a bit more aggressive with
improvements without, e.g. having to push to the playground or run
locally.
* wip
* add to summary
* wip
* chore: put cypress tests after docker build
I couldn't figure out a way to get workflow_run to run without merging
in, so I'm just putting after the build.
* wip
* wip
* wip
* remove quotes
* remove separate cypress install
* wip
* wip
* wip
* add gunicorn.config.py
* ci: run docker image build on master as well
This way we get the caching from the master build.
* wip
* wip
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* feat(persons-on-events): add person and groups created_at to events schema
* fixes
* fix group created at default
* fix
* remove ch replicated check
* update snapshots
* feat: Improve Slack dropdown
* Fixed loading state of Editor
* Swapped to skeleton placeholder
* Removed placeholder
* Improved even further to show more actionable message only if the App is not in the right channel
* ci: Test CI from forks
* Update code to run all checks
* Update snapshots without using PostHog Bot
* Update workflows
* Update workflows more
* Use `default_author: github_actor`
* Don't update snapshots on forks
* Update action.yml
* Update snapshot update conditions
* Update action.yml
* Update action.yml
* Revert "ci: Test CI from forks"
This reverts commit 916932c08c.
* Revert "Update code to run all checks"
This reverts commit 17bece2f0f.
* Improve comments and fix FOSS case
* Clarify step name
* See what happens accessing step that didn't run
* Unify condition
* Fix bad YAML
* Remove extra parens
* Fix bad YAML again
* Enable snapshot updating for FOSS tests
* Update comments
* first take
* add columns
* replace actions with events
* all actions to events
* attempt to add backend tests
* create merged event_definition and action sql
* rename calculated events to events and events to raw events
* remove all frontend changes
* reformat
* flake
* Revert "remove all frontend changes"
This reverts commit ccae916ed1.
* add action fields
* edge cases
* fossify
* bring where conditions into subquery
* bring order into query
* revert organization
* ci
* fix: remove enterpriseeventdefinition and enterprisepropertydefintion from barrel file to be foss compatible
* unfossify
* imports
* fix imports
* fix tests
* fix wrong test case
* mypy
* fix tests
* fix mypy
* prettify
* fix mounting order of logics
* address feedback and fix action ordering bug
Co-authored-by: eric <eeoneric@gmail.com>
This sends along all the github actions context data to any workflows
listening on the deploy_app_version event, such that we can, e.g.
include this data in notification messages to slack on deploy.