appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

chore: send segment anonymous id

Open eco-monk opened this issue 2 years ago • 13 comments
trafficstars

Add segment's anonymousId as a header in all API calls.

cached id -> details

On Page load actions:

  • If segment is enabled:
    • and cached id exists -> trigger with cached id
    • if cached id doesn’t exist, we wait for max 2 seconds.
      • if segment init is success -> trigger with anonymous id
      • if failed/delayed -> trigger without anonymous id
  • If segment is disabled we don’t wait at all and anonymous id is not sent.

eco-monk avatar Dec 22 '22 04:12 eco-monk

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
appsmith ✅ Ready (Inspect) Visit Preview Jan 6, 2023 at 9:42AM (UTC)

vercel[bot] avatar Dec 22 '22 04:12 vercel[bot]

/perf-test Just testing perf infra

SatishGandham avatar Dec 23 '22 04:12 SatishGandham

/ok-to-test sha=657cdb8

eco-monk avatar Dec 30 '22 06:12 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3805263953. Workflow: Appsmith External Integration Test Workflow. Commit: 657cdb8. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3805263953_1

github-actions[bot] avatar Dec 30 '22 06:12 github-actions[bot]

The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitSync/RepoLimitExceededErrorModal_spec.js

github-actions[bot] avatar Dec 30 '22 07:12 github-actions[bot]

/ok-to-test sha=6682a3b

eco-monk avatar Jan 04 '23 14:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3839046257. Workflow: Appsmith External Integration Test Workflow. Commit: 6682a3b. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3839046257_1

github-actions[bot] avatar Jan 04 '23 14:01 github-actions[bot]

/ok-to-test sha=2f98936

eco-monk avatar Jan 04 '23 15:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3839123631. Workflow: Appsmith External Integration Test Workflow. Commit: 2f98936. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3839123631_1

github-actions[bot] avatar Jan 04 '23 15:01 github-actions[bot]

The following are new failures, please fix them before merging the PR

github-actions[bot] avatar Jan 04 '23 15:01 github-actions[bot]

/ok-to-test sha=42d5fa8

eco-monk avatar Jan 04 '23 16:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3839598244. Workflow: Appsmith External Integration Test Workflow. Commit: 42d5fa8. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3839598244_1

github-actions[bot] avatar Jan 04 '23 16:01 github-actions[bot]

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3839598244. Workflow: Appsmith External Integration Test Workflow. Commit: 42d5fa8. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3839598244_3

github-actions[bot] avatar Jan 04 '23 23:01 github-actions[bot]

Thanks @hetunandu.! Will keep the logs for now, to test this. Will remove once done.

eco-monk avatar Jan 05 '23 10:01 eco-monk

/ok-to-test sha=9a6ec56

eco-monk avatar Jan 05 '23 10:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3845964985. Workflow: Appsmith External Integration Test Workflow. Commit: 9a6ec56. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3845964985_1

github-actions[bot] avatar Jan 05 '23 10:01 github-actions[bot]

/ok-to-test sha=865d371

eco-monk avatar Jan 05 '23 12:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3846697190. Workflow: Appsmith External Integration Test Workflow. Commit: 865d371. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3846697190_1

github-actions[bot] avatar Jan 05 '23 12:01 github-actions[bot]

/ok-to-test sha=ac22c86

eco-monk avatar Jan 06 '23 08:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3853752935. Workflow: Appsmith External Integration Test Workflow. Commit: ac22c86. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3853752935_1

github-actions[bot] avatar Jan 06 '23 08:01 github-actions[bot]

/ok-to-test sha=96925cd

eco-monk avatar Jan 06 '23 09:01 eco-monk

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3854196455. Workflow: Appsmith External Integration Test Workflow. Commit: 96925cd. PR: 19122. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=19122&runId=3854196455_1

github-actions[bot] avatar Jan 06 '23 09:01 github-actions[bot]

The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ClientSideTests/BugTests/Autocomplete_JS_spec.ts cypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/Templates/Fork_Template_To_App_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/VisualTests/DatasourcePageLayout_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/VisualTests/WidgetsLayout_spec.js cypress/integration/Smoke_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts

github-actions[bot] avatar Jan 06 '23 11:01 github-actions[bot]

The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/Refactoring/Refactoring_spec.ts

github-actions[bot] avatar Jan 06 '23 11:01 github-actions[bot]

The following are new failures, please fix them before merging the PR

github-actions[bot] avatar Jan 06 '23 12:01 github-actions[bot]