Skip to content

feat(@graphql-hive/cli): json output #16823

feat(@graphql-hive/cli): json output

feat(@graphql-hive/cli): json output #16823

Triggered via pull request December 20, 2024 04:17
Status Failure
Total duration 20m 50s
Billable time 21m
Artifacts 8

pr.yaml

on: pull_request
Matrix: build / build-and-dockerize
graphql-breaking-changes  /  search-token
0s
graphql-breaking-changes / search-token
db-types  /  diff
1m 18s
db-types / diff
test  /  db-migrations
1m 24s
test / db-migrations
test  /  unit
1m 51s
test / unit
code-style  /  eslint-and-prettier
2m 9s
code-style / eslint-and-prettier
typescript  /  typecheck
4m 17s
typescript / typecheck
website-preview  /  deployment
11s
website-preview / deployment
storybook-preview  /  deployment
6s
storybook-preview / deployment
release-candidate  /  snapshot
release-candidate / snapshot
Matrix: static-analysis / analyze
build  /  publish multiarch manifest
30s
build / publish multiarch manifest
Matrix: alpha / cli-test
alpha  /  Extract CLI version
0s
alpha / Extract CLI version
graphql-breaking-changes  /  check
8s
graphql-breaking-changes / check
Matrix: test / integration
alpha  /  ...  /  Build CLI Docker Image
alpha / publish_docker / Build CLI Docker Image
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 28 warnings
code-style / eslint-and-prettier: packages/libraries/cli/src/commands/dev.ts#L16
'tb' is defined but never used. Allowed unused vars must match /^_/u
code-style / eslint-and-prettier
Process completed with exit code 1.
tests/cli/schema.spec.ts > projectType: 'SINGLE' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user.: integration-tests/tests/cli/schema.spec.ts#L123
Error: Snapshot `projectType: 'SINGLE' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Syntax Error: Unexpected Name "iliketurtles". + Error: Syntax Error: Unexpected Name "iliketurtles". + at SchemaPublish.run (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:86:11) + at async SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:311:22) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: ✖ The SDL is not valid at line 1, column 1: Syntax Error: Unexpected Name "iliketurtles". ❯ tests/cli/schema.spec.ts:123:7
tests/cli/schema.spec.ts > projectType: 'SINGLE' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid: integration-tests/tests/cli/schema.spec.ts#L225
Error: Snapshot `projectType: 'SINGLE' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Request to Hive API failed. Caused by error(s): + Error: Request to Hive API failed. Caused by error(s): - › Invalid token provided + Invalid token provided + at clientErrorToCLIFailure (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:466:10) + at SchemaPublish.catch (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:386:25) + at SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:315:29) + at processTicksAndRejections (node:internal/process/task_queues:105:5) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: __NONE__ ❯ tests/cli/schema.spec.ts:225:7
tests/cli/schema.spec.ts > projectType: 'STITCHING' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user.: integration-tests/tests/cli/schema.spec.ts#L123
Error: Snapshot `projectType: 'STITCHING' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Syntax Error: Unexpected Name "iliketurtles". + Error: Syntax Error: Unexpected Name "iliketurtles". + at SchemaPublish.run (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:86:11) + at async SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:311:22) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: ✖ The SDL is not valid at line 1, column 1: Syntax Error: Unexpected Name "iliketurtles". ❯ tests/cli/schema.spec.ts:123:7
tests/cli/schema.spec.ts > projectType: 'STITCHING' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid: integration-tests/tests/cli/schema.spec.ts#L225
Error: Snapshot `projectType: 'STITCHING' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Request to Hive API failed. Caused by error(s): + Error: Request to Hive API failed. Caused by error(s): - › Invalid token provided + Invalid token provided + at clientErrorToCLIFailure (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:466:10) + at SchemaPublish.catch (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:386:25) + at SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:315:29) + at processTicksAndRejections (node:internal/process/task_queues:105:5) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: __NONE__ ❯ tests/cli/schema.spec.ts:225:7
tests/cli/schema.spec.ts > projectType: 'FEDERATION' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user.: integration-tests/tests/cli/schema.spec.ts#L123
Error: Snapshot `projectType: 'FEDERATION' | model: 'modern' | json: false > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Syntax Error: Unexpected Name "iliketurtles". + Error: Syntax Error: Unexpected Name "iliketurtles". + at SchemaPublish.run (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:86:11) + at async SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:311:22) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: ✖ The SDL is not valid at line 1, column 1: Syntax Error: Unexpected Name "iliketurtles". ❯ tests/cli/schema.spec.ts:123:7
tests/cli/schema.spec.ts > projectType: 'FEDERATION' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid: integration-tests/tests/cli/schema.spec.ts#L225
Error: Snapshot `projectType: 'FEDERATION' | model: 'modern' | json: false > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Request to Hive API failed. Caused by error(s): + Error: Request to Hive API failed. Caused by error(s): - › Invalid token provided + Invalid token provided + at clientErrorToCLIFailure (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:466:10) + at SchemaPublish.catch (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:386:25) + at SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:315:29) + at processTicksAndRejections (node:internal/process/task_queues:105:5) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: __NONE__ ❯ tests/cli/schema.spec.ts:225:7
tests/cli/schema.spec.ts > projectType: 'SINGLE' | model: 'legacy' | json: false > publishing invalid schema SDL provides meaningful feedback for the user.: integration-tests/tests/cli/schema.spec.ts#L123
Error: Snapshot `projectType: 'SINGLE' | model: 'legacy' | json: false > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Syntax Error: Unexpected Name "iliketurtles". + Error: Syntax Error: Unexpected Name "iliketurtles". + at SchemaPublish.run (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:86:11) + at async SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:311:22) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: ✖ The SDL is not valid at line 1, column 1: Syntax Error: Unexpected Name "iliketurtles". ❯ tests/cli/schema.spec.ts:123:7
tests/cli/schema.spec.ts > projectType: 'SINGLE' | model: 'legacy' | json: false > schema:publish should see Invalid Token error when token is invalid: integration-tests/tests/cli/schema.spec.ts#L225
Error: Snapshot `projectType: 'SINGLE' | model: 'legacy' | json: false > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Request to Hive API failed. Caused by error(s): + Error: Request to Hive API failed. Caused by error(s): - › Invalid token provided + Invalid token provided + at clientErrorToCLIFailure (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:466:10) + at SchemaPublish.catch (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:386:25) + at SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:315:29) + at processTicksAndRejections (node:internal/process/task_queues:105:5) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: __NONE__ ❯ tests/cli/schema.spec.ts:225:7
tests/cli/schema.spec.ts > projectType: 'STITCHING' | model: 'legacy' | json: false > publishing invalid schema SDL provides meaningful feedback for the user.: integration-tests/tests/cli/schema.spec.ts#L123
Error: Snapshot `projectType: 'STITCHING' | model: 'legacy' | json: false > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched - Expected + Received :::::::::::::::: CLI FAILURE OUTPUT ::::::::::::::: exitCode------------------------------------------: 2 stderr--------------------------------------------: - › Error: Syntax Error: Unexpected Name "iliketurtles". + Error: Syntax Error: Unexpected Name "iliketurtles". + at SchemaPublish.run (/home/runner/work/console/console/packages/libraries/cli/src/base-command.ts:86:11) + at async SchemaPublish._run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/command.js:311:22) + at async Config.runCommand (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/config/config.js:433:25) + at async run (/home/runner/work/console/console/node_modules/.pnpm/@oclif+core@3.26.6_patch_hash=rmd5oidpiuzwrwylcphsrfavay/node_modules/@oclif/core/lib/main.js:92:16) stdout--------------------------------------------: ✖ The SDL is not valid at line 1, column 1: Syntax Error: Unexpected Name "iliketurtles". ❯ tests/cli/schema.spec.ts:123:7
tests/cli/schema.spec.ts > projectType: 'STITCHING' | model: 'legacy' | json: false > schema:check should throw on corrupted schema: integration-tests/tests/cli/schema.spec.ts#L202
Error: Snapshot `projectType: 'STITCHING' | model: 'legacy' | json: false > schema:check should throw on corrupted schema > schemaCheck 1` mismatched - Expected + Received @@ -6,9 +6,9 @@ stdout--------------------------------------------: ✖ Detected 3 errors - Unknown type User. - Unknown type: User. - - Error: Unknown type: User. + - Unknown type: User. View full report: http://__PATH__ ❯ tests/cli/schema.spec.ts:202:5
test / integration (1)
The job was canceled because "_2" failed.
test / integration (1)
The operation was canceled.
alpha / npm / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
alpha / npm / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
alpha / npm / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
static-analysis / analyze (typescript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
static-analysis / analyze (typescript)
Unable to validate code scanning workflow: MissingPushHook
static-analysis / analyze (javascript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
static-analysis / analyze (javascript)
Unable to validate code scanning workflow: MissingPushHook
alpha / cli-test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L20
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/services.dockerfile#L21
UndefinedVar: Usage of undefined variable '$RELEASE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L21
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/services.dockerfile#L22
UndefinedVar: Usage of undefined variable '$PORT' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Legacy key/value format with whitespace separator should not be used: docker/migrations.dockerfile#L11
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/migrations.dockerfile#L12
UndefinedVar: Usage of undefined variable '$RELEASE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/migrations.dockerfile#L15
UndefinedVar: Usage of undefined variable '$IMAGE_TITLE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/migrations.dockerfile#L17
UndefinedVar: Usage of undefined variable '$IMAGE_DESCRIPTION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/services.dockerfile#L14
UndefinedVar: Usage of undefined variable '$IMAGE_DESCRIPTION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L22
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L21
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L22
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/migrations.dockerfile#L11
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/migrations.dockerfile#L15
UndefinedVar: Usage of undefined variable '$IMAGE_TITLE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/services.dockerfile#L12
UndefinedVar: Usage of undefined variable '$IMAGE_TITLE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/services.dockerfile#L14
UndefinedVar: Usage of undefined variable '$IMAGE_DESCRIPTION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Legacy key/value format with whitespace separator should not be used: docker/services.dockerfile#L20
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/migrations.dockerfile#L10
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Variables should be defined before their use: docker/migrations.dockerfile#L12
UndefinedVar: Usage of undefined variable '$RELEASE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
Variables should be defined before their use: docker/migrations.dockerfile#L17
UndefinedVar: Usage of undefined variable '$IMAGE_DESCRIPTION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Artifacts

Produced during runtime
Name Size
graphql-hive~console~DDPTEZ+13.dockerbuild
1.89 MB
graphql-hive~console~YFV6IM+13.dockerbuild
1.33 MB
hive-cli-darwin-arm64
41.6 MB
hive-cli-darwin-x64
42.3 MB
hive-cli-linux-arm
42.1 MB
hive-cli-linux-x64
46.9 MB
hive-cli-win-x64
37.2 MB
hive-cli-win-x86
34.7 MB