From 5028c0b28db43efa14d6e05b820a68966956ac1f Mon Sep 17 00:00:00 2001 From: Robbie Coomber Date: Wed, 11 Dec 2024 11:30:39 +0000 Subject: [PATCH 1/3] Rotate distinct id --- testcafe/helpers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testcafe/helpers.js b/testcafe/helpers.js index b1f2613cc..db634bef3 100644 --- a/testcafe/helpers.js +++ b/testcafe/helpers.js @@ -56,7 +56,10 @@ export const initPosthog = (testName, config) => { api_host: POSTHOG_API_HOST, api_key: POSTHOG_PROJECT_KEY, bootstrap: { - distinctID: 'automated-tester', // We set this to get around the ingestion delay for new distinctIDs + // We set this to get around the ingestion delay for new distinctIDs. It's not ideal, as if we have a + // lagging partition on prod then we can be blocked from merging any PRs. Until we run these tests against + // a local posthog instance, you can change this ID to change the partition. + distinctID: 'automated-tester-2', isIdentifiedID: true, }, opt_out_useragent_filter: true, From cbab1bb35b7a231e607c6a3b39adf7efb1f1e52d Mon Sep 17 00:00:00 2001 From: Robbie Coomber Date: Wed, 11 Dec 2024 11:39:05 +0000 Subject: [PATCH 2/3] Bump timeout minutes of tests --- .github/workflows/testcafe.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 7fffb7e3f..6d729b1be 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -62,5 +62,5 @@ jobs: run: pnpm testcafe ${{ matrix.browser }} --stop-on-first-fail - name: Check ${{ matrix.name }} events - timeout-minutes: 10 + timeout-minutes: 31 run: pnpm check-testcafe-results From 39a6c188cdf8412e7af1d91829bb00d1e62591cc Mon Sep 17 00:00:00 2001 From: Robbie Coomber Date: Wed, 11 Dec 2024 13:48:37 +0000 Subject: [PATCH 3/3] Bump --- testcafe/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcafe/helpers.js b/testcafe/helpers.js index db634bef3..91219a340 100644 --- a/testcafe/helpers.js +++ b/testcafe/helpers.js @@ -59,7 +59,7 @@ export const initPosthog = (testName, config) => { // We set this to get around the ingestion delay for new distinctIDs. It's not ideal, as if we have a // lagging partition on prod then we can be blocked from merging any PRs. Until we run these tests against // a local posthog instance, you can change this ID to change the partition. - distinctID: 'automated-tester-2', + distinctID: 'automated-tester-3', isIdentifiedID: true, }, opt_out_useragent_filter: true,