Skip to content

feat: //ci/githubstats:query: add --columns option#8856

Open
basvandijk wants to merge 1 commit intobasvandijk/total_durationfrom
basvandijk/support-columns-option
Open

feat: //ci/githubstats:query: add --columns option#8856
basvandijk wants to merge 1 commit intobasvandijk/total_durationfrom
basvandijk/support-columns-option

Conversation

@basvandijk
Copy link
Collaborator

@basvandijk basvandijk commented Feb 14, 2026

Sometimes we're not interested in certain columns, especially when posting the result of a query to slack which has a limited width. In the past I had to manually trim the result so that it would fit. This adds a --columns option to specify which columns to display or hide.

$ bazel run //ci/githubstats:query -- top --help
...
  --columns COLS        Comma-separated list of columns to display in order or exclude (if preceded by -). Available columns:
                        label,total,non_success,flaky,timeout,fail,non_success%,flaky%,timeout%,fail%,impact,duration_p90,owners (default: None)
$ bazel run //ci/githubstats:query -- last --help
...
  --columns COLS        Comma-separated list of columns to display in order or exclude (if preceded by -). Available columns:
                        last_started_at,duration,status,branch,PR,commit,buildbuddy,errors (default: None)

@github-actions github-actions bot added the feat label Feb 14, 2026
@basvandijk basvandijk force-pushed the basvandijk/support-columns-option branch from b3220a1 to f089b36 Compare February 14, 2026 11:00
@basvandijk basvandijk marked this pull request as ready for review February 14, 2026 20:23
@basvandijk basvandijk requested a review from a team as a code owner February 14, 2026 20:23
@github-actions github-actions bot added the @idx label Feb 14, 2026
@basvandijk basvandijk force-pushed the basvandijk/support-columns-option branch 2 times, most recently from 75a4c83 to c7c904a Compare February 15, 2026 12:20
@basvandijk basvandijk requested review from a team as code owners February 15, 2026 12:20
@basvandijk basvandijk changed the base branch from master to basvandijk/total_duration February 15, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants