Skip to content

Inline dd-procmgrd Bazel build into omnibus packaging#46834

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomainfrom
regis.desgroppes/inline-dd-procmgrd
Feb 24, 2026
Merged

Inline dd-procmgrd Bazel build into omnibus packaging#46834
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomainfrom
regis.desgroppes/inline-dd-procmgrd

Conversation

@rdesgroppes
Copy link
Contributor

@rdesgroppes rdesgroppes commented Feb 23, 2026

What does this PR do?

Remove the dedicated binary_build stage jobs (build_dd-procmgrd-{x64,arm64}) that built the dd-procmgrd Rust binary, archived it as a GitLab artifact, and passed it to the packaging stage via --dd-procmgrd-bin=... (DD_PROCMGRD_BIN=... from omnibus perspective).

Instead, the build is triggered directly from within the omnibus software definition via bazel run //pkg/procmgr/rust:install when --with-dd-procmgrd is passed (WITH_DD_PROCMGRD=true from omnibus perspective).

Motivation

Bazel in CI operates with two caching layers: a minimal GitLab cache for bootstrapping pre-fetched external repositories (read-only in PR branches, read/write on main), and an always-on remote cache, so any target built with identical inputs is fetched rather than rebuilt.

An orthogonal GitLab artifact carrying the same binary is therefore redundant: it imposes a fixed pack/upload/download/unpack overhead on every run, including those that would otherwise be remote cache hits, and introduces an inter-stage dependency that serializes the pipeline.

Running the build at the point of consumption lets Bazel's DAG do the right thing: unchanged sources yield a near-instant cache hit; if sources differ, the cost is paid once and cached for all subsequent runs.

Describe how you validated your changes

CI.

@rdesgroppes rdesgroppes added changelog/no-changelog qa/no-code-change No code change in Agent code requiring validation labels Feb 23, 2026
@dd-octo-sts dd-octo-sts bot added the internal Identify a non-fork PR label Feb 23, 2026
@github-actions github-actions bot added the medium review PR review might take time label Feb 23, 2026
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Feb 23, 2026

Gitlab CI Configuration Changes

Modified Jobs

.agent_build_arm64
  .agent_build_arm64:
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-arm64
    - build_sd-agent-arm64
-   - build_dd-procmgrd-arm64
    - go_deps
    - generate_minimized_btfs_arm64
    tags:
    - arch:arm64
    - specific:true
    variables:
      DD_CC: aarch64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/aarch64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: aarch64-unknown-linux-gnu-g++
      PACKAGE_ARCH: arm64
.agent_build_common
  .agent_build_common:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    needs: []
    rules:
    - if: $CI_COMMIT_BRANCH =~ /^mq-working-branch-/
      when: never
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
    - mkdir -p /tmp/system-probe
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/clang-bpf
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/llc-bpf
    - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
    - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
    - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
    - mkdir -p /tmp/sd-agent
    - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
    - chmod 0755 /tmp/sd-agent/sd-agent
-   - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
-   - mkdir -p /tmp/dd-procmgrd
-   - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
-   - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                             ---------------------------------
+     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                  +++++
      --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
.agent_build_script
  .agent_build_script:
  - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
  - rm -f modcache.tar.xz
  - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
  - rm -rf $OMNIBUS_PACKAGE_DIR/*
  - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
  - mkdir -p /tmp/system-probe
  - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
    /tmp/system-probe/clang-bpf
  - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
    /tmp/system-probe/llc-bpf
  - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
  - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
  - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
  - mkdir -p /tmp/sd-agent
  - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
  - chmod 0755 /tmp/sd-agent/sd-agent
- - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
- - mkdir -p /tmp/dd-procmgrd
- - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
- - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
  - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-   --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                           ---------------------------------
+   --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                +++++
    --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
  - ls -la $OMNIBUS_PACKAGE_DIR
  - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
.agent_build_x86
  .agent_build_x86:
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-x64
    - build_sd-agent-x64
-   - build_dd-procmgrd-x64
    - go_deps
    - generate_minimized_btfs_x64
    tags:
    - arch:amd64
    - specific:true
    variables:
      DD_CC: x86_64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/x86_64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: x86_64-unknown-linux-gnu-g++
      PACKAGE_ARCH: amd64
.iot-agent-common
  .iot-agent-common:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    needs:
    - go_mod_tidy_check
    - go_deps
    rules:
    - if: $CI_COMMIT_BRANCH =~ /^mq-working-branch-/
      when: never
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
      --system-probe-bin=/tmp/system-probe --flavor iot
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
datadog-agent-7-arm64
  datadog-agent-7-arm64:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-arm64
    - build_sd-agent-arm64
-   - build_dd-procmgrd-arm64
    - go_deps
    - generate_minimized_btfs_arm64
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
    - mkdir -p /tmp/system-probe
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/clang-bpf
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/llc-bpf
    - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
    - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
    - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
    - mkdir -p /tmp/sd-agent
    - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
    - chmod 0755 /tmp/sd-agent/sd-agent
-   - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
-   - mkdir -p /tmp/dd-procmgrd
-   - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
-   - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                             ---------------------------------
+     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                  +++++
      --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:arm64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: aarch64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/aarch64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: aarch64-unknown-linux-gnu-g++
      FLAVOR: base
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      PACKAGE_ARCH: arm64
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
datadog-agent-7-arm64-fips
  datadog-agent-7-arm64-fips:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-arm64
    - build_sd-agent-arm64
-   - build_dd-procmgrd-arm64
    - go_deps
    - generate_minimized_btfs_arm64
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
    - mkdir -p /tmp/system-probe
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/clang-bpf
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/llc-bpf
    - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
    - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
    - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
    - mkdir -p /tmp/sd-agent
    - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
    - chmod 0755 /tmp/sd-agent/sd-agent
-   - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
-   - mkdir -p /tmp/dd-procmgrd
-   - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
-   - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                             ---------------------------------
+     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                  +++++
      --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:arm64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: aarch64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/aarch64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: aarch64-unknown-linux-gnu-g++
      FLAVOR: fips
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      PACKAGE_ARCH: arm64
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
datadog-agent-7-x64
  datadog-agent-7-x64:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-x64
    - build_sd-agent-x64
-   - build_dd-procmgrd-x64
    - go_deps
    - generate_minimized_btfs_x64
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
    - mkdir -p /tmp/system-probe
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/clang-bpf
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/llc-bpf
    - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
    - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
    - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
    - mkdir -p /tmp/sd-agent
    - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
    - chmod 0755 /tmp/sd-agent/sd-agent
-   - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
-   - mkdir -p /tmp/dd-procmgrd
-   - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
-   - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                             ---------------------------------
+     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                  +++++
      --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:amd64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: x86_64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/x86_64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: x86_64-unknown-linux-gnu-g++
      FLAVOR: base
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      PACKAGE_ARCH: amd64
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
datadog-agent-7-x64-fips
  datadog-agent-7-x64-fips:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - build_system-probe-x64
    - build_sd-agent-x64
-   - build_dd-procmgrd-x64
    - go_deps
    - generate_minimized_btfs_x64
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - tar -xf $CI_PROJECT_DIR/sysprobe-build-outputs.tar.xz
    - mkdir -p /tmp/system-probe
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/clang-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/clang-bpf
    - ${S3_CP_CMD} "${S3_PERMANENT_ARTIFACTS_URI}/llc-${CLANG_LLVM_VER}.${PACKAGE_ARCH}.${CLANG_BUILD_VERSION}"
      /tmp/system-probe/llc-bpf
    - cp $CI_PROJECT_DIR/minimized-btfs.tar.xz /tmp/system-probe/minimized-btfs.tar.xz
    - chmod 0744 /tmp/system-probe/clang-bpf /tmp/system-probe/llc-bpf
    - tar -xf $CI_PROJECT_DIR/sd-agent-build-outputs.tar.xz
    - mkdir -p /tmp/sd-agent
    - cp $CI_PROJECT_DIR/sd-agent-build-outputs/sd-agent /tmp/sd-agent/sd-agent
    - chmod 0755 /tmp/sd-agent/sd-agent
-   - tar -xf $CI_PROJECT_DIR/dd-procmgrd-build-outputs.tar.xz
-   - mkdir -p /tmp/dd-procmgrd
-   - cp $CI_PROJECT_DIR/dd-procmgrd-build-outputs/dd-procmgrd /tmp/dd-procmgrd/dd-procmgrd
-   - chmod 0755 /tmp/dd-procmgrd/dd-procmgrd
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
-     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --dd-procmgrd-bin=/tmp/dd-procmgrd/dd-procmgrd
?                                                                                             ---------------------------------
+     --system-probe-bin=/tmp/system-probe --sd-agent-bin=/tmp/sd-agent/sd-agent --with-dd-procmgrd
?                                                                                  +++++
      --flavor "$FLAVOR" --config-directory "$CONFIG_DIR" --install-directory "$INSTALL_DIR"
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:amd64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: x86_64-unknown-linux-gnu-gcc
      DD_CMAKE_TOOLCHAIN: /opt/cmake/x86_64-unknown-linux-gnu.toolchain.cmake
      DD_CXX: x86_64-unknown-linux-gnu-g++
      FLAVOR: fips
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      PACKAGE_ARCH: amd64
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
iot-agent-arm64
  iot-agent-arm64:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - go_mod_tidy_check
    - go_deps
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
      --system-probe-bin=/tmp/system-probe --flavor iot
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:arm64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: aarch64-unknown-linux-gnu-gcc
      DD_CXX: aarch64-unknown-linux-gnu-g++
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
iot-agent-armhf
  iot-agent-armhf:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/rpm_armhf$CI_IMAGE_RPM_ARMHF_SUFFIX:$CI_IMAGE_RPM_ARMHF
    needs:
    - go_mod_tidy_check
    - go_deps
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
      --system-probe-bin=/tmp/system-probe --flavor iot
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:arm64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      FORCED_PACKAGE_COMPRESSION_LEVEL: 5
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
iot-agent-x64
  iot-agent-x64:
    artifacts:
      expire_in: 2 weeks
      paths:
      - $OMNIBUS_PACKAGE_DIR
+   before_script:
+   - mkdir -p .cargo
+   - 'cat > .cargo/config.toml << ''EOF''
+ 
+     [registries]
+ 
+     datadog = { index = "sparse+https://depot-read-api-rust.us1.ddbuild.io/datadog/rust/"
+     }
+ 
+ 
+     [registry]
+ 
+     default = "datadog"
+ 
+ 
+     [source]
+ 
+     [source.crates-io]
+ 
+     replace-with = "datadog"
+ 
+     EOF
+ 
+     '
    cache:
    - key:
        files:
        - omnibus/Gemfile
        - release.json
        prefix: omnibus-deps-$CI_JOB_IMAGE-$CI_JOB_NAME-$OMNIBUS_RUBY_VERSION
      paths:
      - omnibus/vendor/bundle
    - key:
        files:
        - .bazelversion
        prefix: bazelversion-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazelisk
      - .cache/bazel/*/install
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    - key: bazel-$CI_RUNNER_DESCRIPTION
      paths:
      - .cache/bazel/*/cache
      - .cache/pip
      policy: pull$BAZEL_CACHE_POLICY_SUFFIX
      when: on_success
    image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
    needs:
    - go_mod_tidy_check
    - go_deps
    rules:
    - when: on_success
    script:
    - mkdir -p $GOPATH/pkg/mod/cache && tar xJf modcache.tar.xz -C $GOPATH/pkg/mod/cache
    - rm -f modcache.tar.xz
    - pushd omnibus && bundle config set --local path 'vendor/bundle' && popd
    - rm -rf $OMNIBUS_PACKAGE_DIR/*
    - dda inv -- -e omnibus.build --base-dir $OMNIBUS_BASE_DIR --skip-deps --go-mod-cache="$GOPATH/pkg/mod"
      --system-probe-bin=/tmp/system-probe --flavor iot
    - ls -la $OMNIBUS_PACKAGE_DIR
    - $S3_CP_CMD $OMNIBUS_PACKAGE_DIR/version-manifest.json $S3_SBOM_STORAGE_URI/$CI_JOB_NAME/version-manifest.json
    stage: package_build
    tags:
    - arch:amd64
    - specific:true
    variables:
      BAZELISK_HOME: $XDG_CACHE_HOME/bazelisk
      DD_CC: x86_64-unknown-linux-gnu-gcc
      DD_CXX: x86_64-unknown-linux-gnu-g++
      KUBERNETES_CPU_REQUEST: 16
      KUBERNETES_MEMORY_LIMIT: 32Gi
      KUBERNETES_MEMORY_REQUEST: 32Gi
      XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache

Removed Jobs

  • .dd-procmgrd_build_common
  • build_dd-procmgrd-arm64
  • build_dd-procmgrd-x64

Changes Summary

Removed Modified Added Renamed
3 12 0 0

ℹ️ Diff available in the job log.

@rdesgroppes rdesgroppes force-pushed the regis.desgroppes/inline-dd-procmgrd branch from 158d6f4 to 851c005 Compare February 23, 2026 21:58
@rdesgroppes rdesgroppes marked this pull request as ready for review February 23, 2026 21:59
@rdesgroppes rdesgroppes requested review from a team as code owners February 23, 2026 21:59
@rdesgroppes rdesgroppes requested a review from nathan-b February 23, 2026 21:59
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Feb 23, 2026

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 66baa42
📊 Static Quality Gates Dashboard
🔗 SQG Job

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_msi +2.0 KiB (0.00% increase) 622.715 → 622.717 → 1073.220
30 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_deb_amd64 756.636 MiB
agent_deb_amd64_fips 715.137 MiB
agent_heroku_amd64 323.765 MiB
agent_rpm_amd64 756.619 MiB
agent_rpm_amd64_fips 715.121 MiB
agent_rpm_arm64 734.733 MiB
agent_rpm_arm64_fips 696.260 MiB
agent_suse_amd64 756.619 MiB
agent_suse_amd64_fips 715.121 MiB
agent_suse_arm64 734.733 MiB
agent_suse_arm64_fips 696.260 MiB
docker_agent_amd64 817.657 MiB
docker_agent_arm64 820.506 MiB
docker_agent_jmx_amd64 1008.568 MiB
docker_agent_jmx_arm64 1000.200 MiB
docker_cluster_agent_amd64 203.414 MiB
docker_cluster_agent_arm64 217.834 MiB
docker_cws_instrumentation_amd64 7.135 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_dogstatsd_amd64 38.504 MiB
docker_dogstatsd_arm64 36.812 MiB
dogstatsd_deb_amd64 29.724 MiB
dogstatsd_deb_arm64 27.881 MiB
dogstatsd_rpm_amd64 29.724 MiB
dogstatsd_suse_amd64 29.724 MiB
iot_agent_deb_amd64 42.613 MiB
iot_agent_deb_arm64 39.714 MiB
iot_agent_deb_armhf 40.439 MiB
iot_agent_rpm_amd64 42.613 MiB
iot_agent_suse_amd64 42.613 MiB
On-wire sizes (compressed)
Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +23.35 KiB (0.01% increase) 185.664 → 185.687 → 186.090
agent_deb_amd64_fips +9.78 KiB (0.01% increase) 176.297 → 176.307 → 180.330
agent_heroku_amd64 neutral 87.108 MiB → 88.440
agent_msi -16.0 KiB (0.01% reduction) 149.344 → 149.328 → 154.470
agent_rpm_amd64 -6.64 KiB (0.00% reduction) 187.560 → 187.554 → 189.170
agent_rpm_amd64_fips +12.86 KiB (0.01% increase) 178.453 → 178.466 → 181.060
agent_rpm_arm64 +10.7 KiB (0.01% increase) 169.852 → 169.862 → 170.020
agent_rpm_arm64_fips -28.83 KiB (0.02% reduction) 162.503 → 162.475 → 164.130
agent_suse_amd64 -6.64 KiB (0.00% reduction) 187.560 → 187.554 → 189.170
agent_suse_amd64_fips +12.86 KiB (0.01% increase) 178.453 → 178.466 → 181.060
agent_suse_arm64 +10.7 KiB (0.01% increase) 169.852 → 169.862 → 170.020
agent_suse_arm64_fips -28.83 KiB (0.02% reduction) 162.503 → 162.475 → 164.130
docker_agent_amd64 +11.79 KiB (0.00% increase) 277.926 → 277.937 → 279.410
docker_agent_arm64 +10.4 KiB (0.00% increase) 265.190 → 265.200 → 267.960
docker_agent_jmx_amd64 +11.15 KiB (0.00% increase) 346.568 → 346.579 → 348.040
docker_agent_jmx_arm64 -7.68 KiB (0.00% reduction) 329.843 → 329.835 → 332.560
docker_cluster_agent_amd64 neutral 71.196 MiB → 71.920
docker_cluster_agent_arm64 neutral 66.832 MiB → 67.220
docker_cws_instrumentation_amd64 neutral 2.995 MiB → 3.330
docker_cws_instrumentation_arm64 neutral 2.726 MiB → 3.090
docker_dogstatsd_amd64 neutral 14.901 MiB → 15.820
docker_dogstatsd_arm64 neutral 14.239 MiB → 14.830
dogstatsd_deb_amd64 neutral 7.854 MiB → 8.790
dogstatsd_deb_arm64 neutral 6.742 MiB → 7.710
dogstatsd_rpm_amd64 neutral 7.868 MiB → 8.800
dogstatsd_suse_amd64 neutral 7.868 MiB → 8.800
iot_agent_deb_amd64 neutral 11.233 MiB → 12.040
iot_agent_deb_arm64 neutral 9.599 MiB → 10.450
iot_agent_deb_armhf neutral 9.799 MiB → 10.620
iot_agent_rpm_amd64 neutral 11.250 MiB → 12.060
iot_agent_suse_amd64 neutral 11.250 MiB → 12.060

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Feb 23, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 989db3bb-dbb4-463f-9844-66214136ea42

Baseline: dc3c3c7
Comparison: f0b6151
Diff

Optimization Goals: ✅ No significant changes detected

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization -4.75 [-7.74, -1.76] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
quality_gate_metrics_logs memory utilization +0.43 [+0.21, +0.64] 1 Logs bounds checks dashboard
ddot_metrics_sum_cumulativetodelta_exporter memory utilization +0.39 [+0.16, +0.62] 1 Logs
otlp_ingest_logs memory utilization +0.22 [+0.12, +0.31] 1 Logs
ddot_logs memory utilization +0.20 [+0.15, +0.26] 1 Logs
docker_containers_memory memory utilization +0.18 [+0.11, +0.26] 1 Logs
quality_gate_idle memory utilization +0.15 [+0.11, +0.19] 1 Logs bounds checks dashboard
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization +0.14 [+0.09, +0.19] 1 Logs
ddot_metrics_sum_cumulative memory utilization +0.07 [-0.09, +0.23] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.04 [-0.38, +0.46] 1 Logs
quality_gate_idle_all_features memory utilization +0.04 [+0.00, +0.07] 1 Logs bounds checks dashboard
tcp_dd_logs_filter_exclude ingress throughput +0.01 [-0.08, +0.11] 1 Logs
uds_dogstatsd_to_api_v3 ingress throughput +0.01 [-0.11, +0.14] 1 Logs
file_to_blackhole_0ms_latency egress throughput +0.01 [-0.48, +0.49] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.00 [-0.12, +0.13] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.01 [-0.05, +0.04] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.01 [-0.40, +0.37] 1 Logs
ddot_metrics_sum_delta memory utilization -0.11 [-0.30, +0.08] 1 Logs
otlp_ingest_metrics memory utilization -0.26 [-0.41, -0.10] 1 Logs
file_tree memory utilization -0.28 [-0.33, -0.23] 1 Logs
ddot_metrics memory utilization -0.85 [-1.06, -0.64] 1 Logs
tcp_syslog_to_blackhole ingress throughput -1.02 [-1.08, -0.95] 1 Logs
quality_gate_logs % cpu utilization -3.29 [-4.79, -1.79] 1 Logs bounds checks dashboard
docker_containers_cpu % cpu utilization -4.75 [-7.74, -1.76] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed links
docker_containers_cpu simple_check_run 10/10
docker_containers_memory memory_usage 10/10
docker_containers_memory simple_check_run 10/10
file_to_blackhole_0ms_latency lost_bytes 10/10
file_to_blackhole_0ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency lost_bytes 10/10
file_to_blackhole_1000ms_latency memory_usage 10/10
file_to_blackhole_100ms_latency lost_bytes 10/10
file_to_blackhole_100ms_latency memory_usage 10/10
file_to_blackhole_500ms_latency lost_bytes 10/10
file_to_blackhole_500ms_latency memory_usage 10/10
quality_gate_idle intake_connections 10/10 bounds checks dashboard
quality_gate_idle memory_usage 10/10 bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard
quality_gate_logs intake_connections 10/10 bounds checks dashboard
quality_gate_logs lost_bytes 10/10 bounds checks dashboard
quality_gate_logs memory_usage 10/10 bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 bounds checks dashboard
quality_gate_metrics_logs lost_bytes 10/10 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.

### What does this PR do?
Remove the dedicated `binary_build` stage jobs (`build_dd-procmgrd-{x64,arm64}`) that built the `dd-procmgrd` Rust binary, archived it as a GitLab artifact, and passed it to the packaging stage via `--dd-procmgrd-bin=...` (`DD_PROCMGRD_BIN=...` from omnibus perspective).

Instead, the build is triggered directly from within the omnibus software definition via `bazel run //pkg/procmgr/rust:install` when `--with-dd-procmgrd` is passed (`WITH_DD_PROCMGRD=true` from omnibus perspective).

### Motivation
Bazel in CI operates with two caching layers: a minimal GitLab cache for bootstrapping pre-fetched external repositories (read-only in PR branches, read/write on `main`), and an always-on remote cache, so any target built with identical inputs is fetched rather than rebuilt.

An orthogonal GitLab artifact carrying the same binary is therefore redundant: it imposes a fixed pack/upload/download/unpack overhead on every run, including those that would otherwise be remote cache hits, and introduces an inter-stage dependency that serializes the pipeline.

Running the build at the point of consumption lets Bazel's DAG do the right thing: unchanged sources yield a near-instant cache hit; if sources differ, the cost is paid once and cached for all subsequent runs.

### Describe how you validated your changes
CI.
@rdesgroppes rdesgroppes force-pushed the regis.desgroppes/inline-dd-procmgrd branch from 851c005 to f0b6151 Compare February 24, 2026 08:49
Copy link
Contributor

@alopezz alopezz left a comment

Choose a reason for hiding this comment

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

🧹

Copy link
Contributor

@jose-manuel-almaza jose-manuel-almaza left a comment

Choose a reason for hiding this comment

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

Are we doing the same for sd_agent for example?

@rdesgroppes
Copy link
Contributor Author

rdesgroppes commented Feb 24, 2026

Are we doing the same for sd_agent for example?

Yes, @jose-manuel-almaza, here's the corresponding PR:

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 709289a into main Feb 24, 2026
462 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the regis.desgroppes/inline-dd-procmgrd branch February 24, 2026 12:02
@github-actions github-actions bot added this to the 7.78.0 milestone Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog internal Identify a non-fork PR medium review PR review might take time qa/no-code-change No code change in Agent code requiring validation team/agent-build team/agent-devx team/agent-runtimes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants