Repository navigation
Conversation
🟢 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. |
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
The core-path escalation rule is bounded by the explicit P1 ceiling, keeping unbounded memory and cardinality risks at the highest permitted performance priority. No actionable inconsistencies were identified in the severity mappings or examples.
🤖 Bits Code Review · Commit 783fbe0
There was a problem hiding this comment.
More details
The severity mappings follow the stated P1 ceiling and per-span-core escalation policy, and the reorganized rubric references resolve. The Java source change only updates a Javadoc reference.
🤖 Bits Code Review · Commit 783fbe0
Switch perf-review from SEV-1..3 to the P0-P3 scale that /sdk-review uses, so findings from both skills rank the same way. "SEV-n" also read like incident severity, which uses a different scale. - posture.md states the four levels in /sdk-review's wording, maps the usual causes to them, and says performance findings top out at P1. - Single levels map directly: SEV-1 -> P1, SEV-2 -> P2, SEV-3 -> P3. - Ranges become one base level plus a stated condition: SEV-2/3 -> P3, SEV-1/2 -> P2 (P1 if it blocks, pins or is unbounded). - One rule replaces the ranges: raise one level when the cost lands on the tracer's own per-span core (span create/setTag/finish, tag map, propagation, serialization). - The output format and the worked example use P-levels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
783fbe0 to
e4c917f
Compare
There was a problem hiding this comment.
More details
Unbounded-memory findings retain P1 priority, while the escalation rule distinguishes shared per-span overhead from integration-local costs. Behavioral evaluations of the review skill were not rerun.
🤖 Bits Code Review · Commit e4c917f
Raises don't stack, and the core raise applies only to costs paid per span or per trace, so a one-time cost in core code isn't raised. The propagation bump becomes an instance of that raise rather than a second one. Allocation's tail-latency row now matches allocation.md (base P3, P2 on the core, P1 when unbounded), and critical-path checks share the table's P1 conditions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
The PR aligns perf-review with sdk-review’s P0–P3 scale, capping performance findings at P1. This update removes duplicate propagation raises, excludes one-time costs, and aligns allocation and critical-path guidance. One P2 issue remains: the blanket one-level cap contradicts explicit P1 overrides for unbounded allocation. A localized suggestion preserves those overrides. Behavioral evaluations were not rerun.
🤖 Bits Code Review · Commit 97252c1
bric3
left a comment
There was a problem hiding this comment.
The severity rules give conflicting instructions for unbounded allocation.
The allocation check starts at P3 and assigns P1 when allocation is unbounded. The new one-level cap would stop that at P2. Could we apply the cap only to the extra raise for work done per span or per trace on the tracer's core path? That keeps the P1 rule for unbounded allocation intact.
Also I think the PR title should be: Use P0-P3 severity levels in perf-review
The one-level cap applied to every raise, so it also stopped a check's own rule such as allocation's P1 when unbounded. Cap only the core raise, which counts once however many core reasons apply; a check's own escalation applies as written, and findings still top out at P1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @bric3, good catch: my "raises don't stack" wording capped every raise, including a check's own escalations. Fixed in 7e9deaf. The cap now applies only to the core raise: it's one level, however many core reasons apply (propagation and serialization still count once). A check's own escalation, such as allocation's P1 when unbounded, applies as written, and findings still top out at P1. I've also retitled the PR as you suggested. |
There was a problem hiding this comment.
More details
The PR aligns perf-review with sdk-review’s P0–P3 scale while capping performance findings at P1. Earlier updates clarified propagation, one-time costs, and allocation levels. The latest change resolves the reported conflict: only core raises are limited, preserving explicit P1 overrides for unbounded allocation. No findings remain open. Behavioral evaluations were not rerun.
🤖 Bits Code Review · Commit 7e9deaf
PerfectSlayer
left a comment
There was a problem hiding this comment.
Next round of comments
The core raise now lifts P3 to P2 only. P1 comes from a check's own escalations (unbounded, blocking, pinning), so core-path latency findings don't rank with OOM risks. The aggressive-flagging rule names its mechanism, unbounded memory and cardinality, rather than the P1 level. Also fixes J8's base level in repeat-work.md, "top severity" in memory.md, and sdk-review's note on carrying perf-review's levels over. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stacked on #13373 ("Split the perf-review rubric into posture, hotness, checks and remedies"). Merge that first.
What does this PR do?
Switches
perf-reviewfrom its own SEV-1–3 scale to the P0–P3 scale that/sdk-reviewuses (#13216, "Add/sdk-reviewlens-based review skill"). Findings from both skills then rank the same way. It also removes a naming clash: "SEV-n" reads like incident severity, which is a different scale.Changes
posture.mdstates the four levels in/sdk-review's exact wording and maps the usual causes to them.posture.mdreplaces the per-check ranges: raise P3 to P2 when the cost lands on the tracer's own per-span core (span create / setTag / finish, tag-map ops, propagation, serialization), which every integration pays. The raise never reaches P1; P1 comes only from a check's own escalations (unbounded, blocking, pinning).Decisions to review
/sdk-reviewdefines P0 as "catastrophic or actively exploitable; stop publication." An argument could be made for P0 on a guaranteed OOM on a default-on path.How was this checked?
I spot-checked 8 rows of the cross-check corpus with blind reviewers, as in #13373. The rows cover:
All 8 gave the same verdicts as #13373. The levels came out as expected:
On one row the reviewer softened an unweighed cache-key finding from a firm flag to "verify with a benchmark" at P3. That is closer to the reconciled answer key.
🤖 Generated with Claude Code