Repository navigation
refactor: unify SQL resource accounting semantics - #25843
Conversation
ca8452f to
456431f
Compare
456431f to
5ec7398
Compare
|
Addressed both findings in f8e1a76 after rebasing onto current main (0d7eeb3).
Validation on the rebased head:
|
Merge Queue Status
This pull request spent 29 minutes 4 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #25843 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
Failing checks:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #22263
Fixes #18449
What this PR does / why we need it:
This PR refactors SQL resource accounting into one authoritative statement-level aggregation path.
Observability and AI-analysis benefits
The result is a stable, machine-readable statement-level resource summary that downstream diagnostics and AI analysis can use without reconstructing semantics from unrelated counters.
This PR intentionally provides statement and plan-level facts, not exact per-operator or per-CN memory attribution. A process killed before terminal publication may still have no final statement record; these limits are documented in the RFC.
Validation completed locally: