buildbot / buildbot/buildbot

Feature request: collapseStepIf parameter for BuildStep

Open
#8,634 1 comment 0 reactions 0 assignees View on GitHub
web UI
Dominant language
Python
Stars
5.5k
Forks
1.7k
Avg merge
2d 7h
Merged PRs (30d)
6

Description

Similar to hideStepIf, there could be a collapseStepIf parameter that takes a bool or function to control whether the step is collapsed by default in the build details web UI. Currently, steps that return SUCCESS are always collapsed and others are always expanded, without any customization.

For context, our team often uses the Build summary popup from the Console view to triage failures, but we often have (skipped) steps with logs that distract from the actual failure. We still want the skipped step to not be hidden so we can see in the logs why it was skipped. The only way to customize logs we've found is by naming one of them Summary which gets auto-expanded, so we'd like a way to do auto-collapsing as well.

Treating SKIPPED steps the same as SUCCESS and always auto-collapsing them would potentially solve our problem, but a custom collapseStepIf would be the most useful to general users and seems like a natural companion to the existing hideStepIf.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.