Skip to content

Delayed job status renders “Status Unknown”

Checklist

Summary

The job status Delayed 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: delayed
          start_in: 30m
  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 delayed.

What is the expected correct behavior?

The job shows Delayed as status when it is delayed.

Relevant logs and/or screenshots

Possible fixes

See the STATUS_METADATA in src/gitlab/ci_status_metadata.ts. delayed has to be added.