fix(FR-2606): replace global.packageVersion with globalThis.packageVersion in WebUISider
#37
vitest.yml
on: pull_request
check-changes
9s
react-vitest
1m 54s
backend-ai-ui-vitest
0s
root-vitest
0s
Annotations
10 errors and 1 warning
|
react-vitest
Process completed with exit code 1.
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary source > does not reference any URL-state APIs:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > errorFallback replaces the built-in card for every kind:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > skips token_login when the browser already holds a valid session:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > reports token-invalid when tokenLogin throws:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > reports server-unreachable when get_manager_version rejects:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > reports endpoint-unresolved when the resolver returns empty:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > reports missing-token when sToken prop is empty:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > dispatches backend-ai-connected exactly once on success:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
src/components/STokenLoginBoundary.test.tsx > STokenLoginBoundary > renders children after the login sequence succeeds:
react/src/components/STokenLoginBoundary.test.tsx#L103
TypeError: Cannot set properties of undefined (setting 'endpoint')
❯ setEndpoint src/components/STokenLoginBoundary.test.tsx:103:17
❯ src/components/STokenLoginBoundary.test.tsx:158:3
|
|
check-changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
|