From f6ed2c9afcbf8879261440c0998e21d6210eecc8 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Mon, 10 Jun 2024 15:48:15 +0100 Subject: [PATCH 1/2] Enable DataDog test instrumentation. --- .github/workflows/budibase_ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 7f1e08601a..eb11627758 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -179,6 +179,13 @@ jobs: - run: yarn --frozen-lockfile - name: Test server + env: + DD_CIVISIBILITY_AGENTLESS_ENABLED: true + DD_API_KEY: "${{ secrets.DATADOG_API_KEY }}" + DD_SITE: "datadoghq.eu" + NODE_OPTIONS: "-r dd-trace/ci/init" + DD_ENV: "ci" + DD_SERVICE: "budibase/packages/server" run: | if ${{ env.USE_NX_AFFECTED }}; then yarn test --scope=@budibase/server --since=${{ env.NX_BASE_BRANCH }} From 13ec629109cc9bdb52543777e099195275726eed Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Mon, 10 Jun 2024 15:50:04 +0100 Subject: [PATCH 2/2] Trigger server tests. --- packages/server/src/api/routes/tests/row.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/api/routes/tests/row.spec.ts b/packages/server/src/api/routes/tests/row.spec.ts index 3ded61207e..428cfb3128 100644 --- a/packages/server/src/api/routes/tests/row.spec.ts +++ b/packages/server/src/api/routes/tests/row.spec.ts @@ -1683,3 +1683,5 @@ describe.each([ }) }) }) + +// todo: remove me