Skip to content

Audit log GraphQL API #15580

Audit log GraphQL API

Audit log GraphQL API #15580

Triggered via pull request November 12, 2024 13:33
Status Failure
Total duration 24m 41s
Artifacts 7

pr.yaml

on: pull_request
build  /  build-and-dockerize
7m 26s
build / build-and-dockerize
graphql-breaking-changes  /  search-token
0s
graphql-breaking-changes / search-token
db-types  /  diff
1m 15s
db-types / diff
test  /  db-migrations
1m 17s
test / db-migrations
test  /  unit
2m 19s
test / unit
code-style  /  eslint-and-prettier
5m 32s
code-style / eslint-and-prettier
typescript  /  typecheck
4m 58s
typescript / typecheck
website-preview  /  deployment
5s
website-preview / deployment
storybook-preview  /  deployment
3m 39s
storybook-preview / deployment
release-candidate  /  snapshot
release-candidate / snapshot
Matrix: static-analysis / analyze
Matrix: test / integration
Matrix: alpha / cli-test
alpha  /  Extract CLI version
0s
alpha / Extract CLI version
graphql-breaking-changes  /  check
7s
graphql-breaking-changes / check
alpha  /  ...  /  Build CLI Docker Image
alpha / publish_docker / Build CLI Docker Image
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 26 warnings
Unhandled error: packages/libraries/yoga/tests/persisted-documents.spec.ts#L744
Error: Snapshot `usage reporting with batch execution and persisted documents 1` mismatched - Expected + Received @@ -4,13 +4,6 @@ Query.a, ], operation: {a}, operationName: anonymous, }, - e8571e61911eea36db5ef7a3ed222aacb0cd5ba1: { - fields: [ - Query.b, - ], - operation: {b}, - operationName: anonymous, - }, } ❯ createMismatchError node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/snapshot/dist/index.js:1647:17 ❯ SnapshotClient.assert node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/snapshot/dist/index.js:1748:13 ❯ Proxy.__INLINE_SNAPSHOT__ node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vitest/dist/chunks/vi.fiQ7lMRF.js:281:27 ❯ Proxy.methodWrapper node_modules/.pnpm/[email protected]/node_modules/chai/chai.js:1591:25 ❯ Object.<anonymous> packages/libraries/yoga/tests/persisted-documents.spec.ts:744:24 ❯ matchBody node_modules/.pnpm/[email protected]/node_modules/nock/lib/match_body.js:42:17 ❯ Interceptor.match node_modules/.pnpm/[email protected]/node_modules/nock/lib/interceptor.js:359:17 ❯ node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:304:9 ❯ InterceptedRequestRouter.startPlayback node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:303:45 This error originated in "packages/libraries/yoga/tests/persisted-documents.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "usage reporting with batch execution and persisted documents". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: packages/libraries/yoga/tests/persisted-documents.spec.ts#L744
Error: Snapshot `usage reporting with batch execution and persisted documents 2` mismatched - Expected + Received @@ -1,13 +1,6 @@ { - 07188723c7bd37a812cb478cc980f83fe5b4026c: { - fields: [ - Query.a, - ], - operation: {a}, - operationName: anonymous, - }, e8571e61911eea36db5ef7a3ed222aacb0cd5ba1: { fields: [ Query.b, ], operation: {b}, ❯ createMismatchError node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/snapshot/dist/index.js:1647:17 ❯ SnapshotClient.assert node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/snapshot/dist/index.js:1748:13 ❯ Proxy.__INLINE_SNAPSHOT__ node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vitest/dist/chunks/vi.fiQ7lMRF.js:281:27 ❯ Proxy.methodWrapper node_modules/.pnpm/[email protected]/node_modules/chai/chai.js:1591:25 ❯ Object.<anonymous> packages/libraries/yoga/tests/persisted-documents.spec.ts:744:24 ❯ matchBody node_modules/.pnpm/[email protected]/node_modules/nock/lib/match_body.js:42:17 ❯ Interceptor.match node_modules/.pnpm/[email protected]/node_modules/nock/lib/interceptor.js:359:17 ❯ node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:304:9 ❯ InterceptedRequestRouter.startPlayback node_modules/.pnpm/[email protected]/node_modules/nock/lib/intercepted_request_router.js:303:45 This error originated in "packages/libraries/yoga/tests/persisted-documents.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "usage reporting with batch execution and persisted documents". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
packages/libraries/yoga/tests/persisted-documents.spec.ts > usage reporting with batch execution and persisted documents: packages/libraries/yoga/tests/persisted-documents.spec.ts#L826
AssertionError: Mocks not yet satisfied: POST http://localhost:80/usage - Expected + Received - true + false ❯ Scope.done node_modules/.pnpm/[email protected]/node_modules/nock/lib/scope.js:205:12 ❯ packages/libraries/yoga/tests/persisted-documents.spec.ts:826:23
test / unit
Process completed with exit code 1.
tests/api/tokens.spec.ts > deleting a token should clear the cache: integration-tests/tests/api/tokens.spec.ts#L52
AssertionError: promise rejected "Error: Expected GraphQL response to have …" instead of resolving ❯ tests/api/tokens.spec.ts:52:32 Caused by: Caused by: Error: Expected GraphQL response to have no errors, but got 1 errors: Invalid token provided endpoint: http://localhost:8082/graphql query: query readTokenInfo { tokenInfo { __typename ... on TokenInfo { hasOrganizationRead: hasOrganizationScope(scope: READ) hasOrganizationDelete: hasOrganizationScope(scope: DELETE) hasOrganizationSettings: hasOrganizationScope(scope: SETTINGS) hasOrganizationIntegrations: hasOrganizationScope(scope: INTEGRATIONS) hasOrganizationMembers: hasOrganizationScope(scope: MEMBERS) hasProjectRead: hasProjectScope(scope: READ) hasProjectDelete: hasProjectScope(scope: DELETE) hasProjectSettings: hasProjectScope(scope: SETTINGS) hasProjectAlerts: hasProjectScope(scope: ALERTS) hasProjectOperationsStoreRead: hasProjectScope(scope: OPERATIONS_STORE_READ) hasProjectOperationsStoreWrite: hasProjectScope(scope: OPERATIONS_STORE_WRITE) hasTargetRead: hasTargetScope(scope: READ) hasTargetDelete: hasTargetScope(scope: DELETE) hasTargetSettings: hasTargetScope(scope: SETTINGS) hasTargetRegistryRead: hasTargetScope(scope: REGISTRY_READ) hasTargetRegistryWrite: hasTargetScope(scope: REGISTRY_WRITE) hasTargetTokensRead: hasTargetScope(scope: TOKENS_READ) hasTargetTokensWrite: hasTargetScope(scope: TOKENS_WRITE) } ... on TokenNotFoundError { message } } } body: { "errors": [ { "message": "Invalid token provided" } ] } request-id: h6iC/xsjRaGYdypcCQuPtA/0000000774 ❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15 ❯ testkit/seed.ts:568:27 ❯ fetchTokenInfo testkit/seed.ts:567:47 ❯ tests/api/tokens.spec.ts:52:3
test / integration (2)
Process completed with exit code 1.
test / integration (3)
The job was canceled because "_2" failed.
test / integration (3)
The action 'run integration tests' has timed out after 10 minutes.
test / integration (3)
The operation was canceled.
test / integration (1)
The job was canceled because "_2" failed.
test / integration (1)
The action 'run integration tests' has timed out after 10 minutes.
test / integration (1)
The operation was canceled.
alpha / npm / snapshot
The following actions use a deprecated Node.js version and will be forced to run on node20: the-guild-org/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 (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 (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.
storybook-preview / deployment
The following actions use a deprecated Node.js version and will be forced to run on node20: cloudflare/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
typescript / typecheck
Failed to restore: Cache service responded with 429
alpha / cli-artifacts
Failed to restore: Cache service responded with 429
code-style / eslint-and-prettier
Failed to restore: Cache service responded with 429
code-style / eslint-and-prettier
Failed to restore: Cache service responded with 429
build / build-and-dockerize
The following actions uses node12 which is deprecated and will be forced to run on node16: vimtor/action-zip@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build / build-and-dockerize
The following actions use a deprecated Node.js version and will be forced to run on node20: vimtor/action-zip@v1, randomairborne/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/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/services.dockerfile#L13
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/services.dockerfile#L14
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#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/migrations.dockerfile#L17
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/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/
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/
test / e2e
Failed to restore: Cache service responded with 429
test / integration (2)
Failed to restore: Cache service responded with 429
test / integration (2)
Failed to restore: Cache service responded with 429

Artifacts

Produced during runtime
Name Size
graphql-hive~console~7AOCF5+13.dockerbuild
1.42 MB
hive-cli-darwin-arm64
39.7 MB
hive-cli-darwin-x64
40.4 MB
hive-cli-linux-arm
40.2 MB
hive-cli-linux-x64
44.9 MB
hive-cli-win-x64
35.3 MB
hive-cli-win-x86
32.8 MB