Skip to content

Add id, size and epireAt to CiJobArtifacts GraphQL Type

Lee Tickett requested to merge 33418-enhance-graphql-job-artifact into master

What does this MR do and why?

Second attempt after narrowly avoiding a broken production deployment 😓 !96422 (merged)

This MR introduces id, size and expiry to the CiJobArtifact GraphQL type to support some frontend improvements we want to make #33418 (closed)

Screenshots or screen recordings

s

How to set up and validate locally

https://gdk.test:3000/-/graphql-explorer

query getJobArtifacts {
  project(fullPath: "gnuwget/wget2") {
    jobs(statuses: [SUCCESS, FAILED]) {
      nodes {
        id
        pipeline {
          id
        }
        artifacts {
          nodes {
            id
            size
            expireAt
          }
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Lee Tickett

Merge request reports