0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
Commit Graph

563 Commits

Author SHA1 Message Date
Brett Hoerner
e3d7fa9e49
chore: add commit hash file to the built docker image (#17833) 2023-10-06 07:28:25 -06:00
Paul D'Ambra
3c57a44411
chore: longer timeout (#17666) 2023-09-28 10:59:24 +00:00
Robbie
8955a44c54
chore(ci): Don't shame draft PRs (#17639) 2023-09-27 09:06:46 +01:00
Frank Hamand
3ef42ddd38
feat: Add docker image that uses nginx unit instead of gunicorn (#17573)
* Add docker image that uses nginx unit instead of gunicorn

🦄🔫

* Add unit build to CI

* Fix duplicate id

* try 3.11

* Only build for amd64

need python3.11 for unit image on arm
2023-09-21 16:50:19 +01:00
Paul D'Ambra
9c68581779
fix: container cd (#17570)
* fix: container cd for each sha

* fix: container cd for each sha

* fix
2023-09-21 11:39:05 +01:00
Frank Hamand
78f7d0f563
chore: Tag docker images with git sha (#17569)
Tag docker images with git sha
2023-09-21 11:12:48 +01:00
Paul D'Ambra
1de6d5c6fa
chore: throw runners at e2e CI (#17492)
* chore: throw runners at e2e CI

* add some files so we split even further

* more splitting

* more splitting
2023-09-18 13:00:03 +00:00
Paul D'Ambra
3908adb4b2
chore: make visual regression less sensitive to differences (#17455)
* chore: make visual regression less sensitive to differences

* Update UI snapshots for `chromium` (1)

* git diff only after optipng has run

* git diff only after optipng has run

* Update UI snapshots for `chromium` (1)

* Update .storybook/test-runner.ts

* text

* no need to run lint staged... we've already run optipng

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-15 11:15:43 +01:00
Jacob Gillespie
aace87d176
fix(ci): ensure container image is built before e2e tests (#17408) 2023-09-13 09:46:14 +01:00
Raquel Smith
1bcc67cc2c
chore: bump cypress timeout to 60 mins (#17355)
bump cypress timeout to 60 mins
2023-09-07 21:41:43 +00:00
Tomás Farías Santana
17c5ec1710
feat: S3 BatchExports missing features (#17233) 2023-09-01 16:19:02 +02:00
Xavier Vello
37c592495b
chore(ci): remove recording-ingestion-load-test step (#17277) 2023-09-01 10:53:50 +02:00
Michael Matloka
6b40fee757
chore: Even less BuildJet (#17249) 2023-08-30 18:45:18 +02:00
Paul D'Ambra
fdd3059c5b
chore: remove buildjet (#17247)
* chore: remove buildjet

* fix

* fix

* fix
2023-08-30 14:53:52 +02:00
Michael Matloka
c098d4b0ba
ci(vrt): Better await in a few more stories (#17244)
* ci(vrt): Better await in a few more stories

* Optimize CI concurrency

* Explain mechanics
2023-08-30 11:49:15 +02:00
Paul D'Ambra
79897e0baa
chore(ci): cypress docker pull from depot is slow on buildjet (#17228) 2023-08-29 11:00:20 +01:00
Paul D'Ambra
1fd03b04b1
chore(speed): don't run all tests in PoE and EE runs (#17223)
chore (speed): don't run all tests in PoE and EE runs
2023-08-29 08:45:42 +01:00
Michael Matloka
59d4398646
ci(vrt): Stop the snapshot madness (#17163)
* Remove redundant Playwright specs

* Increase tolerance in Playwright

* Wait for profile pictures to resolve

* Ensure scene is loaded before proceeding

* Always wait for loaders to disappear

* Disable Gravatars in snapshots

* Don't wait for loaders in more stories with loaders

* Improve resiliency of batch export story

* Fix one more loading story

* Unskip Playwright tests

* Improve inconsistencies

* Upgrade Playwright from 1.29.2 to 1.37.1

* Wait for images to load

* Unify code editors

* Properly wait for images to load

* Go back to Playwright 1.29.2

* Wait for loader selector in LemonTable stories

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-29 09:28:03 +02:00
Xavier Vello
f43fe29ec4
fix: break circular references in hub to reduce jest memory usage (#17210) 2023-08-28 11:44:49 +02:00
James Greenhill
bc05c1b8cd
fix: Move to RE2 for chainToElements (#17198)
* fix: Move to RE2 for chainToElements

* update actual plugin-server chainToElements

* sort imports

* pull RE2 regex definitions into the module

* Update ci-plugin-server.yml

* bump

* bump re2 version

* moar mem

* update pnpm lock

---------

Co-authored-by: Xavier Vello <xavier.vello@gmail.com>
Co-authored-by: Xavier Vello <xavier@posthog.com>
2023-08-25 10:05:33 -07:00
Paul D'Ambra
64583fe038
chore: use buildjet for visual regression tests (#17098)
* like this?

* run if the workflow changed

* not 2 cpu

* 4 is enough oomph
2023-08-18 22:33:21 +01:00
Paul D'Ambra
e0dc9e2dd6
chore: cypress on buildjet (#17096)
* cypress buldjet maybe

* like this?

* try it on a matrix

* on 4 cpu

* typo
2023-08-18 19:23:38 +01:00
Paul D'Ambra
e69acd047c
chore: jest on buildjet (#17095)
* chore: jest on buildjet

* try this

* maybe 8:

* no 4
2023-08-18 17:58:51 +01:00
Ellie Huxtable
ecf7a959dd
fix: Docker compose not picking up env for some reason (#17079)
Docker compose not picking up env for some reason

Will this help?
2023-08-17 15:48:15 +00:00
Ellie Huxtable
377018539d
feat: Use buildjet for ci-backend (#17069)
* ci-backend runs-on -> buildkite

* Use buildjet runners

* Go away old cache

* Fix deps

* Ensure to update the package registry

* Use bigger runners for django tests

* Use ARM for jobs with less concurrency

* Revert "Use ARM for jobs with less concurrency"

This reverts commit bcbf0d7524.

* Fix typo
2023-08-17 15:16:43 +01:00
Michael Matloka
74435d4999
fix: Clean JSON responses from NaN system-wide, with markers (#16911)
* fix: Clean JSON responses from NaN system-wide, with markers

* Fix typing

* Remove exclamations
2023-08-08 13:56:50 +02:00
Neil Kakkar
c871ad40f6
feat(flags): Move local evaluation to the read replica (#16867) 2023-08-02 11:57:51 +01:00
Paul D'Ambra
c7f5ac10a3
feat: match events locally when possible (#16811) 2023-08-01 10:05:51 +01:00
Michael Matloka
b58947101c
ci: Fix E2E CI step that runs when not needed (#16835) 2023-07-31 10:58:51 +00:00
Michael Matloka
8fd0f7a3f9
ci: Fix CI for forks (#16776)
* ci: Fix CI for forks

* Try updating snapshots on forks

* Try fixing snapshot verification instead

* Consolidate Docker-related workflows

* Run visual regression tests

* Update ci-e2e.yml

* Use fork's GHCR

* Try Depot caching approach instead of GHCR

* Lowercase reference

* Update E2E tests paths filter

* Fix permissions

* Debug .env

* Fix double checkout

* Remove obsolete release workflows

* Fix formatting

* Also run plugin server tests for good measure

* Clarify automerge job name

* Describe action inputs

* Refactor E2E workflow for clarity and comments

* Use project ID from depot.json
2023-07-28 14:23:32 +02:00
Joe Martin
d1899c6005
fix: Removing some self-hosted upgrade paths and references (#16711)
* Remove self-hosted references

* Update messages in tests too

* Update query snapshots

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: Michael Matloka <michal@matloka.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 19:44:44 +02:00
Jacob Gillespie
69b7a6578b
fix: remove cache-to: gha when using Depot (#16693)
Remove cache-to: gha when using Depot
2023-07-20 16:44:29 +01:00
Ben White
85c0b33004
feat: Rollout v2 recorder for everyone (#15790) 2023-07-20 12:00:00 +00:00
danielxnj
a2f51c2cbc
chore: Danielj/split plugins helm chart (#16612)
* Trigger plugins deployment when the folder is updated
2023-07-18 14:05:39 -04:00
Frank Hamand
0e5c356293
fix: Use new tailscale key on cleanup that doesn't need renewing (#16623)
Use new tailscale key on cleanup that doesn't need renewing
2023-07-18 13:50:21 +02:00
Paul D'Ambra
a57b22893f
chore: remove more depot build caching in GH Actions (#16621) 2023-07-18 09:28:08 +01:00
Paul D'Ambra
49728fdb28
chore: no depot cache (#16620) 2023-07-18 08:51:43 +01:00
Ben White
219e865dfa
fix: Check for plugin server tests (#16547) 2023-07-13 10:34:46 +02:00
James Greenhill
44896670b5
chore: add codeowners to control clickhouse migrations (#16536) 2023-07-12 09:56:44 -07:00
Paul D'Ambra
7d12439734
chore: plugin server test skipping (#16522) 2023-07-12 16:26:22 +01:00
Paul D'Ambra
f975ac2a7c
chore: setup plugin server CI so it can be conditional and have required tests (#16515) 2023-07-12 13:06:41 +01:00
danielxnj
319708a985
chore: Danielj/split plugins helm chart revert (#16466)
* Revert "chore: Danielj/split plugins helm chart (#16459)"

This reverts commit 27574c00a1.

* Enable workflow dispatch
2023-07-10 12:45:30 -04:00
danielxnj
27574c00a1
chore: Danielj/split plugins helm chart (#16459)
* Trigger plugins deployment when folder is updated

* Update repository dispatch

* Use digest as tag

* Remove empty line

* Create a new workflow

* Change concurrency

* Revert "Remove empty line"

This reverts commit b307c50cb0.

* Revert "Change concurrency"

This reverts commit 458597b80b.

* Revert "Create a new workflow"

This reverts commit 4e1eef73f2.

* Remove empty line

* Dummy commit to trigger deploy

* Have a digest per platform

* Revert "Have a digest per platform"

This reverts commit 8276bd20a0.

* Revert "Revert "Have a digest per platform""

This reverts commit bc6527c48f.

* Have a digest per platform

* Add meta

* Update ci workflow

* Add workflow dispatch

* Dummy commit
2023-07-10 12:18:09 -04:00
Ben White
bbb7ed9968
feat: Added recording of e2e test runs (#16046)
Marius nerd-sniped us to try this out. Recording of Cypress runs.

Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-10 15:59:30 +01:00
danielxnj
74c558d66e
chore: Revert "chore: Trigger plugins deployment when folder is updated deploy " (#16437)
Revert "chore: Trigger plugins deployment when folder is updated deploy  (#16141)"

This reverts commit 53e6b7e413.
2023-07-07 11:13:08 -04:00
danielxnj
53e6b7e413
chore: Trigger plugins deployment when folder is updated deploy (#16141)
* Trigger plugins deployment when folder is updated
2023-07-07 09:19:08 -04:00
Paul D'Ambra
1621ad956c
feat: allow disabling high water mark processing (#16399)
Problem
We're not able to play back all of the recordings captured by the blob ingester, the offset high water mark processing is new and if it isn't working correctly would lead to us skipping data we should not have

Changes
Allow us to set an environment variable that uses a no-op high-water mark processor
sneaks in removal of the no-longer-used SESSION_RECORDING_BLOB_PROCESSING_TEAMS env var
2023-07-06 10:37:06 +01:00
Xavier Vello
7453c6cd27
ci: deploy master tag on all regions (#16362) 2023-07-05 14:11:35 +02:00
Neil Kakkar
49ba716b9b
feat(decide): Move flag evaluation to read replica (#15503) 2023-07-04 11:42:37 +01:00
James Greenhill
522a08ac77
chore: bump clickhouse for local dev and ci to 23.6 (#16361)
* chore: bump clickhouse for local dev and ci to 23.6

* test to see if race condition

* it is a race
2023-07-03 19:04:57 -07:00