Skip to content

feat: Certificate Requests Table Query #201

feat: Certificate Requests Table Query

feat: Certificate Requests Table Query #201

Triggered via pull request June 13, 2024 07:36
Status Failure
Total duration 6m 8s
Artifacts 1

main.yml

on: pull_request
build-nextjs  /  nextjs-build
41s
build-nextjs / nextjs-build
unit-test-frontend  /  nextjs-unit-tests
16s
unit-test-frontend / nextjs-unit-tests
unit-test-gocert  /  go-unit-tests
22s
unit-test-gocert / go-unit-tests
go-vet  /  go-vet
24s
go-vet / go-vet
go-lint  /  lint
25s
go-lint / lint
build-gocert  /  go-build
20s
build-gocert / go-build
rock-build  /  build-rock
4m 33s
rock-build / build-rock
publish  /  publish-rock
publish / publish-rock
rock-scan  /  scan
rock-scan / scan
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
src/app/nav.test.tsx > Navigation > should open aside when clicking button: ui/src/app/certificate_requests/table.tsx#L74
TypeError: Cannot read properties of undefined (reading 'map') ❯ CertificateRequestsTable src/app/certificate_requests/table.tsx:74:44 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/app/certificate_requests/page.test.tsx > CertificateRequestsPage: ui/src/app/certificate_requests/page.tsx#L9
Error: No QueryClient set, use QueryClientProvider to set one ❯ useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11 ❯ useBaseQuery node_modules/react-query/lib/react/useBaseQuery.js:24:61 ❯ Proxy.useQuery node_modules/react-query/lib/react/useQuery.js:14:41 ❯ CertificateRequests src/app/certificate_requests/page.tsx:9:19 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
src/app/certificate_requests/row.test.tsx > Certificate Requests Table Row: ui/src/app/utils.ts#L63
Error: Error parsing certificate request ❯ Module.extractCSR src/app/utils.ts:63:15 ❯ Row src/app/certificate_requests/row.tsx:16:20 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
unit-test-frontend / nextjs-unit-tests
Process completed with exit code 1.
rock-build / build-rock
Process completed with exit code 1.
rock-build / build-rock
Rockcraft revision not provided. Installing from stable

Artifacts

Produced during runtime
Name Size
frontend-static-files Expired
352 KB