Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass errors coming from the external composition to the end-user #1132

Merged
merged 4 commits into from
Jan 25, 2023

Conversation

kamilkisiela
Copy link
Contributor

Closes #1128

@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2023

🦋 Changeset detected

Latest commit: 800c57a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-hive/external-composition Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2023

🚀 Website Preview

The latest changes to the website are available as preview in: https://af06a322.hive-landing-page.pages.dev

Comment on lines +110 to +132
handler(req, res) {
/**
* @type any
*/
const signature = req.headers[signatureHeaderName];
const error = verifyRequest({
body: JSON.stringify(req.body),
signature: signature,
secret: SECRET + 'wrong = fail',
});

if (error) {
// Failed to verify the request
res.status(500).send(error);
} else {
/**
* @type any
*/
const input = req.body;
const result = composeFederation(input);
res.send(JSON.stringify(result));
}
},

Check failure

Code scanning / CodeQL

Missing rate limiting

This route handler performs [authorization](1), but is not rate-limited.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 25, 2023

🐋 This PR was built and pushed to the following Docker images (tag: 800c57a866c0c24779427c8f075221e009db5aec):

Docker Bake metadata
{
"app": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The app of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/app",
      "build-arg:PORT": "3000",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "app.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The app of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/app",
      "build-arg:PORT": "3000",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "app.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:3f3090d54c58211137678904248b4ac2b62dc19ed3acf74a999c06ca2d4c4801",
    "size": 743
  },
  "containerimage.digest": "sha256:3f3090d54c58211137678904248b4ac2b62dc19ed3acf74a999c06ca2d4c4801",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/app:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/app:kamil_external_composition_pass_errors"
},
"composition-federation-2": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "Federation 2 Composition Service for GraphQL Hive.",
      "build-arg:IMAGE_TITLE": "graphql-hive/composition-federation-2",
      "build-arg:PORT": "3069",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "Federation 2 Composition Service for GraphQL Hive.",
      "build-arg:IMAGE_TITLE": "graphql-hive/composition-federation-2",
      "build-arg:PORT": "3069",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:3caf193061b7cf02833851ef44cbd1a1bfac58edb5411a811ea0599fed3f6cbe",
    "size": 743
  },
  "containerimage.digest": "sha256:3caf193061b7cf02833851ef44cbd1a1bfac58edb5411a811ea0599fed3f6cbe",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:kamil_external_composition_pass_errors"
},
"docs": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The docs of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/docs",
      "build-arg:PORT": "3000",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "app.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The docs of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/docs",
      "build-arg:PORT": "3000",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "app.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:14774246f4a7b4bc2547aae56e42f8cd367800df58db1dd7a40e252dda63b471",
    "size": 743
  },
  "containerimage.digest": "sha256:14774246f4a7b4bc2547aae56e42f8cd367800df58db1dd7a40e252dda63b471",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/docs:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/docs:kamil_external_composition_pass_errors"
},
"emails": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The emails service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/emails",
      "build-arg:PORT": "3006",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The emails service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/emails",
      "build-arg:PORT": "3006",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:820f3d27f40b500910e482cca1a910a3cf36ee166830996e2a84c5170f23a570",
    "size": 743
  },
  "containerimage.digest": "sha256:820f3d27f40b500910e482cca1a910a3cf36ee166830996e2a84c5170f23a570",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/emails:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/emails:kamil_external_composition_pass_errors"
},
"rate-limit": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The rate limit service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/rate-limit",
      "build-arg:PORT": "3009",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The rate limit service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/rate-limit",
      "build-arg:PORT": "3009",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:81e0272bbbe7f16b93214605f7dfd3fb3a3bdf5a8de3fbac1c8297861b9d69d4",
    "size": 743
  },
  "containerimage.digest": "sha256:81e0272bbbe7f16b93214605f7dfd3fb3a3bdf5a8de3fbac1c8297861b9d69d4",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/rate-limit:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/rate-limit:kamil_external_composition_pass_errors"
},
"schema": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The schema service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/rate-limit",
      "build-arg:PORT": "3002",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The schema service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/rate-limit",
      "build-arg:PORT": "3002",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:c2b2a98a56d54ce59c0b79426c0d56c3f0e2bcf6934e9c805c5e551590995985",
    "size": 743
  },
  "containerimage.digest": "sha256:c2b2a98a56d54ce59c0b79426c0d56c3f0e2bcf6934e9c805c5e551590995985",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/schema:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/schema:kamil_external_composition_pass_errors"
},
"server": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The server service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/server",
      "build-arg:PORT": "3001",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The server service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/server",
      "build-arg:PORT": "3001",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:830e717e08470445149b54dfbeffb35019e9e707ac18f6e511463e3ce00d7f78",
    "size": 743
  },
  "containerimage.digest": "sha256:830e717e08470445149b54dfbeffb35019e9e707ac18f6e511463e3ce00d7f78",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/server:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/server:kamil_external_composition_pass_errors"
},
"storage": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The migrations service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/storage",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "migrations.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:IMAGE_DESCRIPTION": "The migrations service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/storage",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "migrations.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:d40c12b0862e9a28c37721a6d67a63822897b74f2dada82768f89e671c677714",
    "size": 743
  },
  "containerimage.digest": "sha256:d40c12b0862e9a28c37721a6d67a63822897b74f2dada82768f89e671c677714",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/storage:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/storage:kamil_external_composition_pass_errors"
},
"stripe-billing": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The stripe billing service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/stripe-billing",
      "build-arg:PORT": "3010",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The stripe billing service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/stripe-billing",
      "build-arg:PORT": "3010",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:5d28f7adb58b96874771cb69d97cbbc00deee4e8b5e0cfa1916b67da5068a037",
    "size": 743
  },
  "containerimage.digest": "sha256:5d28f7adb58b96874771cb69d97cbbc00deee4e8b5e0cfa1916b67da5068a037",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/stripe-billing:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/stripe-billing:kamil_external_composition_pass_errors"
},
"tokens": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The tokens service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/tokens",
      "build-arg:PORT": "3003",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The tokens service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/tokens",
      "build-arg:PORT": "3003",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:bdaf0c00ded249feb273406fee81c93497865f8a3ae614efa3af867b9e3fa843",
    "size": 743
  },
  "containerimage.digest": "sha256:bdaf0c00ded249feb273406fee81c93497865f8a3ae614efa3af867b9e3fa843",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/tokens:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/tokens:kamil_external_composition_pass_errors"
},
"usage": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage",
      "build-arg:PORT": "3006",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage",
      "build-arg:PORT": "3006",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:32a313d9ce19f00735f5bb84650701388a9280574420991a6bc4c974e7e93346",
    "size": 743
  },
  "containerimage.digest": "sha256:32a313d9ce19f00735f5bb84650701388a9280574420991a6bc4c974e7e93346",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/usage:kamil_external_composition_pass_errors"
},
"usage-estimator": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage estimator service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage-estimator",
      "build-arg:PORT": "3008",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage estimator service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage-estimator",
      "build-arg:PORT": "3008",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:b44e20a61511461ee1329931657adecda945ce35ba7923db599257d12afb794f",
    "size": 743
  },
  "containerimage.digest": "sha256:b44e20a61511461ee1329931657adecda945ce35ba7923db599257d12afb794f",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-estimator:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/usage-estimator:kamil_external_composition_pass_errors"
},
"usage-ingestor": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage-ingestor",
      "build-arg:PORT": "3007",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The usage ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/usage-ingestor",
      "build-arg:PORT": "3007",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:d9388630be2ecdb6b711fd4dea0d9a15d637bbefd8c948d2909024732dfb9ce3",
    "size": 743
  },
  "containerimage.digest": "sha256:d9388630be2ecdb6b711fd4dea0d9a15d637bbefd8c948d2909024732dfb9ce3",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:kamil_external_composition_pass_errors"
},
"webhooks": {
  "containerimage.buildinfo/linux/amd64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The webhooks ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/webhooks",
      "build-arg:PORT": "3005",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.buildinfo/linux/arm64": {
    "frontend": "dockerfile.v0",
    "attrs": {
      "build-arg:HEALTHCHECK_CMD": "wget --spider -q http://127.0.0.1:${PORT}/_readiness",
      "build-arg:IMAGE_DESCRIPTION": "The webhooks ingestor service of the GraphQL Hive project.",
      "build-arg:IMAGE_TITLE": "graphql-hive/webhooks",
      "build-arg:PORT": "3005",
      "build-arg:RELEASE": "800c57a866c0c24779427c8f075221e009db5aec",
      "filename": "services.dockerfile"
    },
    "sources": [
      {
        "type": "docker-image",
        "ref": "docker.io/library/node:18.13.0-slim",
        "pin": "sha256:bc946484118735406562f17c57ddf5fded436e175b6a51f827aa6540ba1e13de"
      }
    ]
  },
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:4207be95133a3bde1666e04b8f73ebc46abf48248d23180ec8fea55363df8597",
    "size": 743
  },
  "containerimage.digest": "sha256:4207be95133a3bde1666e04b8f73ebc46abf48248d23180ec8fea55363df8597",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/webhooks:800c57a866c0c24779427c8f075221e009db5aec,ghcr.io/kamilkisiela/graphql-hive/webhooks:kamil_external_composition_pass_errors"
}
}

@kamilkisiela kamilkisiela force-pushed the kamil-external-composition-pass-errors branch from ad750d6 to 28b4aae Compare January 25, 2023 15:27
@github-actions
Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-hive/external-composition 0.0.2-alpha-20230125153836-c607f8f6 npm ↗︎ unpkg ↗︎

@kamilkisiela kamilkisiela merged commit fcec5f7 into main Jan 25, 2023
@kamilkisiela kamilkisiela deleted the kamil-external-composition-pass-errors branch January 25, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error during external composition are not exposed to the end-user
2 participants