Skip to content

ci: include the libdatadog-build one-pipeline template for config registry jobs - #409

Merged
bm1549 merged 4 commits into
mainfrom
brian.marks/registry-scripts-1-15-0
Nov 20, 2026
Merged

bm1549 merged 4 commits into
mainfrom
brian.marks/registry-scripts-1-15-0

Conversation

@bm1549

@bm1549 bm1549 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Includes libdatadog-build's one-pipeline template (1.16.0) for the config registry jobs, instead of keeping a copy of them.

  • New .gitlab/one-pipeline.locked.yml pins the template version. It's the only place the version lives, in the same format the libdatadog-build campaign updates.
  • Deletes .gitlab/config-registry.yml. The two jobs in .gitlab-ci.yml now extends: the template's and set only LOCAL_JSON_PATH and LANGUAGE_NAME: cpp.
  • Sets SKIP_SHARED_PIPELINE (as dd-trace-go does), adds the template's stages, and turns off deploy_to_reliability_env and notify-pipeline-failure, the two template jobs that would otherwise run here.

Motivation

The copied jobs needed a manual update on every libdatadog-build release. Now a version bump is one line, and the campaign makes it automatically once dd-trace-cpp is on its list (DataDog/libdatadog-build#305).

1.16.0 is needed because earlier versions pip install in the validate job, and our runners can't reach PyPI.

Additional Notes

  • The template's default tag rule already matches every dd-trace-cpp release tag, so no rule override is needed.
  • Checked with a rules simulator for tag, main, MR and scheduled pipelines: no missing stages or needs, and the sync job is added only on release tags.
  • A sync dry run against v2.4.1 plans no writes; the registry already matches.

References

Jira ticket:

Contributor Checklist

  • I am the author of this pull request and I own it.
  • I reviewed every line of this pull request.
  • This pull request follows the Contributing Guidelines.

The copied config-registry jobs now run the scripts baked into the
libdatadog-build 1.15.0 packaging image instead of downloading two of
them from a content-addressed URL. That URL is no longer published, and
the 1.15.0 validation script imports sibling modules that a two-file
download would miss.

Also adds the new optional variables from the 1.15.0 template and drops
MULTIPLE_RELEASE_LINES and BACKFILLED, which the scripts no longer read.
@bm1549 bm1549 added the AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos label Nov 19, 2026
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Pipelines

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: abaa5bc | Docs | Give us feedback!

Replace the copied config registry jobs with an include of the versioned
libdatadog-build one-pipeline template, the same way dd-trace-go does.
The template version now lives only in .gitlab/one-pipeline.locked.yml,
which the libdatadog-build one-pipeline campaign rewrites on each release.

SKIP_SHARED_PIPELINE keeps the packaging, publishing and system-test jobs
out of the pipeline. Two template jobs don't check it, so they are turned
off here: deploy_to_reliability_env and notify-pipeline-failure.

The image, runner tag, and rules now come from the template. The stages
the template jobs use replace the config-validation stage. LOCAL_REPO_NAME
is dropped because the scripts don't read it.
deploy_to_reliability_env would trigger the reliability environment and
notify-pipeline-failure would post release-failure alerts, so both stay
off. The template's no-op finished job still runs in every pipeline,
as it does in dd-trace-go.
@bm1549 bm1549 changed the title chore(ci): run config registry scripts from libdatadog-build 1.15.0 ci: include the libdatadog-build one-pipeline template for config registry jobs Nov 19, 2026
@pr-commenter

pr-commenter Bot commented Nov 19, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-11-19 21:21:12

Comparing candidate commit abaa5bc in PR branch brian.marks/registry-scripts-1-15-0 with baseline commit e07276e in branch main.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 0 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

@bm1549
bm1549 marked this pull request as ready for review November 19, 2026 21:32
@bm1549
bm1549 requested review from a team as code owners November 19, 2026 21:32
@bm1549
bm1549 requested review from e-n-0 and removed request for a team November 19, 2026 21:32
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T21:33:44.495507Z abaa5bc Draft marked ready
🔒 Security Review ✅ Completed 2026-11-19T21:35:59.210034Z abaa5bc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

GitLab reported successful pipeline and configuration-validation statuses for the reviewed head. Independent verification of release and scheduled pipeline behavior remains limited because the pinned remote template was inaccessible.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit abaa5bc

@bm1549
bm1549 merged commit 2850705 into main Nov 20, 2026
40 checks passed
@bm1549
bm1549 deleted the brian.marks/registry-scripts-1-15-0 branch November 20, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated Largely based on code generated by an AI or LLM. This label is the same across all dd-trace-* repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants