Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2a6e628
PROF-14088
jbachorik Mar 22, 2026
0bc1dbc
fix: revert thread_local jmp_buf, suppress scan-build false positive
jbachorik Apr 3, 2026
9aba288
fix: single-dash for scan-build -disable-checker flag
jbachorik Apr 3, 2026
7a1c101
Address Copilot review: bounds guards, tests, cleanup
jbachorik Apr 7, 2026
8287718
feat(release): show release branch picker for patch releases
jbachorik Mar 27, 2026
b64c551
ci: migrate CI pipeline from java-profiler-build into java-profiler
jbachorik Apr 3, 2026
a3a0920
ci: use arch:amd64 instead of runner:apm-k8s-tweaked-metal
jbachorik Apr 3, 2026
6114853
ci: prefer arch:arm64 for orchestration and notification jobs
jbachorik Apr 3, 2026
fe0158e
ci: revert slack-notifier jobs to arch:amd64 (no arm64 image)
jbachorik Apr 3, 2026
3806a73
ci: add branch link to slack build notifications
jbachorik Apr 3, 2026
f6ceec9
ci: use CI_COMMIT_REF_NAME fallback for branch-qualified snapshot ver…
jbachorik Apr 3, 2026
3213103
ci: normalize CI_COMMIT_BRANCH from CI_COMMIT_REF_NAME and propagate …
jbachorik Apr 3, 2026
b963780
Add no-review label to dependabot PRs for auto-approval (#452)
Copilot Apr 3, 2026
1e57289
Bump github/codeql-action from 4.33.0 to 4.35.1 (#448)
dependabot[bot] Apr 3, 2026
7cb13ce
Bump DataDog/dd-octo-sts-action from 1.0.3 to 1.0.4 (#445)
dependabot[bot] Apr 3, 2026
d273339
Bump the gradle-minor group with 3 updates (#434)
dependabot[bot] Apr 3, 2026
209049b
Bump actions/cache from 5.0.3 to 5.0.4 (#432)
dependabot[bot] Apr 3, 2026
ba911ea
Bump com.diffplug.spotless:spotless-plugin-gradle (#431)
dependabot[bot] Apr 3, 2026
c370e73
ci: fix mvn pom.xml lookup and skip signing in assemble mode
jbachorik Apr 7, 2026
8ca1c1a
ci: skip Gradle signing when GPG key is absent
jbachorik Apr 7, 2026
975ba42
ci: fail publish explicitly when GPG key is missing instead of silent…
jbachorik Apr 7, 2026
27dc60b
utils: add script to update Sonatype credentials in SSM via aws-vault
jbachorik Apr 7, 2026
1def91d
ci: migrate test-validation scripts from java-profiler-build
jbachorik Apr 7, 2026
01efd7b
ci: restore mangled $SCRIPT_DIR references in gitlab scripts
jbachorik Apr 7, 2026
340ec65
Fix VMMethod::validatedId() crash (#453)
zhengyu123 Apr 8, 2026
5ac1aef
ci: restore dd-trace integration tests after migration
jbachorik Apr 8, 2026
fc4e2b2
ci: fix post-pr-comment image arch mismatch
jbachorik Apr 8, 2026
5b51354
build: route Maven deps through internal proxy to avoid rate limiting
jbachorik Apr 8, 2026
3e48373
ci: route build-logic plugin resolution through Maven proxy
jbachorik Apr 8, 2026
3178a55
ci: bump cache key to purge corrupt Gradle cache
jbachorik Apr 8, 2026
500f4e3
ci: detect corrupt JARs before build, disable build cache
jbachorik Apr 8, 2026
234b8e7
ci: scope Maven proxy to project deps only, not plugins
jbachorik Apr 8, 2026
0fe83e5
fix: address zhengyu123 review comments
jbachorik Apr 9, 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
9 changes: 9 additions & 0 deletions .adms/python/gitlab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# File generated and managed by #dependency-management.
# Changes are subject to overwriting.
# DO NOT EDIT

variables:
PIP_INDEX_URL: "https://depot-read-api-python.us1.ddbuild.io/magicmirror/magicmirror/@current/simple"
PIP_EXTRA_INDEX_URL: "https://depot-read-api-python.us1.ddbuild.io/magicmirror/testing/@current/simple"
UV_INDEX: "https://depot-read-api-python.us1.ddbuild.io/magicmirror/magicmirror/@current/simple https://depot-read-api-python.us1.ddbuild.io/magicmirror/testing/@current/simple"
UV_DEFAULT_INDEX: "https://depot-read-api-python.us1.ddbuild.io/magicmirror/magicmirror/@current/simple"
4 changes: 2 additions & 2 deletions .github/chainguard/async-profiler-build.ci.sts.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Allow async-profiler-build CI to publish to gh-pages
issuer: https://gitlab.ddbuild.io

subject_pattern: "project_path:DataDog/apm-reliability/async-profiler-build:ref_type:branch:ref:.*"
subject_pattern: "project_path:DataDog/java-profiler:ref_type:branch:ref:.*"

claim_pattern:
project_path: "DataDog/apm-reliability/async-profiler-build"
project_path: "DataDog/java-profiler"
ref_type: "branch"
ref: ".*"

Expand Down
26 changes: 26 additions & 0 deletions .github/chainguard/gh-pages.sts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Octo-STS Trust Policy for GitHub Pages Publishing
# This policy allows GitLab CI to push integration test reports to gh-pages branch
#
# Trust Policy Location: .github/chainguard/gh-pages.sts.yaml
# Referenced by: scripts/get-github-token-via-octo-sts.sh (OCTO_STS_POLICY=gh-pages)
#
# How it works:
# 1. GitLab CI generates OIDC token with issuer: https://gitlab.ddbuild.io
# 2. Token includes claims: project_path, ref, namespace_path, etc.
# 3. Octo-STS validates token against this policy
# 4. If valid, Octo-STS returns short-lived GitHub token with specified permissions

# GitLab OIDC issuer
issuer: https://gitlab.ddbuild.io

# Match GitLab CI jobs from any branch (needed for PR comments)
# GitLab token includes: project_path=DataDog/java-profiler, ref=<branch>
subject_pattern: project_path:DataDog/java-profiler:ref_type:branch:ref:.*

# GitHub API permissions for the returned token
# contents:write - Required to push to gh-pages branch
permissions:
contents: write

# Token lifetime (default: 1 hour)
# Short-lived tokens reduce security risk
17 changes: 17 additions & 0 deletions .github/chainguard/update-images.sts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Octo-STS Trust Policy for Image Update PRs
#
# Allows the GitLab CI check-image-updates and rebuild-images-pr jobs to push
# branches and create pull requests for CI image reference updates.
#
# Referenced by: scripts/create-image-update-pr.sh (OCTO_STS_POLICY=update-images)

# GitLab OIDC issuer
issuer: https://gitlab.ddbuild.io

# Match GitLab CI jobs from the async-profiler-build project on any branch
subject_pattern: project_path:DataDog/java-profiler:ref_type:branch:ref:.*

# GitHub API permissions
permissions:
contents: write
pull_requests: write
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ updates:
labels:
- "dependencies"
- "no-release-notes"
- "no-review"
ignore:
- dependency-name: "org.junit-pioneer:junit-pioneer"
versions: [">=2.0.0"]
Expand All @@ -31,6 +32,7 @@ updates:
labels:
- "dependencies"
- "no-release-notes"
- "no-review"
groups:
gradle-minor:
update-types:
Expand All @@ -49,5 +51,6 @@ updates:
labels:
- "dependencies"
- "no-release-notes"
- "no-review"
cooldown:
default-days: 2
2 changes: 1 addition & 1 deletion .github/workflows/approve-trivial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
id-token: write # Needed to federate tokens
steps:
- uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
- uses: DataDog/dd-octo-sts-action@96a25462dbcb10ebf0bfd6e2ccc917d2ab235b9a # v1.0.4
id: octo-sts
with:
scope: DataDog/java-profiler
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/cache_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
sdkman_path: ${{ steps.export-path.outputs.sdkman_path }}
steps:
- name: Cache SDKMan! AMD64
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: sdkman
key: sdkman-amd64-${{ github.run_id }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
sdkman_path: ${{ steps.export-path.outputs.sdkman_path }}
steps:
- name: Cache SDKMan! AARCH64
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: sdkman
key: sdkman-aarch64-${{ github.run_id }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Try restore cache JDK ${{ matrix.java_variant }}
id: cache-jdk
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:

- name: Save JDK ${{ matrix.java_variant }} cache
if: steps.check-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand All @@ -217,7 +217,7 @@ jobs:
apk update && apk add curl zip unzip bash tar
- name: Cache JDK ${{ matrix.java_variant }}
id: cache-jdk
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand All @@ -243,7 +243,7 @@ jobs:

- name: Save JDK ${{ matrix.java_variant }} cache
if: steps.check-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand All @@ -265,7 +265,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Cache JDK ${{ matrix.java_variant }}
id: cache-jdk
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:

- name: Save JDK ${{ matrix.java_variant }} cache
if: steps.check-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand All @@ -326,7 +326,7 @@ jobs:
sudo apt update && sudo apt install -y curl zip unzip bash tar
- name: Cache JDK ${{ matrix.java_variant }}
id: cache-jdk
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand All @@ -352,7 +352,7 @@ jobs:

- name: Save JDK ${{ matrix.java_variant }} cache
if: steps.check-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: |
${{ env.JDKS_DIR }}/jdk${{ matrix.java_variant }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ jobs:
sudo mv /usr/bin/clang-format-11 /usr/bin/clang-format

- name: Cache Gradle Wrapper Binaries
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-

- name: Cache Gradle User Home
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down Expand Up @@ -101,15 +101,15 @@ jobs:
sudo apt-get install -y curl zip unzip binutils

- name: Cache Gradle Wrapper Binaries
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-

- name: Cache Gradle User Home
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -84,4 +84,4 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- run: ./gradlew -x test assembleReleaseJar
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
id-token: write # Needed to federate tokens
steps:
- uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
- uses: DataDog/dd-octo-sts-action@96a25462dbcb10ebf0bfd6e2ccc917d2ab235b9a # v1.0.4
id: octo-sts
with:
scope: DataDog/java-profiler
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:
if: steps.set_enabled.outputs.enabled == 'true'
- name: Cache Gradle Wrapper Binaries
if: steps.set_enabled.outputs.enabled == 'true'
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-
- name: Cache Gradle User Home
if: steps.set_enabled.outputs.enabled == 'true'
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down Expand Up @@ -186,14 +186,14 @@ jobs:
apk add musl-dbg
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Cache Gradle Wrapper Binaries
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-
- name: Cache Gradle User Home
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down Expand Up @@ -313,15 +313,15 @@ jobs:
if: steps.set_enabled.outputs.enabled == 'true'
- name: Cache Gradle Wrapper Binaries
if: steps.set_enabled.outputs.enabled == 'true'
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-
- name: Cache Gradle User Home
if: steps.set_enabled.outputs.enabled == 'true'
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down Expand Up @@ -459,14 +459,14 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Cache Gradle Wrapper Binaries
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/wrapper/dists
key: gradle-wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-wrapper-${{ runner.os }}-
- name: Cache Gradle User Home
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.gradle/caches
key: gradle-caches-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
**/build_*/
**/build-*/
!build-logic/
!.gitlab/build-deploy/
/nbproject/
/out/
/.idea/
Expand Down
Loading
Loading