Commit 22657160 authored by Alex Kalderimis's avatar Alex Kalderimis

Ensure pipelines and jobs are in sync

Both have `queuedDuration` field.
parent 5face7e2
...@@ -46,10 +46,6 @@ module Types ...@@ -46,10 +46,6 @@ module Types
type: Types::DurationType, type: Types::DurationType,
null: true, null: true,
description: 'How long this job was enqueued before starting.' description: 'How long this job was enqueued before starting.'
field :duration,
type: Types::DurationType,
null: true,
description: 'How long this job ran for, if it has started.'
field :detailed_status, Types::Ci::DetailedStatusType, null: true, field :detailed_status, Types::Ci::DetailedStatusType, null: true,
description: 'Detailed status of the job.' description: 'Detailed status of the job.'
......
...@@ -39,6 +39,9 @@ module Types ...@@ -39,6 +39,9 @@ module Types
field :duration, GraphQL::INT_TYPE, null: true, field :duration, GraphQL::INT_TYPE, null: true,
description: 'Duration of the pipeline in seconds.' description: 'Duration of the pipeline in seconds.'
field :queued_duration, Types::DurationType, null: true,
description: 'How long the pipeline was queued before starting.'
field :coverage, GraphQL::FLOAT_TYPE, null: true, field :coverage, GraphQL::FLOAT_TYPE, null: true,
description: 'Coverage percentage.' description: 'Coverage percentage.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment