Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
ae4ade4
Skip mquery plugin flaky test (#8040)
CarlesDD Apr 21, 2026
e0322cd
set network and http client ip on ai guard (#8034)
IlyasShabi Apr 21, 2026
214c248
dont run serverless ci on release branch pushes too (#8035)
ojproductions Apr 21, 2026
cad317b
Rewriter compiler comment (#8033)
rochdev Apr 21, 2026
b825d5c
chore(deps): bump the gh-actions-packages group across 5 directories …
dependabot[bot] Apr 22, 2026
bad6331
chore(deps): bump oxc-parser from 0.121.0 to 0.126.0 in the runtime-m…
dependabot[bot] Apr 22, 2026
fc1fcc7
chore(ci) update one-pipeline (#8043)
gh-worker-campaigns-3e9aa4[bot] Apr 22, 2026
fd1d9b5
fix: support lazy startup log messages (#8054)
BridgeAR Apr 22, 2026
87328b5
fix: stop reading deprecated req.connection.encrypted (#8051)
BridgeAR Apr 22, 2026
755f38f
test(debugger): assert newly-exposed inputPath key (#8055)
BridgeAR Apr 22, 2026
e074799
refactor(playwright): extract browser-side evaluate callbacks (#8060)
BridgeAR Apr 22, 2026
41b0a59
test(profiling): replace RegExp.escape with includes check (#8058)
BridgeAR Apr 22, 2026
39c67a0
test(debugger): ignore transitional UNACKNOWLEDGED state (#8057)
BridgeAR Apr 22, 2026
b86e9bf
test(debugger): merge caller snapshotConfig with defaults (#8056)
BridgeAR Apr 22, 2026
977704b
ci: update flakiness report with a shorter summary (#8038)
rochdev Apr 22, 2026
84f9bb1
feat(llmobs): add support for Model Context Protocol SDK (#7845)
crysmags Apr 22, 2026
937373f
test(openfeature): match printf-style log.debug args (#8059)
BridgeAR Apr 22, 2026
2170559
chore(project): update sinon (#8062)
sabrenner Apr 22, 2026
f108305
chore(deps-dev): bump the dev-minor-and-patch-dependencies group acro…
dependabot[bot] Apr 22, 2026
2a852a6
test(light-my-request): run suite under withVersions (#8052)
BridgeAR Apr 22, 2026
5fa6404
feat(ai-guard): add ai_guard.event tag to the root span (#7998)
manuel-alvarez-alvarez Apr 22, 2026
fde3c6c
fix(opentelemetry): implement setUrl on OTLP HTTP exporter base (#8063)
crysmags Apr 22, 2026
32bc295
chore(project): upgrade typescript for docs (#8065)
sabrenner Apr 22, 2026
35b1757
fix(otel): correct sampling priority and origin propagation from trac…
BridgeAR Apr 22, 2026
c8d0368
test: use parallel steps while in sandbox creation for performance (#…
BridgeAR Apr 22, 2026
4166e81
fix(ws): add missing ctx.span guard in bindAsyncStart and asyncStart …
snoopy55619819 Apr 22, 2026
95f21c3
chore(deps): bump axios (#8076)
dependabot[bot] Apr 23, 2026
23d3e62
ci: remove release status job (#8070)
rochdev Apr 23, 2026
78d21d4
[test optimization] fix cypress TS config auto-instrumentation and OT…
juan-fernandez Apr 23, 2026
d84d353
ci: pin datadog-ci for junit upload (#8078)
juan-fernandez Apr 23, 2026
0eeef6d
chore(ci) : fix concurrency clause on master (#8080)
cbeauchesne Apr 23, 2026
320b2b2
feat(test-optimization): create final_status tag on test event for vi…
cbasitodx Apr 23, 2026
07813ef
move instrumentation to their own workflow (#8039)
rochdev Apr 23, 2026
f474ed5
test(otel): make tests robust against event emitter leak warnings (#8…
BridgeAR Apr 23, 2026
d7a459c
refactor(opentelemetry): simplify OTLP traces setup per PR #7531 revi…
BridgeAR Apr 23, 2026
0fd313f
fix: handle esm and cjs in rewriter (#8000)
BridgeAR Apr 23, 2026
a83fc8c
chore: generate more narrow config types (#8081)
BridgeAR Apr 23, 2026
63b7f93
chore: replace getValueFromEnvSources calls with config usage (#8084)
BridgeAR Apr 24, 2026
00cb036
test,ci: fix langchain being tested against Node.js 18 (#8103)
BridgeAR Apr 24, 2026
2478744
ci: split tracing-ubuntu job in ci (#8104)
rochdev Apr 25, 2026
28e3a78
chore: ignore .omc/ directory (#8092)
avara1986 Apr 25, 2026
ec9b771
fix(debugger): skip malformed ddtags (#8094)
watson Apr 25, 2026
b0ad96d
chore(deps): bump axios (#8108)
dependabot[bot] Apr 27, 2026
a8ab9e7
[test optimization] Fix CODEOWNERS extraction logic and playwright re…
juan-fernandez Apr 27, 2026
36fd186
split playwright and cypress tests in ci (#8098)
rochdev Apr 27, 2026
1062084
fix: fix AppSec http memory retention (#8029)
BridgeAR Apr 27, 2026
60e2468
Update junit upload action to v3.1.0 (#8118)
juan-fernandez Apr 27, 2026
7cdb5b9
fix(llmobs): render BaseMessage in langgraph workflow I/O (#8097)
crysmags Apr 27, 2026
e7eaa3f
test: reduce CI flakiness via span-race filters (#8087)
BridgeAR Apr 27, 2026
cce0644
ci,test: warmup the nyc cache before running the tests (#8130)
rochdev Apr 28, 2026
40e2b3d
remove empty after blocks in cypress tests (#8117)
rochdev Apr 28, 2026
f269ef2
Update AppSec rules to 1.18.0 (#8121)
simon-id Apr 28, 2026
831a22d
chore(scripts): flag unquoted `**` globs in npm scripts (#8061)
BridgeAR Apr 28, 2026
3e0fda9
test(profiler): fix Profiler telemetry flake (#8114)
szegedi Apr 28, 2026
0614f43
fix(llmobs, anthropic): do not mutate anthropic create parameters (#8…
sabrenner Apr 28, 2026
cc9745d
feat(openfeature): implement flag evaluation metrics (#7993)
dd-oleksii Apr 28, 2026
47ded3c
test: fix max listener warning in test optimization tests (#8144)
BridgeAR Apr 28, 2026
11ff0fb
chore(node): allow node 26 (#8143)
pabloerhard Apr 28, 2026
44d71c5
ci: remove setup-bun workaround for unnecessary github api requests (…
rochdev Apr 28, 2026
c65677f
ci,test: switch back to hoisted linker for bun (#8142)
rochdev Apr 28, 2026
eec814c
test,ci: remove test agent to reduce test runtime and flakiness (#8090)
BridgeAR Apr 28, 2026
907839d
chore(deps-dev): bump the dev-minor-and-patch-dependencies group acro…
dependabot[bot] Apr 29, 2026
0d3181c
chore(deps): bump the gh-actions-packages group across 3 directories …
dependabot[bot] Apr 29, 2026
fba4745
feat(profiling): observe async zlib and crypto events in timeline pro…
szegedi Apr 29, 2026
69fb619
test: exclude versions folder from nyc coverage (#8160)
rochdev Apr 29, 2026
1c7562d
ci: reduce all green initial delay to 5 minutes (#8107)
rochdev Apr 29, 2026
5783578
chore(deps): bump oxc-parser from 0.126.0 to 0.127.0 in the runtime-m…
dependabot[bot] Apr 29, 2026
22d6f06
fix: telemetry for test optimization auto instrument provider (#8135)
BridgeAR Apr 29, 2026
360acf6
[test optimization] support TypeScript 6 in browser integration tests…
juan-fernandez Apr 29, 2026
aa7c96b
fix: use references for special configurations (#8149)
BridgeAR Apr 29, 2026
b2b9c25
test: make sure unknown config entries cause an error (#8152)
BridgeAR Apr 29, 2026
97ab389
test: do not hide mocha errors (#8147)
BridgeAR Apr 29, 2026
718e677
chore(ci): run all system-tests scenario even if empty when running o…
nccatoni Apr 29, 2026
2a1429e
remove junit upload action (#8148)
rochdev Apr 29, 2026
fdfc97c
chore(deps): bump actions/setup-node (#8168)
dependabot[bot] Apr 29, 2026
88b25d7
fix: make DD_TRACING_ENABLED an alias of DD_APM_TRACING_ENABLED (#8140)
BridgeAR Apr 29, 2026
9a3e90f
test(debugger): detect bracketed `byteLength` at runtime (#8172)
BridgeAR Apr 29, 2026
1044e6e
chore(ci) update one-pipeline (#8123)
gh-worker-campaigns-3e9aa4[bot] Apr 29, 2026
a0221b4
fix(engines): set engines upper limit back to node 26 (#8174)
pabloerhard Apr 29, 2026
47e0c43
test: do not hide mocha errors for nested suites (#8164)
IlyasShabi Apr 29, 2026
c2e0c4d
add dependabot ignore rule for rspack (#8171)
rochdev Apr 29, 2026
40a4f79
test: ignore Node http socketErrorListener leak (#8177)
BridgeAR Apr 29, 2026
77ccc67
fix(appsec): Fix regression on Stripe instrumentation (#8186)
CarlesDD Apr 30, 2026
4103343
test: fix race condition in sandbox pack lock (#8183)
rochdev Apr 30, 2026
9c4017d
refactor: use the same symbol to instrument pino across versions (#8181)
rochdev Apr 30, 2026
988be1f
ci: refresh Node patch versions on cross-window cache restores (#8179)
BridgeAR Apr 30, 2026
bc38b02
v5.99.0
BridgeAR Apr 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
/packages/dd-trace/test/tracer.spec.js @DataDog/apm-sdk-capabilities-js

/scripts/generate-config-types.js @DataDog/apm-sdk-capabilities-js
/scripts/generate-supported-integrations.js @DataDog/apm-sdk-capabilities-js
/supported_versions_output.json @DataDog/apm-sdk-capabilities-js
/supported_versions_table.csv @DataDog/apm-sdk-capabilities-js

# Feature Flagging
/integration-tests/openfeature/ @DataDog/feature-flagging-and-experimentation-sdk
Expand All @@ -210,12 +213,14 @@
# CI
/.github/actions/dd-sts-app-key/action.yml @Datadog/lang-platform-js
/.github/actions/dd-sts-api-key/action.yml @Datadog/lang-platform-js
/.github/actions/push_to_test_optimization/ @DataDog/ci-app-libraries
/.github/chainguard @DataDog/sdlc-security
/.github/workflows/apm-capabilities.yml @DataDog/apm-sdk-capabilities-js
/.github/workflows/apm-integrations.yml @DataDog/apm-idm-js
/.github/workflows/aiguard.yml @DataDog/asm-js
/.github/workflows/appsec.yml @DataDog/asm-js
/.github/workflows/debugger.yml @DataDog/debugger-nodejs
/.github/workflows/instrumentation.yml @DataDog/apm-idm-js
/.github/workflows/serverless.yml @DataDog/serverless-aws @DataDog/apm-serverless
/.github/workflows/llmobs.yml @DataDog/ml-observability
/.github/workflows/profiling.yml @DataDog/profiling-js
Expand Down Expand Up @@ -255,6 +260,7 @@
/packages/dd-trace/test/iitm.spec.js @DataDog/lang-platform-js
/packages/dd-trace/test/log.spec.js @DataDog/lang-platform-js
/packages/dd-trace/test/msgpack/ @DataDog/lang-platform-js
/packages/dd-trace/test/mocha-hooks.spec.js @DataDog/lang-platform-js
/packages/dd-trace/test/noop.spec.js @DataDog/lang-platform-js
/packages/dd-trace/test/pkg.spec.js @DataDog/lang-platform-js
/packages/dd-trace/test/plugin_manager.spec.js @DataDog/lang-platform-js
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
using: composite
steps:
- id: yarn-cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
key: yarn-cache-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('yarn.lock') }}-v2
path: node_modules.tar
Expand All @@ -19,7 +19,7 @@ runs:
if: inputs.cache == 'true' && steps.yarn-cache.outputs.cache-hit == 'true'
# Retry in case of server error from registry.
# Wait 60 seconds to give the registry server time to heal.
- run: bun install --trust || sleep 60 && bun install --trust
- run: bun install --linker=hoisted --trust || sleep 60 && bun install --linker=hoisted --trust
shell: bash
env:
_DD_IGNORE_ENGINES: 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install/branch-diff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.npm
key: ${{ github.workflow }}-branch-diff-3.1.1
Expand Down
51 changes: 6 additions & 45 deletions .github/actions/node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@ runs:

# Cache a tiny file containing the exact Node.js version resolved by a previous run.
# Key rotates every 20 minutes (epoch / 1200) so patches are picked up regularly.
# On cache hit, we pass the exact version to setup-node and skip the HTTP manifest lookup.
# On cache hit, install the cached patch and skip the manifest lookup.
- name: Compute cache key
id: cache-key
shell: bash
run: echo "block=$(( $(date -u +%s) / 1200 ))" >> "$GITHUB_OUTPUT"
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: node-version-cache
with:
path: /tmp/.node-resolved-version-${{ steps.node-version.outputs.version }}
key: node-resolved-${{ runner.os }}-${{ runner.arch }}-v${{ steps.node-version.outputs.version }}-${{ steps.cache-key.outputs.block }}
restore-keys: node-resolved-${{ runner.os }}-${{ runner.arch }}-v${{ steps.node-version.outputs.version }}-
- name: Read cached version
id: cached
shell: bash
Expand All @@ -43,11 +42,11 @@ runs:
echo "version=$(cat /tmp/.node-resolved-version-${{ steps.node-version.outputs.version }})" >> "$GITHUB_OUTPUT"
fi

- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
# Use the exact cached version when available, otherwise fall back to the requested version.
# Cache hit installs the cached patch directly. Otherwise pass the major; the cached
# patch is a semver-exact spec, so check-latest would not upgrade it.
node-version: ${{ steps.cached.outputs.version || steps.node-version.outputs.version }}
# Resolve the latest patch on master when no cached version exists.
check-latest: ${{ steps.cached.outputs.version == '' }}
registry-url: ${{ inputs.registry-url || 'https://registry.npmjs.org' }}

Expand All @@ -56,44 +55,6 @@ runs:
if: steps.node-version-cache.outputs.cache-hit != 'true'
shell: bash
run: node -v | tr -d 'v' > /tmp/.node-resolved-version-${{ steps.node-version.outputs.version }}
# Avoid GitHub REST API tag lookups (api.github.com/.../git/refs/tags) which can hit installation rate limits
# in large orgs / high-parallelism workflows. Instead, use a direct release asset URL.
#
# Note: setup-bun's `bun-download-url` skips its own AVX2 detection, so we do a minimal check ourselves for
# Linux x64 (fallback to baseline build when AVX2 isn't present).
- id: bun-download-url
run: |
set -euo pipefail

BUN_VERSION="1.3.1"

case "${RUNNER_OS}:${RUNNER_ARCH}" in
Linux:X64)
ASSET="bun-linux-x64.zip"
if ! grep -qiE '(^|\\s)avx2(\\s|$)' /proc/cpuinfo; then
ASSET="bun-linux-x64-baseline.zip"
fi
;;
Linux:ARM64)
ASSET="bun-linux-aarch64.zip"
;;
macOS:X64)
ASSET="bun-darwin-x64.zip"
;;
macOS:ARM64)
ASSET="bun-darwin-aarch64.zip"
;;
Windows:X64)
ASSET="bun-windows-x64.zip"
;;
*)
echo "Unsupported runner: ${RUNNER_OS}/${RUNNER_ARCH}" >&2
exit 1
;;
esac

echo "url=https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/${ASSET}" >> "$GITHUB_OUTPUT"
shell: bash
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-download-url: ${{ steps.bun-download-url.outputs.url }}
bun-version: 1.3.1
15 changes: 9 additions & 6 deletions .github/actions/plugins/test-and-upstream/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Plugin and Upstream Tests
description: Run plugin tests and upstream test suite
inputs:
node-floor:
description: 'Lower Node alias: oldest-maintenance-lts or newest-maintenance-lts.'
required: false
default: oldest-maintenance-lts
runs:
using: composite
steps:
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'oldest-maintenance-lts' }}
uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'newest-maintenance-lts' }}
uses: ./.github/actions/node/newest-maintenance-lts
- uses: ./.github/actions/install
- run: yarn test:plugins:ci
shell: bash
Expand All @@ -21,10 +28,6 @@ runs:
with:
flags: plugins-test-and-upstream-${{ github.job }}
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
- if: always()
uses: ./.github/actions/testagent/logs
with:
suffix: test-and-upstream-${{ github.job }}
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/actions/plugins/test/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Plugin Tests
description: Run plugin tests
inputs:
node-floor:
description: 'Lower Node alias: oldest-maintenance-lts or newest-maintenance-lts.'
required: false
default: oldest-maintenance-lts
runs:
using: composite
steps:
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'oldest-maintenance-lts' }}
uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'newest-maintenance-lts' }}
uses: ./.github/actions/node/newest-maintenance-lts
- uses: ./.github/actions/install
- run: yarn test:plugins:ci
shell: bash
Expand All @@ -17,10 +24,6 @@ runs:
with:
flags: plugins-${{ github.job }}
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
- if: always()
uses: ./.github/actions/testagent/logs
with:
suffix: test-${{ github.job }}
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/actions/plugins/upstream/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Plugin Upstream Tests
description: Run upstream test suite
inputs:
node-floor:
description: 'Lower Node alias: oldest-maintenance-lts or newest-maintenance-lts.'
required: false
default: oldest-maintenance-lts
runs:
using: composite
steps:
- uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'oldest-maintenance-lts' }}
uses: ./.github/actions/node/oldest-maintenance-lts
- if: ${{ inputs.node-floor == 'newest-maintenance-lts' }}
uses: ./.github/actions/node/newest-maintenance-lts
- uses: ./.github/actions/install
- run: yarn test:plugins:upstream
shell: bash
Expand All @@ -17,10 +24,6 @@ runs:
with:
flags: plugins-upstream-${{ github.job }}
dd_api_key: ${{ steps.dd-sts.outputs.api_key }}
- if: always()
uses: ./.github/actions/testagent/logs
with:
suffix: upstream-${{ github.job }}
- uses: ./.github/actions/push_to_test_optimization
if: "!cancelled()"
with:
Expand Down
21 changes: 18 additions & 3 deletions .github/actions/push_to_test_optimization/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,22 @@ runs:
# > from a forked repository, and are also subject to these restrictions.
#
# Which means they do not have access to secrets.
uses: DataDog/junit-upload-github-action@24449d01fc01e721fa36ccd2caa3caae6922f0e8 # v3.0.0
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
api_key: ${{ inputs.dd_api_key }}
service: dd-trace-js-tests
path: ${{ github.action_path }}/node_modules
key: push-to-test-optimization-${{ hashFiles('.github/actions/push_to_test_optimization/package.json') }}
- if: github.actor != 'dependabot[bot]'
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
- if: github.actor != 'dependabot[bot]'
shell: bash
run: |
yarn install --no-lockfile
echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH
working-directory: ${{ github.action_path }}
- if: github.actor != 'dependabot[bot]'
shell: bash
run: datadog-ci junit upload --service dd-trace-js-tests .
env:
DD_API_KEY: ${{ inputs.dd_api_key }}
8 changes: 8 additions & 0 deletions .github/actions/push_to_test_optimization/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "push-to-test-optimization",
"version": "1.0.0",
"private": true,
"dependencies": {
"@datadog/datadog-ci": "5.15.0"
}
}
29 changes: 4 additions & 25 deletions .github/actions/testagent/logs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ runs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Create Artifacts Directories
run: |
mkdir -p "./artifacts/logs"
mkdir -p "./artifacts/supported-integrations"
if: runner.debug == '1'
run: mkdir -p "./artifacts/logs"
shell: bash
- name: Save Test Agent Logs
id: save_logs
if: runner.debug == '1' # only create test agent log artifacts if the github action has been re-run with debug mode
if: runner.debug == '1'
run: |
if [ -n "${{inputs.container-id}}" ]; then
docker logs "${{inputs.container-id}}" > "artifacts/logs/test_agent_logs_${{ inputs.suffix }}.txt"
Expand All @@ -27,28 +26,8 @@ runs:
fi
shell: bash
- name: Archive Test Agent Logs
if: runner.debug == '1' # only create test agent log artifacts if the github action has been re-run with debug mode
if: runner.debug == '1'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: "test_agent_logs_${{ inputs.suffix }}"
path: "./artifacts/logs"
- name: Get Tested Integrations from Test Agent
run: |
# make temporary files to save response data to
response=$(mktemp) && headers=$(mktemp)

# get tested integrations
curl -o "$response" -D "$headers" http://127.0.0.1:9126/test/integrations/tested_versions

# get filename representing the name of the tested integration from headers
filename=$(awk -F': ' '/file-name/{print $2}' "$headers" | tr -d '\r\n')

# copy data to final file and remove temp files
mv "$response" "artifacts/supported-integrations/${filename}_supported_versions.csv"
rm "$headers"
shell: bash
- name: Archive Test Agent Tested Versions Artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: supported-integrations-${{ inputs.suffix }}
path: ./artifacts
11 changes: 11 additions & 0 deletions .github/chainguard/supported-integrations.sts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
issuer: https://token.actions.githubusercontent.com

subject: repo:DataDog/dd-trace-js:pull_request

claim_pattern:
event_name: pull_request
ref: refs/pull/[0-9]+/merge
job_workflow_ref: DataDog/dd-trace-js/\.github/workflows/project.yml@refs/pull/[0-9]+/merge

permissions:
contents: write
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ updates:
directories:
- "/"
- "/docs"
- "/.github/actions/push_to_test_optimization"
schedule:
interval: "weekly"
open-pull-requests-limit: 100
Expand Down Expand Up @@ -126,6 +127,9 @@ updates:
- dependency-name: "meriyah"
# 7.0.0 onwards only supports Node.js 20 and above
update-types: ["version-update:semver-major"]
- dependency-name: "@rspack/*"
# 2.0.0 onwards only supports Node.js 20 and above
update-types: ["version-update:semver-major"]
groups:
vendor-minor-and-patch-dependencies:
dependency-type: "production"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aiguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- cron: 0 4 * * *

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_id || github.ref }}
cancel-in-progress: true

env:
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/all-green.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- cron: 0 4 * * *

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_id || github.ref }}
cancel-in-progress: true

jobs:
all-green:
Expand All @@ -31,7 +31,7 @@ jobs:
- run: yarn add @actions/core @actions/github octokit
- run: node scripts/all-green.mjs
env:
DELAY: ${{ github.run_attempt == 1 && '7' || '0' }} # 7 minutes on first attempt, no delay on reruns
DELAY: ${{ github.run_attempt == 1 && '5' || '0' }} # 5 minutes on first attempt, no delay on reruns
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ github.token }}
POLLING_INTERVAL: 1
Expand Down
Loading
Loading