Repository navigation
chore(diagnostics-otel): revert unapproved duration-bucket merge - #152292
Conversation
Reverts a21ca3c at the task requester’s explicit direction. The upstream merge exceeded the intended fleet-observability scope.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 18, 2026, 8:14 PM ET / September 19, 2026, 00:14 UTC. ClawSweeper reviewWhat this changesRestores the diagnostics plugin’s default tool/model duration buckets and removes the regression tests for the withdrawn bucket extension. Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this is an exact, explicitly requested rollback that current main has not applied. No unintended patch defect was found, and the maintainer label independently prevents automatic closure. Priority: P2 Review scores
Verification
How this fits togetherThe diagnostics OpenTelemetry plugin converts model and tool events into metrics exported to observability collectors. Its histogram boundaries determine how precisely dashboards can distinguish slow calls. flowchart LR
A[Model and tool events] --> B[Diagnostics plugin]
B --> C[Duration histograms]
C --> D[Finite buckets through 10 seconds]
C --> E[Overflow above 10 seconds]
D --> F[Telemetry collector]
E --> F
F --> G[Latency dashboards]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -2, Tests -81. Total -83 across 3 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Restore the release-compatible layout as requested, keeping any future slow-call bucket expansion separately authorized and accounting for mixed-layout dashboards during rollback. Do we have a high-confidence way to reproduce the issue? Not applicable: this is an intentional scope rollback. Source comparison proves the exact reversal, and SDK source establishes the restored aggregation behavior. Is this the best way to solve the issue? Yes. Reversing precisely the withdrawn merge is the narrowest solution to the documented scope correction and matches the latest release’s tool/model histogram declarations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 084d51d0c7b3. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Proceed with the exact rollback explicitly requested by the task requester. This restores the released histogram layout; the temporary main-only extra bucket series are intentionally withdrawn. No plugin was deployed by this task, and the original merge's push-triggered publication run 35407603983 was cancelled with no steps executed in Adoption by unrelated main-branch consumers is unknown. Such consumers should use the preserved common boundaries or isolate observation cohorts across the rollback. The fleet dashboard already uses only those common boundaries and will not be changed. This accepts the review's stated rollback compatibility tradeoff, without waiving required CI or authorizing any release/deployment. |
|
Merged via squash.
|
* commit 'ca69b4d25dfcd488acc6ba1d878e4b4252f40cd2': (325 commits) perf(gateway): streamline config reload comparison (#152279) fix(xai): reject invalid UTF-8 OAuth responses (#111737) fix(release): accept waived advisory performance evidence for stable publication (#152290) fix: deliver watcher results while other sessions are busy (#152287) perf(media): reuse attachment filename classification (#152274) refactor(build): reuse forwarded option scanning (#152293) chore(diagnostics-otel): revert unapproved duration-bucket merge (#152292) fix: stop chat media reads after access changes (#152219) fix(test): use Gateway WebSocket transport in network fixtures (#152143) improve: retain quota refresh evidence from successful CI runs (#152173) improve(gateway): reduce memory used by session selection (#152260) perf(agents): use keyed subagent capability lookups (#152263) refactor(matrix): centralize media metadata assembly (#149128) chore(ui): refresh control ui locales (#152276) feat: open Crabbox apps beside the conversation (#152094) refactor: simplify worker and model fallback handling (#152268) perf(codex): reconcile session catalogs incrementally (#152257) fix(ui): keep submitted prompts visible across session startup (#152241) perf(sessions): move automatic maintenance database work to workers (#148630) fix: preserve reply metadata through outbound preparation (#152231) ...
…nclaw#152292) Reverts c9caa80 at the task requester’s explicit direction. The upstream merge exceeded the intended fleet-observability scope.
Reverts #152226.
What Problem This Solves
The upstream merge exceeded the intended authorization of the fleet-observability task. The task requester explicitly instructed the agent to revert it.
User Impact
Restores the pre-#152226 tool/model histogram behavior. The previous 10-second finite-bucket limit returns intentionally. No plugin release or fleet deployment was performed by this task, and its upstream release request has been withdrawn.
Why This Change Was Made
Exact revert of
a21ca3cebb5ff878ec3f62c2cd4f9a84c167a170, preserving all unrelated subsequent changes. This is a scope correction, not a claim that the original technical tests failed. Any future upstream change needs separate explicit approval.Evidence
git diff --cached --checkpassed. Required GitHub CI will gate landing.AI-assisted; no production runtime changes.