Skip to content

Adds ID to group, stage, and detailed status

Laura Montemayor requested to merge lm-add-id-to-some-gql-types into master

What does this MR do?

Adds ID to some CI types: StageType, DetailedStatusType, GroupType, ActionStatusType and BuildNeedType

Screenshots (strongly suggested)

{
  project(fullPath: "root/the-visitor") {
    id
    pipeline(iid: 1) {
      detailedStatus{
        id
      }
      sourceJob {
        id
      }
      downstream {
        nodes {
          id
        }
      }
      upstream {
        id
      }
      stages {
        nodes {
          id
          detailedStatus{
            id
          }
          groups {
            nodes {
              id
            }
          }
        }
      }
    }
  }
}
{
  "data": {
    "project": {
      "id": "gid://gitlab/Project/20",
      "pipeline": {
        "detailedStatus": {
          "id": "created"
        },
        "sourceJob": null,
        "downstream": {
          "nodes": []
        },
        "upstream": null,
        "stages": {
          "nodes": [
            {
              "id": "gid://gitlab/Ci::Stage/173",
              "detailedStatus": {
                "id": "created"
              },
              "groups": {
                "nodes": [
                  {
                    "id": "173-build ruby"
                  }
                ]
              }
            }
          ]
        }
      }
    }
  }
}

Does this MR meet the acceptance criteria?

Conformity

#332458 (closed)

Edited by Laura Montemayor

Merge request reports

Loading