Skip to content

feat: member role resource assignments #17858

feat: member role resource assignments

feat: member role resource assignments #17858

Triggered via pull request January 20, 2025 15:22
Status Failure
Total duration 17m 43s
Billable time 22m
Artifacts 9

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 10s
db-types / diff
test  /  db-migrations
1m 31s
test / db-migrations
test  /  unit
1m 55s
test / unit
code-style  /  eslint-and-prettier
4m 51s
code-style / eslint-and-prettier
typescript  /  typecheck
2m 10s
typescript / typecheck
website-preview  /  deployment
6s
website-preview / deployment
storybook-preview  /  deployment
2m 45s
storybook-preview / deployment
release-candidate  /  snapshot
release-candidate / snapshot
Matrix: static-analysis / analyze
build  /  publish multiarch manifest
22s
build / publish multiarch manifest
Matrix: alpha / cli-test
alpha  /  Extract CLI version
0s
alpha / Extract CLI version
graphql-breaking-changes  /  check
7s
graphql-breaking-changes / check
Matrix: test / integration
alpha  /  ...  /  Build CLI Docker Image
1m 45s
alpha / publish_docker / Build CLI Docker Image
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 37 warnings
db-types / diff
Process completed with exit code 1.
typescript / typecheck
Property 'resources' is missing in type '{ organizationSlug: string; roleId: string; userId: string; }' but required in type 'AssignMemberRoleInput'.
typescript / typecheck
Process completed with exit code 2.
tests/api/organization/members.spec.ts > cannot delete a role with members: integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors: Variable "$input" got invalid value { organizationSlug: "bittersitessinfreely", userId: "d6385f4a-a4ba-4f6e-8e6d-48c2368fa358", roleId: "a3f32461-f530-4d59-b17e-38ff67c1ff80" }; Field "resources" of required type "MemberResourceAssignmentInput!" was not provided. endpoint: http://localhost:8082/graphql query: mutation assignMemberRole($input: AssignMemberRoleInput!) { assignMemberRole(input: $input) { ok { updatedMember { id } } error { message } } } body: { "errors": [ { "message": "Variable \"$input\" got invalid value { organizationSlug: \"bittersitessinfreely\", userId: \"d6385f4a-a4ba-4f6e-8e6d-48c2368fa358\", roleId: \"a3f32461-f530-4d59-b17e-38ff67c1ff80\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.", "locations": [ { "line": 1, "column": 27 } ] } ] } request-id: h5nc4L+iT1mnIOpUZRya3g/0000000281 ❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15 ❯ testkit/seed.ts:821:33 ❯ assignMemberRole testkit/seed.ts:814:54 ❯ tests/api/organization/members.spec.ts:87:3
tests/api/policy/policy-access.spec.ts > Policy Access > Project > should successfully update Project.schemaPolicy if the user has access to SETTINGS: integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors: Variable "$input" got invalid value { organizationSlug: "hotdancersstayrapidly", userId: "6a970157-ce53-4818-98b5-a392a401545c", roleId: "8845e430-168d-48d9-862c-d1e1fafa6d79" }; Field "resources" of required type "MemberResourceAssignmentInput!" was not provided. endpoint: http://localhost:8082/graphql query: mutation assignMemberRole($input: AssignMemberRoleInput!) { assignMemberRole(input: $input) { ok { updatedMember { id } } error { message } } } body: { "errors": [ { "message": "Variable \"$input\" got invalid value { organizationSlug: \"hotdancersstayrapidly\", userId: \"6a970157-ce53-4818-98b5-a392a401545c\", roleId: \"8845e430-168d-48d9-862c-d1e1fafa6d79\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.", "locations": [ { "line": 1, "column": 27 } ] } ] } request-id: h5nc4L+iT1mnIOpUZRya3g/0000000171 ❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15 ❯ testkit/seed.ts:821:33 ❯ assignMemberRole testkit/seed.ts:814:54 ❯ tests/api/policy/policy-access.spec.ts:64:9
tests/api/policy/policy-access.spec.ts > Policy Access > Organization > should successfully update Organization.schemaPolicy if the user has access to SETTINGS: integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors: Variable "$input" got invalid value { organizationSlug: "shybadgersthrowknowlingly", userId: "5f1598ff-94b3-4f1f-b1c7-0926a7cd8031", roleId: "144e1ad0-ce65-4e7a-b803-cd7f02dc7785" }; Field "resources" of required type "MemberResourceAssignmentInput!" was not provided. endpoint: http://localhost:8082/graphql query: mutation assignMemberRole($input: AssignMemberRoleInput!) { assignMemberRole(input: $input) { ok { updatedMember { id } } error { message } } } body: { "errors": [ { "message": "Variable \"$input\" got invalid value { organizationSlug: \"shybadgersthrowknowlingly\", userId: \"5f1598ff-94b3-4f1f-b1c7-0926a7cd8031\", roleId: \"144e1ad0-ce65-4e7a-b803-cd7f02dc7785\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.", "locations": [ { "line": 1, "column": 27 } ] } ] } request-id: h5nc4L+iT1mnIOpUZRya3g/0000000207 ❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15 ❯ testkit/seed.ts:821:33 ❯ assignMemberRole testkit/seed.ts:814:54 ❯ tests/api/policy/policy-access.spec.ts:195:9
test / integration (2)
Process completed with exit code 1.
test / integration (3)
The job was canceled because "_2" failed.
test / integration (3)
The operation was canceled.
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/
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 (javascript)
Unable to validate code scanning workflow: MissingPushHook
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
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
Variables should be defined before their use: docker/cli.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/cli.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/cli.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/cli.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/cli.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/cli.dockerfile#L12
UndefinedVar: Usage of undefined variable '$IMAGE_TITLE' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
code-style / eslint-and-prettier: packages/web/app/src/components/organization/members/permission-selector.tsx#L125
Arbitrary value classname '-m-[1px]' should not start with a dash (-)
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/
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#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/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/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#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/
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/
Legacy key/value format with whitespace separator should not be used: docker/migrations.dockerfile#L12
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#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#L13
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/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/
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#L21
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#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/
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#L12
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/

Artifacts

Produced during runtime
Name Size
graphql-hive~console~I3LUG1.dockerbuild
58.4 KB
graphql-hive~console~LUZHBQ+13.dockerbuild
1.77 MB
graphql-hive~console~OL82EC+13.dockerbuild
1.33 MB
hive-cli-darwin-arm64
42.1 MB
hive-cli-darwin-x64
42.8 MB
hive-cli-linux-arm
42.6 MB
hive-cli-linux-x64
47.5 MB
hive-cli-win-x64
37.7 MB
hive-cli-win-x86
35.1 MB