Skip to content

[SVLS-8350] Bump datadog-ci version and improve integration tests - #222

Merged
TalUsvyatsky merged 3 commits into
prodfrom
tal.usvyatsky/bump-datadog-ci-5.4.0
Jan 23, 2026
Merged

TalUsvyatsky merged 3 commits into
prodfrom
tal.usvyatsky/bump-datadog-ci-5.4.0

Conversation

@TalUsvyatsky

@TalUsvyatsky TalUsvyatsky commented Jan 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR updates the version of datadog-ci and AWS SDKs. Bumping datadog-ci:

  • Pulls in support for newer runtimes (e.g. .NET 10)
  • Requires a small change to pass "none" for layer versions when they're not specified in config

This PR also updates integration tests to:

  • Properly check for .NET, Ruby, and Java layers
  • Check that if an extension or runtime layer version is not specified, we do not add that layer

Motivation

Supporting latest runtimes

Testing Guidelines

Integration tests are passing

Additional Notes

@TalUsvyatsky
TalUsvyatsky marked this pull request as ready for review January 22, 2026 21:35
@TalUsvyatsky
TalUsvyatsky requested a review from a team as a code owner January 22, 2026 21:35
@TalUsvyatsky
TalUsvyatsky requested a review from nina9753 January 22, 2026 21:35
@ava-silver

Copy link
Copy Markdown
Contributor

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@ava-silver
ava-silver requested a review from Copilot January 22, 2026 21:49

Copilot AI 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.

Pull request overview

This PR updates the datadog-ci and AWS SDK dependencies to support newer runtimes (e.g., .NET 10, Java 25), and modifies the instrumentation logic to pass "none" for layer versions when not specified. It also enhances integration tests to properly validate all supported runtime layers and verify that unspecified layers are not added.

Changes:

  • Updated datadog-ci packages from v4.4.0 to v5.4.0 and AWS SDK packages from v3.948.0 to v3.970.0
  • Modified layer version handling to use "none" instead of undefined when versions are not specified
  • Enhanced integration tests to check .NET, Ruby, and Java layers, and validate that unspecified layers are not added

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updated datadog-ci and AWS SDK package versions; fixed typo in description
src/instrument.ts Changed layer version handling to pass "none" instead of undefined with explicit type casting
test/instrument.test.ts Updated test expectation to check for "none" instead of undefined
integration-tests/utilities/remote-config.ts Added support for .NET, Ruby, and Java layer versions with conditional inclusion in config
integration-tests/utilities/is-function-instrumented.ts Added checkLayer helper and extended runtime checks for .NET, Ruby, and Java
integration-tests/scheduled-events.test.ts Added tests for undefined layer versions and new runtime versions (Java 25, .NET 10)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

l?.Environment?.Variables[varName] === value;

const checkLayer = (
funConfig: any,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hmm i should probably see if i can slap a claude agent to improve the typing, we ideally shouldn't be using any if we can help it

@TalUsvyatsky
TalUsvyatsky merged commit 5196c23 into prod Jan 23, 2026
8 checks passed
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.

4 participants