Apollo MR pipelines - Add manual actions
Summary
Noted in #467551, since has_manual_actions
and has_scheduled_actions
currently don't exist in graphQL, the manual actions component app/assets/javascripts/ci/pipelines_page/components/pipelines_manual_actions.vue
never renders in the pipeline operations app/assets/javascripts/ci/pipelines_page/components/pipeline_operations.vue
.
Proposal
Add has_manual_actions
and has_scheduled_actions
fields to graphQL so that the manual actions component will render in the pipeline entity view.
Confirm purpose and User Reception (how does this benefit the user?)
Additional details
Some relevant technical details, if applicable, such as:
- Does this need a feature flag?
- Does there need to be an associated instrumentation issue created related to this work?
- Is there an example response showing the data structure that should be returned (new endpoints only)?
- What permissions should be used?
- Is this EE or CE?
-
EE -
CE
-
- Additional comments:
The manual actions component app/assets/javascripts/ci/pipelines_page/components/pipelines_manual_actions.vue
never render in the pipeline operations app/assets/javascripts/ci/pipelines_page/components/pipeline_operations.vue
because there are 2 missing graphQL properties: has_manual_actions
and has_scheduled_actions
.
These are missing from the graphql API at the moment, so we may need a temporary frontend workaround here (computing these values based on available pipeline information such as statuses and parsing all jobs for manuals for example) or to add these fields to the graphql API on a pipeline entity.