Skip to content

Manual job status renders “Status Unknown”

Checklist

Summary

The job status Manual is presented as Status Unknown in the sidebar pipeline view.

Steps to reproduce

  1. Create a project
  2. Add a .gitlab-ci.yml
  3. Add two jobs like:
    staging:
      script: echo Deployed to staging!
    production:
      rules:
        - when: manual
  4. Open the project in VS Code
  5. See the job status in the sidebar

image

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.