Skip to content

Move pipelines list to GraphQL - Part 1

Payton Burdette requested to merge pipeline-list-graphql-effort-1 into master

What does this MR do?

This is the first MR in a series of MR's to complete a larger effort.

What is that effort? We are moving the Pipelines List feature of our product over to GraphQL. To safely do this we are going to introduce this refactor behind a feature flag (:graphql_pipelines_list). We are also going to tackle some technical debt in this area. Some of that technical debt includes events, homegrown polling and a homegrown store.

The approach is to create small copies of components within app/assets/javascripts/pipelines/components/pipelines_list_new. Those changes will handle the new data structure we receive as well as remove the technical debt.

What does this MR do?

  • Creates a safe place for the rewrite
  • Introduces :graphql_pipelines_list
  • Setups Apollo
  • Rewrites the injection point to now use dynamic imports

What will the following MR do?

  • Write GraphQL query
  • Start rewriting top level pipelines component in app/assets/javascripts/pipelines/components/pipelines_list_new

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Payton Burdette

Merge request reports