Skip to content

remove useQueryEntity and add useEntity hook (#532) #1427

remove useQueryEntity and add useEntity hook (#532)

remove useQueryEntity and add useEntity hook (#532) #1427

Triggered via push September 12, 2025 16:33
Status Failure
Total duration 4m 22s
Artifacts
Install deps, build required package, typecheck, lint and test
4m 19s
Install deps, build required package, typecheck, lint and test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Install deps, build required package, typecheck, lint and test
Process completed with exit code 1.
test/HypergraphSpaceContext.test.tsx > HypergraphSpaceContext > useUpdateEntity > should be able to update a created entity through the useUpdateEntity hook: packages/hypergraph-react/src/internal/use-entity-public.tsx#L368
Error: No QueryClient set, use QueryClientProvider to set one ❯ useQueryClient ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:11 ❯ useBaseQuery ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/useBaseQuery.ts:54:18 ❯ useQuery ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/useQuery.ts:51:10 ❯ useEntityPublic src/internal/use-entity-public.tsx:368:18 ❯ useEntity src/HypergraphSpaceContext.tsx:263:24 ❯ wrapper.wrapper test/HypergraphSpaceContext.test.tsx:143:62 ❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected]_@[email protected]_@type_6479d15b625ec3d34ccbc3611f2e562b/node_modules/@testing-library/react/dist/pure.js:331:27 ❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:23863:20 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5529:22 ❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8897:19
test/HypergraphSpaceContext.test.tsx > HypergraphSpaceContext > useCreateEntity > should be able to create an entity through the useCreateEntity Hook: packages/hypergraph-react/src/internal/use-entity-public.tsx#L368
Error: No QueryClient set, use QueryClientProvider to set one ❯ useQueryClient ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:11 ❯ useBaseQuery ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/useBaseQuery.ts:54:18 ❯ useQuery ../../node_modules/.pnpm/@TanStack[email protected][email protected]/node_modules/@tanstack/react-query/src/useQuery.ts:51:10 ❯ useEntityPublic src/internal/use-entity-public.tsx:368:18 ❯ useEntity src/HypergraphSpaceContext.tsx:263:24 ❯ wrapper.wrapper test/HypergraphSpaceContext.test.tsx:90:17 ❯ TestComponent ../../node_modules/.pnpm/@testing-library[email protected]_@[email protected]_@[email protected]_@type_6479d15b625ec3d34ccbc3611f2e562b/node_modules/@testing-library/react/dist/pure.js:331:27 ❯ Object.react_stack_bottom_frame ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:23863:20 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:5529:22 ❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:8897:19
Install deps, build required package, typecheck, lint and test
Could not determine node version from /home/runner/work/hypergraph/hypergraph/package.json. Falling back