Skip to content

update resolver to query user by orcid or id #702

update resolver to query user by orcid or id

update resolver to query user by orcid or id #702

Triggered via pull request December 19, 2024 23:27
Status Failure
Total duration 2m 54s
Artifacts

typescript.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
packages/openneuro-app/src/scripts/users/__tests__/user-query.spec.tsx > UserQuery Component > renders UserRoutes for a valid ORCID: packages/openneuro-app/src/scripts/users/user-query.tsx#L40
Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.11.8%22%2C%22message%22%3A50%2C%22args%22%3A%5B%5D%7D ❯ new InvariantError .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:11:28 ❯ Object.originalInvariant [as invariant] .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:24:15 ❯ Object.invariant .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/utilities/globals/invariantWrappers.js:28:9 ❯ useApolloClient .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useApolloClient.js:22:5 ❯ Proxy.useQuery .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useQuery.js:72:44 ❯ UserQuery packages/openneuro-app/src/scripts/users/user-query.tsx:40:36 ❯ renderWithHooks .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:27426:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { framesToPop: 1 }
packages/openneuro-app/src/scripts/users/__tests__/user-query.spec.tsx > UserQuery Component > renders FourOFourPage for an unknown ORCID: packages/openneuro-app/src/scripts/users/user-query.tsx#L40
Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.11.8%22%2C%22message%22%3A50%2C%22args%22%3A%5B%5D%7D ❯ new InvariantError .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:11:28 ❯ Object.originalInvariant [as invariant] .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:24:15 ❯ Object.invariant .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/utilities/globals/invariantWrappers.js:28:9 ❯ useApolloClient .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useApolloClient.js:22:5 ❯ Proxy.useQuery .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useQuery.js:72:44 ❯ UserQuery packages/openneuro-app/src/scripts/users/user-query.tsx:40:36 ❯ renderWithHooks .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:27426:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { framesToPop: 1 }
build (20.x)
Process completed with exit code 1.
build (21.x)
The job was canceled because "_20_x" failed.
packages/openneuro-app/src/scripts/users/__tests__/user-query.spec.tsx > UserQuery Component > renders UserRoutes for a valid ORCID: packages/openneuro-app/src/scripts/users/user-query.tsx#L40
Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.11.8%22%2C%22message%22%3A50%2C%22args%22%3A%5B%5D%7D ❯ new InvariantError .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:11:28 ❯ Object.originalInvariant [as invariant] .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:24:15 ❯ Object.invariant .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/utilities/globals/invariantWrappers.js:28:9 ❯ useApolloClient .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useApolloClient.js:22:5 ❯ Proxy.useQuery .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useQuery.js:72:44 ❯ UserQuery packages/openneuro-app/src/scripts/users/user-query.tsx:40:36 ❯ renderWithHooks .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:27426:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { framesToPop: 1 }
packages/openneuro-app/src/scripts/users/__tests__/user-query.spec.tsx > UserQuery Component > renders FourOFourPage for an unknown ORCID: packages/openneuro-app/src/scripts/users/user-query.tsx#L40
Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.11.8%22%2C%22message%22%3A50%2C%22args%22%3A%5B%5D%7D ❯ new InvariantError .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:11:28 ❯ Object.originalInvariant [as invariant] .yarn/cache/ts-invariant-npm-0.10.3-4657a5b439-bb07d56fe4.zip/node_modules/ts-invariant/lib/invariant.js:24:15 ❯ Object.invariant .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/utilities/globals/invariantWrappers.js:28:9 ❯ useApolloClient .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useApolloClient.js:22:5 ❯ Proxy.useQuery .yarn/__virtual__/@apollo-client-virtual-507e5a8b5b/0/cache/@apollo-client-npm-3.11.8-dc37a540fe-ea9f8d8e55.zip/node_modules/@apollo/client/react/hooks/useQuery.js:72:44 ❯ UserQuery packages/openneuro-app/src/scripts/users/user-query.tsx:40:36 ❯ renderWithHooks .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 .yarn/__virtual__/react-dom-virtual-3a0a7865fc/0/cache/react-dom-npm-18.2.0-dd675bca1c-ca5e7762ec.zip/node_modules/react-dom/cjs/react-dom.development.js:27426:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { framesToPop: 1 }
build (21.x)
The operation was canceled.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636