You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
Description
Getting error when running status subcommand on glab ci. Meanwhile glab ci view working as expected. Expected Behavior vs Actual Behavior
Show status of latest pipeline with option to view logs & retry.
I can reproduce this, will have a look together with #721.
Edit: Actually, it's not really related to #721 - the issue appears if a job requires a manual trigger and has not started yet. I'll send a separate PR for that.
This commit fixes a bug where a `glab ci status` would panic if there is
a job within that CI pipeline that is not triggered yet. In such a case,
the StartedAt field is not populated, which triggered a panic.
To fix this, we use `time.Now()` if `StartedAt` is nil, which means that
the job will be displayed with a duration of 0.
Fixesprofclems#727
This commit fixes a bug where a `glab ci status` would panic if there is
a job within that CI pipeline that is not triggered yet. In such a case,
the StartedAt field is not populated, which triggered a panic.
To fix this, we use `time.Now()` if `StartedAt` is nil, which means that
the job will be displayed with a duration of 0.
Fixesprofclems#727
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugSomething isn't workingneeds: user inputMore info is required about this issue or PR
Description
Getting error when running
status
subcommand onglab ci
. Meanwhileglab ci view
working as expected.Expected Behavior vs Actual Behavior
Show status of latest pipeline with option to view logs & retry.
Logs
Your Environment
Ubuntu 20.04 running as a Docker container on Amazon Linux
glab --version
): 1.17.0The text was updated successfully, but these errors were encountered: