Add --section flag and TUI file-group drill-down#1
Open
khluu wants to merge 1 commit into
Open
Conversation
Expose the TUI's section drill-down capability from the CLI via a new --section flag. This lets users drill into a group section (e.g. the docker running command block) to see individual pytest tests, docker steps, or shell commands without launching the TUI. In the TUI, add an intermediate file-group view when expanding pytest sections. Instead of jumping straight to ~200 individual tests, the TUI now first shows test files grouped by filename with total duration and test count, then drilling into a file shows its individual tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
amrmahdi
reviewed
Mar 13, 2026
| forceWaterfall bool | ||
| tuiMode bool | ||
| threshold time.Duration | ||
| section string |
Collaborator
Author
There was a problem hiding this comment.
do you mean name the arg to something else? the section names vary job by job so it's hard to pinpoint exactly the section name
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.
Summary
--sectionflag: Drill into a group section by name (substring match) to see individual pytest tests, docker steps, or shell commands without launching the TUI. Prints available section names on mismatch.Motivation
For jobs like "V1 e2e + engine (1 GPU)", bkslow shows a single 2h14m
:docker: Running commandblock. The TUI already supports drilling into sections viaAnalyzeSectionLines, but:Examples
In the TUI, the new navigation flow is:
Test plan
go build ./cmd/bkslowcompiles cleanlygo test ./...all tests pass--sectiondrills into matching section--sectionprints available names and errors--thresholdworks with--section🤖 Generated with Claude Code