Feature request: Follow resource logs across multiple build steps #1018
Labels
area/ui
Indicates a change to the UI
enhancement
Indicates an improvement to a feature
status/pending
Indicates the item is pending
Description
A viewing option on the
Build
page which performs the ⏯️start following resource logs
feature until the step is complete, at which point it jumps to the next step and continues following that step's resource logs, repeating until the build is complete.Unresolved Questions
Staged Builds?
The flow isn't too complicated for linear single-stage pipelines (step 1 finishes, step 2 opens + follows, step 2 finishes, step 3 opens + follows, ..., step 10 finishes, pipeline done), but it does get a little messy with staged pipelines.
Here are some different ideas for how to handle the order while staging:
I'd probably recommend from a simplicity standpoint that the end user be able to toggle between Top First and Bottom First, but I haven't thought out all the implications of this so 🤷🏻
Build Completion State?
When the pipeline is done, does the view stay where the pipeline ended? Does it return to the top? If the build failed and there are
ruleset
s forstatus: failure
, do those steps get followed, or does the view remain on the failing step?Value
(this should have no impact on security)
Easier Passive Notice of Build Failure
Sometimes it can be hard to notice that a build has failed. You throw the build up on a separate monitor and have it following the resource logs for the step you're interested in, but that step succeeds. A subsequent step then fails, and you haven't noticed it. You aren't near the top of the page any more, so you don't get the large red banner content. The step you were viewing shows green, and the red status of the failed step is off-screen below.
To really drive this one home, here's an example of a failed build I've experienced. I included all the extra visual junk going on in my browser to give a truly full picture of my user experience.
Yes, I have a tab problem.
Less Input Required when Following a Long Build
My team has 27 steps that occur in our production publish build. That's not something that you can really follow along through. You just kind of park it on the most important expected build step and wait. A failure before that point may fall victim to the point I made above.
Definition of Done
On the build page for a build which has just begun, you're able to click a single button which will cause the active step logs to be followed. When that step ends, another active step is followed, repeating until the build is complete / failed / skipped.
Effort (Optional)
I don't know much about working with the elm framework. I'd guess for a user experienced with that stack that this would be a half day of coding and testing and whatnot? I am not an experienced user, it'd probably take me a week.
Impacted Personas (Optional)
Engineering users of Vela who monitor active builds.
The text was updated successfully, but these errors were encountered: