Repository navigation
Fingerprint Test Agent configuration and validate trace results - #13235
Conversation
(cherry picked from commit 16b56fb)
|
@codex review |
|
@DataDog review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a4d1cb4bbf
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
More details
The checker’s API assumptions, shell syntax, and pinned image platform support were verified. Runtime Gradle behavior remains unverified because the Gradle tests were not run.
🤖 Bits Code Review · Commit a4d1cb4
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
There was a problem hiding this comment.
More details
Static review supports the cache-safety contract: trace-check failures prevent caching successful test outputs, and cache inputs include the pinned sidecar image and validation policy. Gradle/TestKit execution remains unverified.
🤖 Bits Code Review · Commit f37d9a0
sarahchen6
left a comment
There was a problem hiding this comment.
small optional nit, but otherwise LGTM!
Co-authored-by: Sarah Chen <sarah.chen@datadoghq.com>
What Does This Do
Validate Test Agent trace results before successful tests can be cached, and bind cached results to the sidecar image and validation policy. Include tokenised smoke-test sessions in trace validation.
Motivation
Tests restored from cache do not contact the current Test Agent, so their results must reflect the same image and checks. The checker also missed tokenised sessions and could accept failed summary counters when failure pooling was disabled.
Additional Notes
Includes the validation-before-caching change from #12604.
CI_USE_TEST_AGENT=trueenables post-checks for the Gradle invocation. Shared job variables configure both the sidecar and the task fingerprint. The checker lives intooling/because Gradle and GitLab both invoke it.The checker rejects unavailable endpoints and malformed summaries. An empty summary explicitly reports that no trace checks ran; cached tests can produce this state. Regular Agent integration tests force fresh execution because this fingerprint covers the APM Test Agent.
A follow-up is to port the shell script to the Gradle Action.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue