Manual job status renders “Status Unknown”
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page) - Extension version: Put your extension version here
-
I'm using the latest VS Code version (find the latest version here) - VS Code version: 1.61.2
-
I'm using a supported version of GitLab (see README for the supported version) - GitLab version: happens on
gitlab.com
- GitLab version: happens on
Summary
The job status Manual is presented as Status Unknown in the sidebar pipeline view.
Steps to reproduce
- Create a project
- Add a
.gitlab-ci.yml
- Add two jobs like:
staging: script: echo Deployed to staging! production: rules: - when: manual
- Open the project in VS Code
- See the job status in the sidebar
What is the current bug behavior?
The job shows Status Unknown as status when it is manually triggerable.
What is the expected correct behavior?
The job shows Delayed as status when it is manually triggerable.
Relevant logs and/or screenshots
Possible fixes
See the STATUS_METADATA
in src/gitlab/ci_status_metadata.ts
. manual
has to be added.
Related to #489 (closed), should be the same type of change.