Repository navigation
style(java): apply configured Java formatting [PROF-16537] - #957
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
Scan-Build Report
Bug Summary
Filter Results by FileReports
|
|||||||||||||||||||||||||||||||||||||||||||||||||
CI Test ResultsRun: #43441338372 | Commit:
Status Overview
Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled Summary: Total: 108 | Passed: 108 | Failed: 0 Updated: 2026-11-13 14:57:30 UTC |
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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 Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
| // For this test, we verify that contention measurement works | ||
| assertTrue(currentResult.totalAttempts > 0, "Should measure total attempts"); | ||
| assertTrue( | ||
| currentResult.totalAttempts > 0 |
| // CPU burning pattern that ensures we get profiling samples | ||
| long sink = 0; | ||
| for (int i = 0; i < 100000; i++) { | ||
| sink += i * threadId; |
| * (service.version). Must not be null. Examples: "1.0.0", "2.3.4" | ||
| * @param tracerVersion the version of the tracer as defined by OpenTelemetry semantic conventions | ||
| * (telemetry.sdk.version). Must not be null. Examples: "3.5.0", "4.2.0" | ||
| * @param attributeKeys the thread-context attribute key names whose per-thread values are |
| */ | ||
| public boolean isActive() { | ||
| return libraryLoadResult.succeeded; | ||
| public double getFloatFlag(String name) { |
eb06bd3 to
b1dbc6e
Compare
Reliability & Chaos Results✅ All reliability & chaos checks passed Pipeline: https://gitlab.ddbuild.io/DataDog/java-profiler/-/pipelines/151911498 |
There was a problem hiding this comment.
More details
Executable Java tokens are preserved apart from equivalent modifier ordering, and removed imports are unused or redundant. Formatting-gate and runtime execution remain unverified.
🤖 Bits Code Review · Commit b1dbc6e
b1dbc6e to
2c40548
Compare
|
/gitlab retry-pipeline |
|
View all feedbacks in Devflow UI.
All failed jobs have been retried successfully. The following job IDs have been retried: 2234892830 |
|
/merge |
|
View all feedbacks in Devflow UI.
Progress updates will be sent here directly.
PR already in the queue with status in_progress If you need support, contact us on Slack #devflow with those details!
The following PRs won't be merged. The current stack is:
If you need support, contact us on Slack #devflow with those details! ⏳ Processing |
2c40548 to
debf2b1
Compare
|
/merge --cancel |
|
View all feedbacks in Devflow UI.
No merge in progress was found for this stack, so there is nothing to cancel. To get help about command usage, write If you need support, contact us on Slack #devflow with those details! |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
There was a problem hiding this comment.
More details
The reviewer’s token comparison found equivalent code bodies after accounting for import cleanup and modifier ordering. Build and runtime execution remain unverified.
🤖 Bits Code Review · Commit debf2b1
0cf1c5f
into
main
Four Java files conflicted with main's Java formatting change (#957): JavaProfiler.java, JVMAccessTest.java, JavaProfilerApiSurfaceTest.java and QueueTimeTest.java. Each takes main's formatting, with this branch's changes re-applied on top: the two NativeMem test seams, the nativeMem API-surface test, the agent-argument start in JVMAccessTest, and the null-name QueueTime test. The other Java files this branch changed or added were reformatted with spotlessApply so that spotlessCheck passes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
What does this PR do?:
Apply the configured Google Java Format
1.30.0output to Java sources inddprof-lib,ddprof-stresstest,ddprof-testandddprof-test-tracer. This PR is based on #955 rather thanmain.Motivation:
The Java formatting gate restored by #955 rejects the existing source layout. Separating the migration lets reviewers inspect the build repair without the mechanical source diff. This PR changes no formatting scope, exclusions or checks.
Additional Notes:
How to test the change?:
Use a build JDK of 21 or newer. Run from this branch, which includes the build repair from #955:
For Datadog employees:
credentials of any kind, I've requested a security review (run the
dd:platform-security-reviewskill, or file a request via the PSEC review form).
bewairealso runs automatically on every PR.Unsure? Have a question? Request a review!