Skip to content

chore(ssi): move SSI tests to node 22#7271

Open
pabloerhard wants to merge 8 commits into
mainfrom
pabloerhard/nodejs-node22
Open

chore(ssi): move SSI tests to node 22#7271
pabloerhard wants to merge 8 commits into
mainfrom
pabloerhard/nodejs-node22

Conversation

@pabloerhard

@pabloerhard pabloerhard commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Motivation

dd-trace-js now requires Node.js 22+, but several SSI jobs were still provisioning Node 18/20 runtimes. This caused supported SSI scenarios to run an incompatible tracer/runtime combination and fail before traces reached the backend.

Changes

  • Updated supported AWS SSI Node.js weblogs to provision Node 22.
  • Updated Docker SSI Node.js expectations so v6+ tracers require Node 22, while older tracer majors keep the previous Node 17 floor. These will allow keeping support while the changes in the datadog-agent land and get released.
  • Kept older Node versions available for unsupported/runtime-compatibility coverage.
  • Bumped SSI dev/staging JS library override from major 6 to 7.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/docker_ssi/test_docker_ssi.py                                     @DataDog/injection-platform
tests/docker_ssi/test_docker_ssi_appsec.py                              @DataDog/injection-platform
tests/docker_ssi/test_docker_ssi_crash.py                               @DataDog/injection-platform
utils/build/ssi/base/install_script_ssi.sh                              @DataDog/system-tests-core
utils/build/virtual_machine/provisions/auto-inject/auto-inject_installer_manual.yml  @DataDog/system-tests-core
utils/build/virtual_machine/provisions/auto-inject/repositories/autoinstall/execute_install_script.sh  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/provision_test-app-nodejs-alpine.yml  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/provision_test-app-nodejs-container.yml  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/provision_test-app-nodejs-esm.yml  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/provision_test-app-nodejs.yml  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/test-app-nodejs-container/Dockerfile.template  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/test-app-nodejs-esm/Dockerfile.node  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/test-app-nodejs-esm/docker-compose.yml  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/test-app-nodejs-esm/nginx.conf  @DataDog/system-tests-core
utils/build/virtual_machine/weblogs/nodejs/test-app-nodejs-esm/Dockerfile.node22  @DataDog/system-tests-core

@datadog-official

datadog-official Bot commented Jul 6, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

Testing the test | System Tests (python, dev) / End-to-end #1 / uwsgi-poc 1   View in Datadog   GitHub Actions

🧪 1 Test failed

tests.test_telemetry.Test_Telemetry.test_app_heartbeats_delays[uwsgi-poc] from system_tests_suite   View in Datadog
AssertionError: Heartbeat sent too fast: 1.003845s. It should be sent every 2s
assert 1.003845 > 1.5

self = <tests.test_telemetry.Test_Telemetry object at 0x7f2ef17e1100>

    @features.telemetry_heart_beat_collected
    def test_app_heartbeats_delays(self):
        """Check for telemetry heartbeat are not sent too fast/slow, regarding DD_TELEMETRY_HEARTBEAT_INTERVAL
        There are a lot of reason for individual heartbeats to be sent too slow/fast, and the subsequent ones
        to be sent too fast/slow so the RFC says that it must not drift. So we will check the average delay
...

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b09fa27 | Docs | Datadog PR Page | Give us feedback!

@pabloerhard pabloerhard changed the title move SSI tests to node 22 chore(ssi): move SSI tests to node 22 Jul 6, 2026
@pabloerhard pabloerhard marked this pull request as ready for review July 6, 2026 20:57
@pabloerhard pabloerhard requested review from a team as code owners July 6, 2026 20:57

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c7c9f91c3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants