Implement player profile creation flow and profile page (#211, #213) #521
main.yml
on: pull_request
Annotations
10 errors and 4 warnings
|
build-frontend
Process completed with exit code 1.
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > loading states > should manage loading state correctly during initialization:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:191:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > clearPlayer > should clear player data and localStorage:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:161:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > manual initialization > should prevent multiple simultaneous initialization calls:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:139:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > manual initialization > should allow manual re-initialization:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:115:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > error handling > should handle non-Error exceptions:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:100:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > error handling > should handle createPlayer API failure gracefully:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:84:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > initialization > should use existing valid player alias from localStorage:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:65:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > initialization > should auto-initialize on mount when no stored alias exists:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:48:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
src/hooks/usePlayerService.test.ts > usePlayerService > initialization > should start with default state:
src/frontend/Sudoku.React/src/hooks/usePlayerService.ts#L36
Error: useNavigate() may be used only in the context of a <Router> component.
❯ invariant node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:199:11
❯ useNavigateUnstable node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5609:3
❯ useNavigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5606:46
❯ Module.usePlayerService src/hooks/usePlayerService.ts:36:20
❯ src/hooks/usePlayerService.test.ts:36:43
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:330:27
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25904:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:7662:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:10166:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:11778:18
|
|
changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, dorny/paths-filter@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build-frontend
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, dorny/test-reporter@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
publish-api
|
13.6 MB |
sha256:6fd64ad87912d939198ef1e353377a998816f446a211199406df42f8a98ffe68
|
|
|
publish-mcp
|
3.69 MB |
sha256:b474cbdf0435322a819b9768dc44c1f1b56af004f98ca388ec818fb4416e43d6
|
|
|
publish-web
|
17.3 MB |
sha256:bc254fbf182da262e0f01203d5da73ec1eb3a328d12259fb033f743b5ee0216d
|
|
|
test-results
|
264 KB |
sha256:92252bba8b5f81c4fe7ea6aa74f87470ce8121ab86dde6be33a1365a5bd9a1ec
|
|