Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ba29048
chore(deps): bump the cloud-and-messaging group across 1 directory wi…
dependabot[bot] Oct 1, 2026
3f62ed4
chore(deps): bump the test-versions group across 1 directory with 17 …
dependabot[bot] Oct 1, 2026
d6a9e03
feat(otel): otel sampling support in distributed tracing (#10117)
vpellan Oct 1, 2026
01eb51f
test(openfeature): verify bundled provider behavior and align test ve…
vjfridge Oct 1, 2026
b5f9f48
feat(openfeature): add privacy-protected flag evaluation telemetry (#…
vjfridge Oct 1, 2026
8e4423d
feat(llmobs): add BaseEvaluator support for Experiments (#9848)
mehulsonowal Oct 1, 2026
52069b1
chore(deps): bump the test-versions group across 1 directory with 2 u…
dependabot[bot] Oct 2, 2026
2a8fe45
chore(deps): bump the cloud-and-messaging group across 1 directory wi…
dependabot[bot] Oct 2, 2026
5f8a2d7
fix(llmobs): preserve structured experiment output (#10472)
mehulsonowal Oct 2, 2026
4258c78
fix(llmobs): don't corrupt literal "\u" sequences when encoding paylo…
sabrenner Oct 2, 2026
ebaf984
fix(openai): keep LLMObs tracing after an aborted stream (#10577)
jessicagamio Oct 2, 2026
aef8a9c
chore(deps): bump openai (#10616)
dependabot[bot] Oct 5, 2026
58e4ce7
chore(deps): bump the cloud-and-messaging group across 1 directory wi…
dependabot[bot] Oct 5, 2026
a0ab74f
chore(deps): bump the testing-and-build group across 1 directory with…
dependabot[bot] Oct 5, 2026
49f0b5d
feat(debugger): add an evaluation time budget (#10156)
watson Oct 5, 2026
28348fd
feat(otel): add OTel consistent probability sampling state to spans e…
vpellan Oct 5, 2026
560a643
ci: update one-pipeline to 1.5.5 (#10610)
gh-worker-campaigns-3e9aa4[bot] Oct 5, 2026
cca8111
chore(appsec): Update native-appsec to 11.0.3 (#10625)
IlyasShabi Oct 5, 2026
d12540f
fix(opentelemetry): return non-function targets unchanged from Contex…
pabloerhard Oct 5, 2026
e36e655
fix(debugger): include worker failure metadata in telemetry (#10393)
watson Oct 5, 2026
4947148
fix(debugger): drop probe results that stay over the size cap (#10345)
watson Oct 5, 2026
a27092c
fix(ai): properly record `runtimeContext` in newer v7 versions (#10629)
sabrenner Oct 5, 2026
c7ecafc
fix(debugger): redact sensitive identifiers in log templates and capt…
watson Oct 5, 2026
4c2971b
chore(deps): bump the databases group across 1 directory with 12 upda…
dependabot[bot] Oct 5, 2026
6210be0
feat(llmobs): add remote evaluators (#10487)
mehulsonowal Oct 5, 2026
fb88535
chore(deps): bump the web-frameworks group across 1 directory with 4 …
dependabot[bot] Oct 5, 2026
364260c
chore(deps): bump the ai-and-llm group across 1 directory with 15 upd…
dependabot[bot] Oct 5, 2026
7a640bb
chore(deps): bump the cloud-and-messaging group across 1 directory wi…
dependabot[bot] Oct 6, 2026
4a60c9a
chore(deps): bump aerospike (#10644)
dependabot[bot] Oct 6, 2026
692b4a0
chore(deps): bump the ai-and-llm group across 1 directory with 2 upda…
dependabot[bot] Oct 6, 2026
b977862
fix(aws-sdk): handle region provider rejections (#10583)
pabloerhard Oct 6, 2026
334a559
refactor(supabase): remove identity hooks (#10511)
pabloerhard Oct 6, 2026
96d8ab4
fix(debugger): bound pause duration telemetry while the application i…
watson Oct 6, 2026
b4b5e10
fix(config): restore legacy RC capability bits (#10573)
rachelyangdog Oct 6, 2026
1811ecb
bench(openfeature): shorten evaluation workloads (#10588)
rochdev Oct 6, 2026
6f321b3
bench(propagation): shorten replacement injection (#10587)
rochdev Oct 6, 2026
7f289a0
ci(deps): add weekly renovate lockfile maintenance (#10404)
rochdev Oct 6, 2026
d3a0b20
refactor(postgres): remove identity hooks (#10649)
pabloerhard Oct 6, 2026
306e37f
v6.20.0
rochdev Oct 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@
/packages/dd-trace/test/baggage.spec.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/src/carrier.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/test/carrier.spec.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/src/knuth-hash.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/src/otel-sampling.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/test/opentracing/propagation/otel-sampling.spec.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/src/*sampler.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/test/*sampler.spec.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
/packages/dd-trace/src/sampling_rule.js @DataDog/dd-trace-js @DataDog/apm-sdk-capabilities-js
Expand Down Expand Up @@ -387,6 +390,7 @@
/.github/workflows/audit.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @dd-octo-sts
/.github/workflows/custom-node-version-dispatch.yml @DataDog/dd-trace-js @Datadog/lang-platform-js @dd-octo-sts
/.github/workflows/dependabot-automation.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @DataDog/apm-sdk-capabilities-js @dd-octo-sts
/.github/workflows/renovate-automation.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @DataDog/apm-sdk-capabilities-js @dd-octo-sts
/.github/workflows/flakiness.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @dd-octo-sts
/.github/workflows/platform.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @dd-octo-sts
/.github/workflows/project.yml @DataDog/dd-trace-js @Datadog/lang-platform-js @dd-octo-sts
Expand Down Expand Up @@ -442,6 +446,7 @@

/.github/CODEOWNERS @DataDog/dd-trace-js @DataDog/lang-platform-js
/.github/dependabot.yml @DataDog/dd-trace-js @DataDog/lang-platform-js @DataDog/apm-sdk-capabilities-js
/.github/renovate.json @DataDog/dd-trace-js @DataDog/lang-platform-js @DataDog/apm-sdk-capabilities-js
/.github/pull_request_template.md @DataDog/dd-trace-js @DataDog/lang-platform-js
/.github/vendored-dependencies.csv @DataDog/dd-trace-js @DataDog/lang-platform-js

Expand All @@ -455,6 +460,7 @@
/benchmark/sirun/exporting-pipeline/ @DataDog/dd-trace-js @DataDog/lang-platform-js
/benchmark/sirun/id/ @DataDog/dd-trace-js @DataDog/lang-platform-js
/benchmark/sirun/log/ @DataDog/dd-trace-js @DataDog/lang-platform-js
/benchmark/sirun/openfeature/ @DataDog/feature-flagging-and-experimentation-sdk
/benchmark/sirun/runtime-metrics/ @DataDog/dd-trace-js @DataDog/lang-platform-js
/benchmark/sirun/scope/ @DataDog/dd-trace-js @DataDog/lang-platform-js
/benchmark/sirun/shimmer-runtime/ @DataDog/dd-trace-js @DataDog/lang-platform-js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ issuer: https://token.actions.githubusercontent.com
subject: repo:DataDog/dd-trace-js:pull_request

claim_pattern:
actor: renovate\[bot\]
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
job_workflow_ref: DataDog/dd-trace-js/\.github/workflows/renovate-automation.yml@refs/pull/[0-9]+/merge

permissions:
contents: write

pull_requests: write
130 changes: 130 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"enabledManagers": [
"npm"
],
"includePaths": [
"package.json",
"yarn.lock",
"docs/package.json",
"docs/yarn.lock",
".github/actions/datadog-ci/package.json",
".github/actions/datadog-ci/yarn.lock",
"vendor/package.json",
"vendor/package-lock.json"
],
"timezone": "UTC",
"dependencyDashboard": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": true,
"rebaseWhen": "behind-base-branch",
"postUpdateOptions": [
"yarnDedupeHighest"
],
"vulnerabilityAlerts": {
"enabled": false
},
"osvVulnerabilityAlerts": false,
"lockFileMaintenance": {
"enabled": true,
"schedule": [
"* 0-4 * * 0"
]
},
"packageRules": [
{
"description": "Disable regular dependency updates",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"major",
"minor",
"patch",
"pin",
"pinDigest",
"digest",
"rollback",
"bump",
"replacement"
],
"enabled": false
},
{
"description": "Automerge Sunday lockfile maintenance",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"groupSingleUpdates": true,
"automerge": true,
"labels": [
"dependencies",
"javascript",
"semver-patch"
]
},
{
"description": "Root lockfile maintenance",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"matchFileNames": [
"package.json"
],
"groupName": "root lockfile maintenance",
"groupSlug": "root-lockfile-maintenance"
},
{
"description": "Docs lockfile maintenance",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"matchFileNames": [
"docs/package.json"
],
"groupName": "docs lockfile maintenance",
"groupSlug": "docs-lockfile-maintenance"
},
{
"description": "datadog-ci action lockfile maintenance",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"matchFileNames": [
".github/actions/datadog-ci/package.json"
],
"groupName": "datadog-ci action lockfile maintenance",
"groupSlug": "datadog-ci-action-lockfile-maintenance"
},
{
"description": "Vendor lockfile maintenance",
"matchManagers": [
"npm"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"matchFileNames": [
"vendor/package.json"
],
"groupName": "vendor lockfile maintenance",
"groupSlug": "vendor-lockfile-maintenance"
}
]
}
118 changes: 0 additions & 118 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,121 +160,3 @@ jobs:
# - uses: ./.github/actions/node/latest
# - uses: ./.github/actions/install
# - run: node scripts/verify-ci-config.js

yarn-dedupe:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
has_changes: ${{ steps.diff.outputs.has_changes }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: ./.github/actions/node/latest

- name: Install dependencies
uses: ./.github/actions/install

- name: Run npm run dependencies:dedupe
run: npm run dependencies:dedupe

- name: Prepare yarn.lock update (same-repo PRs only; restricted paths)
id: diff
run: |
set -euo pipefail

if git diff --quiet; then
echo "has_changes=false" >> "$GITHUB_OUTPUT"
exit 0
fi

fail_message() { cat <<'EOF'
❌ The yarn.lock file needs deduplication!

The dedupe command has modified your yarn.lock file.
This means there were duplicate dependencies that could be optimized.

To fix this issue:
1. Run 'npm run dependencies:dedupe' locally
2. Commit the updated yarn.lock file
3. Push your changes

This helps keep the dependency tree clean.
EOF
}

changes="$(git diff --name-only)"
if [ "$changes" != "yarn.lock" ]; then
echo "Unexpected changed paths during yarn dedupe:"
echo "$changes"
exit 1
fi

# Never push updates to fork PR branches, and don't auto-fix outside PRs.
if [ "${{ github.event_name }}" != "pull_request" ]; then
fail_message
exit 1
fi
if [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]; then
fail_message
exit 1
fi

cp yarn.lock "${RUNNER_TEMP}/yarn.lock"
echo "has_changes=true" >> "$GITHUB_OUTPUT"

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: steps.diff.outputs.has_changes == 'true'
with:
name: yarn-lock
path: ${{ runner.temp }}/yarn.lock
if-no-files-found: error

yarn-dedupe-push:
# If this job pushes a commit, GitHub will re-trigger the workflow on `pull_request:synchronize`
# with `github.actor == 'dd-octo-sts[bot]'`. Never attempt to mint another token / push again on
# that follow-up run.
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && needs.yarn-dedupe.outputs.has_changes == 'true' && github.actor != 'dd-octo-sts[bot]'
runs-on: ubuntu-latest
needs: yarn-dedupe
# Security: this job has an STS-minted token, but never runs installs/builds.
# It only updates yarn.lock via the GitHub API.
permissions:
id-token: write
steps:
- uses: DataDog/dd-octo-sts-action@c85802a58e202b7e764b5441e4378c76043c8108 # v1.0.5
id: octo-sts
with:
scope: DataDog/dd-trace-js
policy: yarn-dedupe

- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: yarn-lock
path: ${{ runner.temp }}/yarn-lock-artifact

- name: Update yarn.lock via GitHub API (server-created verified commit)
env:
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
BRANCH: ${{ github.event.pull_request.head.ref }}
run: |
set -euo pipefail

test -f "${{ runner.temp }}/yarn-lock-artifact/yarn.lock"
sha="$(gh api -q '.sha' "repos/${OWNER}/${REPO}/contents/yarn.lock?ref=${BRANCH}")"
base64 -w 0 "${{ runner.temp }}/yarn-lock-artifact/yarn.lock" > "${{ runner.temp }}/yarn-lock-b64.txt"

jq -n \
--arg message "chore: deduplicate yarn.lock" \
--rawfile content "${{ runner.temp }}/yarn-lock-b64.txt" \
--arg sha "$sha" \
--arg branch "$BRANCH" \
'{message: $message, content: $content, sha: $sha, branch: $branch}' \
| gh api -X PUT "repos/${OWNER}/${REPO}/contents/yarn.lock" --input -
28 changes: 28 additions & 0 deletions .github/workflows/renovate-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Renovate Automation"

on:
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
renovate-automation:
if: >-
github.event.pull_request.user.login == 'renovate[bot]' &&
github.actor == 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: DataDog/dd-octo-sts-action@c85802a58e202b7e764b5441e4378c76043c8108 # v1.0.5
id: octo-sts
with:
scope: DataDog/dd-trace-js
policy: renovate-automation
- name: Approve the PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
2 changes: 1 addition & 1 deletion .gitlab/one-pipeline.locked.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DO NOT EDIT THIS FILE MANUALLY
# This file is auto-generated by automation.
include:
- remote: https://gitlab-templates.ddbuild.io/libdatadog/include/versions/1.5.4/one-pipeline.yml
- remote: https://gitlab-templates.ddbuild.io/libdatadog/include/versions/1.5.5/one-pipeline.yml
Loading
Loading