0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
Commit Graph

466 Commits

Author SHA1 Message Date
Marius Andra
4b44cba6fe
feat(hogql): local evaluation (HogVM part 2) (#16275) 2023-06-28 17:23:22 +02:00
Marius Andra
42bbc5a94d
feat(hogql): bunch of improvements (HogVM part 1) (#16274) 2023-06-28 10:55:58 +02:00
Frank Hamand
6ef4dfc280
fix: Disable buildx fallback for depot build as it's too slow to be useful (#16223) 2023-06-26 11:23:07 +02:00
Xavier Vello
ffe14c75e7
chore(ci): push vanilla posthog image to ECR (#16156) 2023-06-21 14:49:56 +02:00
Xavier Vello
3414f8ebbc
chore(ingestion): re-introduce rdkafka consumer alongside kafkajs (#16048) 2023-06-20 14:29:26 +02:00
Ben White
8deaf4e8ea
feat: Swapped to use KAFKA_HOSTS everywhere (#16109)
* Swapped to use KAFKA_HOSTS everywhere

* Fixed up type of kafka config options and setup separate kafka hosts for blob consumer

* allow session recordings to have its own kafka security protocol

* remove slash commands from this pr

* syntax must be obeyed

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix

* Update query snapshots

* no empty strings in kafka hosts

* fix snapshot

* fix test

---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-19 12:15:17 +01:00
Ben White
27b75226b0
feat: Completely separate ingestion for replay events (#16024)
---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-15 14:13:28 +01:00
Harry Waye
b9d45de99a
ci(temporal): add logging to backend tests for docker compose (#16072)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-15 12:52:33 +02:00
Ben White
4783dec288
chore: Step 1 to remove posthog-cloud repo (#15898) 2023-06-15 10:33:19 +02:00
Harry Waye
b761a34b23
ci: fix waiting for temporal to be up in backend tests (#16039)
* ci: fix waiting for temporal to be up in backend tests

I think it got merged before because we weren't running the backend
tests on these script changes so I've also added them to the list of
paths to watch for changes.

* increase timeout to 180 seconds
2023-06-14 06:07:49 +00:00
Michael Matloka
b20b16ad6e
ci: Try to fix sync with posthog-foss v2 (#15700)
* Try a different fix

* Test on PR

* Fix commit SHA

* Hard-code commit ref

* Update `EndBug/add-and-commit`

* Don't run on PRs

This was just for testing.

* Use v3 of PostHog/git-sync
2023-06-13 19:11:08 +02:00
Michael Matloka
2f83622dd2
ci: Always cancel previous runs, except for snapshot updates (#15981) 2023-06-13 12:36:02 +02:00
Frank Hamand
077b7e58a4
fix: Use tailscale oauth secret instead of authkey (#15977)
Use tailscale oauth secret instead of authkey

Authkeys expire every 90 days, use an oauth secret instead which don't
expire
2023-06-09 13:40:34 +01:00
Neil Kakkar
9fb1aa7295
feat(usage-report): Add decide usage report (#15956) 2023-06-09 11:04:04 +01:00
Tiina Turban
a30574e53e
fix: GIT SHA label for posthog cloud (#15955) 2023-06-08 14:16:57 +02:00
James Greenhill
81d8c2134e
chore: revert back to default runners for GitHub Actions (#15950) 2023-06-07 16:14:58 -07:00
Xavier Vello
ede61a91ac
Revert "chore(cd): merge image CD steps, push posthog image to ECR" (#15939) 2023-06-07 15:05:21 +02:00
Xavier Vello
ab504be2df
chore(cd): merge image CD steps, push posthog image to ECR (#15918) 2023-06-07 14:59:03 +02:00
Paul D'Ambra
f3f3fa6a08
fix: there is a fine line between optimising and breaking (#15931)
* fix: there is a fine line between optimising and breaking

* fix

* Fix

* fix
2023-06-07 01:57:22 +01:00
James Greenhill
a2b88e66f1
chore: Remove ClickHouse 22.8 and settle on 23.4.2.11 (#15929)
* chore: Remove ClickHouse 22.8 and settle on 23.4.2.11

* snuck a ci change in there - removed

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* adjust service version requirements for clickhouse

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-06 16:40:24 -07:00
James Greenhill
cb7b1082be
chore: split tests onto their own dedicated GitHub runners (#15919) 2023-06-06 10:01:49 -07:00
Xavier Vello
93c8492656
Revert "chore(cd): merge image CD steps, push posthog image to ECR" (#15916) 2023-06-06 18:11:14 +02:00
Xavier Vello
c72b288a57
chore(cd): merge image CD steps, push posthog image to ECR (#15909) 2023-06-06 15:59:19 +02:00
Harry Waye
ac1d3e7b52
feat(batch_exports): add backend API and S3 temporal workflow (#15649)
* feat(batch_exports): add backend API and S3 temporal workflow

This adds the backend API for batch exports, which will handle reverse
ETL exports to e.g. S3, Snowflake etc.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 17:05:37 +01:00
Michael Matloka
adbffe3584
test(vrt): Disable Firefox snapshots (#15846) 2023-06-01 14:33:21 +00:00
Paul D'Ambra
8caad1b63f
chore: run cypress if front end dependencies might have changed (#15811) 2023-05-31 14:08:33 +00:00
Marius Andra
e23d4f562e
feat(hogql): window functions (#15132) 2023-05-31 12:53:31 +02:00
Paul D'Ambra
87a1bbb610
chore: skip even more hwen skipping e2e ci (#15797) 2023-05-30 18:47:02 +01:00
Paul D'Ambra
2a586d3804
chore: conditionally skip E2E CI items but working (#15794) 2023-05-30 17:21:57 +01:00
Michael Matloka
d2c43854ac
fix(insights): Fix property filter group and expression UI (#15758)
* fix(insights): Fix property filter group and expression UI

* Add insight editor UI snapshots

* Restore divider

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Fix gap issues

* Fix specific step attribution UX

* Increase Node memory limit for UI snapshots

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 18:02:57 +02:00
Michael Matloka
47669ac94a
ci: Commit query snapshot updates all at once (#15757) 2023-05-30 15:01:29 +02:00
Paul D'Ambra
0e1bc77216
chore: don't wait for e2e tests if only changing the plugin server (#15671)
If you only change the plugin server you spend a long time waiting for e2e CI to run.

It doesn't use the plugin server (I don't think)

So, don't run it...
2023-05-30 09:55:18 +01:00
Xavier Vello
d389cf0ead
chore(ingestion): remove old batching code (#15689) 2023-05-25 09:58:55 +02:00
Michael Matloka
5aa237a534
ci: Try to fix sync with posthog-foss (#15698) 2023-05-24 16:19:29 +01:00
Michael Matloka
82093b607e
ci: Fix GHCR path (#15670) 2023-05-23 13:12:16 +01:00
Komal
57de4acc4b
fix: Show Cohort name instead of id in pie and horizontal bar chart (#15590)
* Show Cohort name instead of id in pie and horizontal bar chart

* Try to use fork's GHCR

* Don't run OptiPNG if not needed

* Fix fork detection

* Revert workflow changes

This didn't really work.

---------

Co-authored-by: Michael Matloka <dev@twixes.com>
2023-05-23 12:14:46 +01:00
Xavier Vello
2f27f43406
perf(ingestion): port overflow logic into eachBatchParallelIngestion (#15621) 2023-05-19 16:37:27 +02:00
James Greenhill
9e5b92e7d8
feat: bump clickhouse version to 23.4 for really exciting features (#15574)
* feature: bump clickhouse version to 23.4 for really exciting features

* remove default for kafka table

* Update query snapshots

* don't use defaults on kafka tables

* Update query snapshots

* clickhouse formatDateTime string has changed

* run both 22.8 and 23.4 for now

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-17 11:00:08 -07:00
Paul D'Ambra
6a4eddc77a
chore: re-enable docker image wait (#15490) 2023-05-11 10:57:58 +00:00
Paul D'Ambra
9305651289
chore: worrying at what is happening (#15479)
* chore: worrying at why the blob ingester gets unhappy

* log when file deletion succeeds

* can you wait for e2e ci step without a specified build name

* wait on build posthog cloud?

* disable the step for now

* rugh
2023-05-11 10:57:39 +01:00
Paul D'Ambra
5efd14441e
chore: upgrade drf (#15433) 2023-05-10 09:37:53 +01:00
Xavier Vello
2cbdc1e044
fix(ci): run e2e hobby on more PRs (#15456) 2023-05-09 16:20:11 +00:00
Paul D'Ambra
b8d49ea0ff
chore: do not run e2e ci on push to master (#15428)
* chore: do not run e2e ci on push to master

* does it have to have a check-name
2023-05-09 16:58:06 +01:00
Paul D'Ambra
067d73cb4f
feat: write recording summary events (#15245)
Problem
see #15200 (comment)

When we store session recording events we materialize a lot of information using the snapshot data column.

We'll soon not be storing the snapshot data so won't be able to use that to materialize that information, so we need to capture it earlier in the pipeline. Since this is only used for searching for/summarizing recordings we don't need to store every event.

Changes
We'll push a summary event to a new kafka topic during ingestion. ClickHouse can ingest from that topic into an aggregating merge tree table. So that we store (in theory, although not in practice) only one row per session.

add config to turn this on and off by team in plugin server
add code behind that to write session recording summary events to a new topic in kafka
add ClickHouse tables to ingest and aggregate those summary events
2023-05-09 14:41:16 +00:00
Michael Matloka
4f9c9e7a72
chore(support): Improve bug/feedback/support modal experience (#15312)
* Use proper beta tag for sampling

* Auto scroll to selected item in menu

* Revamp support modal

* Add file uploads

* Fix modal footer alignment

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update toast message

* Update kea-typegen to fix logic type

* Update frontend/src/lib/components/Support/supportLogic.ts

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Try to fix pnpm cache in CI

* Fix typing

* Refactor away nonsense selectors in `experimentsLogic`

* Refactor away more selectors with empty deps

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tiina Turban <tiina303@gmail.com>
2023-05-04 13:32:52 +02:00
Xavier Vello
c4cd48b403
chore: upgrade pnpm to 8.3.1 (#15273) 2023-04-28 11:35:58 +02:00
Paul D'Ambra
b75d560a55
fix: SESSION_RECORDING_BLOB_PROCESSING_TEAMS config handling (#15247)
* correct comment

* correct usage of enabled teams config

* turn on SESSION_RECORDING_BLOB_PROCESSING_TEAMS for all teams in CI

* skip failing tests
2023-04-26 13:23:31 +01:00
Tomás Farías Santana
c641f0270b
fix: Update packaging dependency and pin prance (#15228)
https://twitter.com/pauldambra/status/1650845189848571904
2023-04-25 13:27:59 +00:00
Ben White
fdb2c71a39
feat: S3 backed recording ingestion (take 2) (#14864) 2023-04-25 09:43:07 +00:00
Ben White
d9dfff1469
fix: webdriver missing dependency (#15222) 2023-04-25 08:46:16 +00:00