feat(frontend): support await-tree dump - #26552
Open
chenzl25 wants to merge 1 commit into
Open
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1 task
wenym1
reviewed
Aug 3, 2026
wenym1
left a comment
Contributor
There was a problem hiding this comment.
Seems that we don't have any newly added instrument logic. Do we already have instrument_await in frontend code, but just not enabled because we didn't register the await tree root in frontend?
chenzl25
force-pushed
the
dylan/frontend-await-tree-dump
branch
from
August 3, 2026 11:09
f54fe03 to
f801fa8
Compare
Contributor
Author
|
@wenym1 You are right—there was no existing
The local query root can also reuse existing batch/storage child spans. Thanks for catching this. |
chenzl25
force-pushed
the
dylan/frontend-await-tree-dump
branch
from
August 4, 2026 06:25
f801fa8 to
2691f56
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This is stacked on #26515, which adds await-tree roots for batch tasks on compute nodes. This PR completes the frontend side of the dump path so
risectl await-tree dumpcan show the query driver and local-mode frontend execution as well.streaming.async_stack_tracesetting; no new configuration is introduced.Local Queryroot. Await spans from the local executor, including local exchange waits added by feat(batch): support await-tree dump for batch tasks #26515, are therefore attached to the same tree.Distributed Queryroot.MonitorService::stack_traceon frontend nodes and return the active query trees in a newfrontend_tracesfield.--- Frontend Traces ---section inrisectl await-tree dump.When async stack tracing is disabled, the frontend monitor service returns an empty trace map.
Testing
cargo check -p risingwave_pbcargo check -p risingwave_frontend -p risingwave_meta -p risingwave_ctlcargo check -p risingwave_computecargo clippy -p risingwave_frontend -p risingwave_meta -p risingwave_ctl -p risingwave_compute --lib -- -D warningscargo sort --check --workspace --groupedcargo fmt --allgit diff --checkChecklist
Documentation
Release note