Skip to content

Add documentation to avoid secrets in cached outputs - #13093

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
sarahchen6/s3-secrets
Oct 29, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits into
masterfrom
sarahchen6/s3-secrets

Conversation

@sarahchen6

@sarahchen6 sarahchen6 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What Does This Do

Document how to keep secrets out of cached Gradle outputs, and unset GPG_PRIVATE_KEY and GPG_PASSWORD keys after publishing.

Motivation

As build evolves and we keep caching outputs, we want to ensure no secrets are leaked into the cache - documentation should help this. Removing unnecessary keys from the environment reduces the risk of accidentally capturing them in test reports or other cached outputs as the build evolves.

Additional Notes

Contributor Checklist

Jira ticket: https://datadoghq.atlassian.net/browse/APMLP-1902

@sarahchen6 sarahchen6 added type: feature Enhancements and improvements tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels Oct 27, 2026
@datadog-official

datadog-official Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 59.49% (-0.01%)

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

@dd-octo-sts

dd-octo-sts Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.81 s 14.67 s [+0.0%; +1.9%] (maybe worse)
startup:insecure-bank:tracing:Agent 13.60 s 13.69 s [-1.6%; +0.2%] (no difference)
startup:petclinic:appsec:Agent 17.07 s 17.02 s [-0.3%; +0.9%] (no difference)
startup:petclinic:iast:Agent 17.15 s 17.14 s [-0.8%; +0.9%] (no difference)
startup:petclinic:profiling:Agent 16.73 s 16.77 s [-1.2%; +0.7%] (no difference)
startup:petclinic:sca:Agent 17.17 s 17.01 s [+0.0%; +1.8%] (maybe worse)
startup:petclinic:tracing:Agent 16.22 s 16.25 s [-1.0%; +0.7%] (no difference)

Commit: a863fc31 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@sarahchen6
sarahchen6 requested a review from bric3 October 27, 2026 21:21
@sarahchen6
sarahchen6 marked this pull request as ready for review October 27, 2026 21:21
@sarahchen6
sarahchen6 requested review from a team as code owners October 27, 2026 21:21
@sarahchen6
sarahchen6 requested review from randomanderson and removed request for a team October 27, 2026 21:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T21:24:07.415346Z f88c384 Draft marked ready
🔒 Security Review ✅ Completed 2026-10-27T21:25:34.654393Z f88c384 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-official datadog-official Bot left a comment

Copy link
Copy Markdown
Contributor

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

The affected signing and publishing jobs disable Gradle caching and force task execution before loading credentials. Subsequent dependency checks run after GPG credentials are cleared.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit f88c384

@sarahchen6 sarahchen6 changed the title Disable build cache for jobs with potential secrets Add documentation to avoid secrets in cached outputs Oct 28, 2026
@sarahchen6

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-10-29 12:32:57 UTC ℹ️ Start processing command /merge


2026-10-29 12:33:01 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 2h (p90).


2026-10-29 13:24:40 UTC ❌ MergeQueue: The build pipeline contains failing jobs for this merge request

Build pipeline has failing jobs for 981d82d:

⚠️ Do NOT retry failed jobs directly (why?).

What to do next?

  • Investigate the failures and when ready, re-add your pull request to the queue!
  • If your PR checks are green, try to rebase/merge. It might be because the CI run is a bit old.
  • Any question, go check the FAQ.
Details

Since those jobs are not marked as being allowed to fail, the pipeline will most likely fail.
Therefore, and to allow other builds to be processed, this merge request has been rejected and the pipeline got canceled.

@sarahchen6

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-10-29 13:50:24 UTC ℹ️ Start processing command /merge


2026-10-29 13:50:28 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 2h (p90).


2026-10-29 15:24:43 UTC ℹ️ MergeQueue: This merge request was merged

@bric3 bric3 mentioned this pull request Oct 29, 2026
8 tasks done
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 40474e6 into master Oct 29, 2026
630 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the sarahchen6/s3-secrets branch October 29, 2026 15:24
@github-actions github-actions Bot added this to the 1.69.0 milestone Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: no release notes Changes to exclude from release notes type: feature Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants