feat: member role resource assignments #17861
pr.yaml
on: pull_request
Matrix: build / build-and-dockerize
alpha
/
cli-artifacts
3m 50s
alpha
/
...
/
snapshot
2m 19s
graphql-breaking-changes
/
search-token
0s
db-types
/
diff
1m 11s
test
/
db-migrations
1m 20s
test
/
unit
1m 58s
code-style
/
eslint-and-prettier
3m 43s
typescript
/
typecheck
1m 59s
website-preview
/
deployment
10s
storybook-preview
/
deployment
2m 40s
release-candidate
/
snapshot
Matrix: static-analysis / analyze
Matrix: alpha / cli-test
graphql-breaking-changes
/
check
9s
test
/
e2e
6m 13s
Matrix: test / integration
alpha
/
...
/
Build CLI Docker Image
1m 32s
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: "thirtypartswavepolitely", userId: "d4acb3cf-1df4-4805-9cd1-48b1da474129", roleId: "2d644ee7-fe19-4459-bc14-9ab3b214d259" }; 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: \"thirtypartswavepolitely\", userId: \"d4acb3cf-1df4-4805-9cd1-48b1da474129\", roleId: \"2d644ee7-fe19-4459-bc14-9ab3b214d259\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.",
"locations": [
{
"line": 1,
"column": 27
}
]
}
]
}
request-id: s8JNCikZRyW+Iy8XqeU/aA/0000000296
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:821:33
❯ assignMemberRole testkit/seed.ts:814:54
❯ tests/api/organization/members.spec.ts:85: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: "sharpcarrotsmarryoddly", userId: "3d7928c7-30ca-423e-9d71-c7acfe3369ad", roleId: "3359999f-e7f9-44aa-a572-ac0807964209" }; 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: \"sharpcarrotsmarryoddly\", userId: \"3d7928c7-30ca-423e-9d71-c7acfe3369ad\", roleId: \"3359999f-e7f9-44aa-a572-ac0807964209\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.",
"locations": [
{
"line": 1,
"column": 27
}
]
}
]
}
request-id: s8JNCikZRyW+Iy8XqeU/aA/0000000169
❯ 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: "twentydonutswritenoisily", userId: "81b8252f-3463-4055-8166-fd8cc92605d3", roleId: "e2571a09-e8e0-4b4e-90f5-bf6a2d6f849b" }; 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: \"twentydonutswritenoisily\", userId: \"81b8252f-3463-4055-8166-fd8cc92605d3\", roleId: \"e2571a09-e8e0-4b4e-90f5-bf6a2d6f849b\" }; Field \"resources\" of required type \"MemberResourceAssignmentInput!\" was not provided.",
"locations": [
{
"line": 1,
"column": 27
}
]
}
]
}
request-id: s8JNCikZRyW+Iy8XqeU/aA/0000000191
❯ 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 (1)
The job was canceled because "_2" failed.
|
test / integration (1)
The operation was canceled.
|
test / integration (3)
The job was canceled because "_2" failed.
|
test / integration (3)
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
|
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 (-)
|
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#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/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/
|
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/
|
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/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/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#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#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#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/
|
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/
|
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#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#L22
UndefinedVar: Usage of undefined variable '$PORT'
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#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#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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
graphql-hive~console~HO1DYR+13.dockerbuild
|
2.49 MB |
|
graphql-hive~console~V2LN2M.dockerbuild
|
55.3 KB |
|
graphql-hive~console~VDRRVQ+13.dockerbuild
|
2.02 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 |
|