Skip to content

GraphQL: Create `project` property in `CiJob` type

Currently, we have to access projects through job.pipeline.project, which forces the loading of the pipeline unnecessarily, given that the ci_builds table represented by CiJob already holds a project_id value. This would allow us to simplify the query in app/assets/javascripts/ci/runner/graphql/show/runner_jobs.query.graphql.