Repository navigation
Remove iteration and checkpoint scope static helpers from AgentTracer - #13415
Conversation
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 5 unstable metrics. See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (350.976 µs) : 318, 384
. : milestone, 351,
basic (330.742 µs) : 326, 335
. : milestone, 331,
loop (8.101 ms) : 8038, 8164
. : milestone, 8101,
section candidate
noprobe (366.007 µs) : 302, 430
. : milestone, 366,
basic (332.216 µs) : 326, 338
. : milestone, 332,
loop (8.106 ms) : 8043, 8168
. : milestone, 8106,
|
🟢 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. |
Kafka / producer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
Kafka / consumer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
c5d6981 to
31368e7
Compare
31368e7 to
9df6fff
Compare
9df6fff to
d0f7c17
Compare
d0f7c17 to
25fb576
Compare
25fb576 to
f0cca70
Compare
f0cca70 to
750252b
Compare
ef423ba to
48d0ce2
Compare
48d0ce2 to
8fbceed
Compare
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. |
There was a problem hiding this comment.
More details
Akka and Pekko exits preserve legacy rollback while allowing actor task scopes to close when context-swap entry leaves no saved context. The static reviewer reported no actionable regressions.
🤖 Bits Code Review · Commit 81dd140
… of their removal
… scope operations Require explicit access through AgentTracer.get() to discourage their use while retaining TracerAPI support for legacy code paths. Update instrumentations and test support to use the instance methods.
Restore each test's configuration before checking the context manager mode, and only close lingering iteration scopes when legacy mode is enabled.
Check the context manager mode before rolling back scopes in actor and mailbox exit advice. In context-swap mode, tolerate a missing saved context after a suppressed entry failure and still close the actor task scope. Add regression tests for both frameworks.
Finish lingering legacy iteration spans and check for remaining active spans in the test that created them. Reset context to root during setup so a failed test does not carry its active context into the next test. Preserve existing scope diagnostics and failure aggregation.
81dd140 to
9728ceb
Compare
There was a problem hiding this comment.
More details
Akka and Pekko exits preserve legacy rollback and tolerate missing saved contexts during context-swap cleanup. The completed static review found no reportable defects.
🤖 Bits Code Review · Commit 9728ceb
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
6fbb6f8
into
master
What Does This Do
Remove four static
AgentTracerhelpers for checkpoint rollback and iteration scopes. Existing legacy callers use the correspondingTracerAPIinstance methods, which this PR deprecates.Motivation
Make legacy scope operations explicit at call sites as instrumentation migrates to the
ContextAPI.Additional Notes
Akka and Pekko exit advice roll back the scope stack only in legacy mode. In context-swap mode, the advice tolerates a missing saved context and still closes the actor's task scope if one was opened. The new tests call the actor and mailbox exit advice directly with a missing saved context.
The Spock harness finishes the last legacy iteration span before checking for an active span on the test thread during teardown. Setup resets that thread's context to root before the feature runs.
Review decisions
closePrevious(true)before trace collection, flushing, and scope diagnostics because finishing the span can publish a trace. An exception here is expected to be rare and would point to a test or tracer issue worth investigating directly.setupSpec()fixtures that explicitly activate spans close their scopes, and the review found no fixture that leaves one active. A first-feature check would attribute a suite setup leak to that feature. If a leak is found, check for it at the suite setup boundary.