Fix validation mapping to 422 and update ResultExtensions #119
update-metrics.yml
on: push
Collect and Update Metrics
4m 3s
Annotations
17 errors and 23 warnings
|
Collect and Update Metrics
Config file could not be found at expected location. Has the 'init' action been called?
|
|
Collect and Update Metrics
Process completed with exit code 1.
|
|
src/presentation/shared/layouts/NavRail.test.tsx > NavRail > highlights active tab:
src/apps/ums.web-app/src/presentation/shared/layouts/NavRail.test.tsx#L81
TestingLibraryElementError: Unable to find an element with the text: Tenants. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<aside
class="bg-m3-surface border-r border-m3-outline/25 select-none transition-all duration-300 w-64 lg:block hidden"
data-testid="nav-rail"
>
<div
class="flex flex-col h-full py-6 justify-between"
>
<nav
aria-label="Main navigation"
class="space-y-4 px-3 select-none"
role="navigation"
>
<div
class="space-y-1.5"
>
<button
aria-controls="nav-module-identity"
class="w-full flex items-center justify-between px-2.5 py-2 rounded-lg hover:bg-m3-primary/5 transition-all text-left"
>
<div
class="flex items-center gap-2"
>
I
<span
class="text-[11px] font-semibold uppercase tracking-wider text-m3-on-surface/70"
>
Identity
</span>
</div>
<svg
aria-hidden="true"
class="lucide lucide-chevron-right w-3.5 h-3.5 text-m3-secondary transition-transform duration-200"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m9 18 6-6-6-6"
/>
</svg>
</button>
</div>
</nav>
<div
class="px-6 py-4 border-t border-m3-outline/10 text-[10px] text-m3-secondary/50 font-normal leading-relaxed"
>
<p>
UMS Portal
</p>
<p
class="mt-1 font-normal text-indigo-400"
>
v1.0.0
</p>
</div>
</div>
</aside>
</div>
</body>
❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:37:19
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/presentation/shared/layouts/NavRail.test.tsx:81:34
|
|
src/presentation/shared/layouts/NavRail.test.tsx > NavRail > toggles module expansion when clicked:
src/apps/ums.web-app/src/presentation/shared/layouts/NavRail.test.tsx#L76
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
Received has type: Null
Received has value: null
❯ src/presentation/shared/layouts/NavRail.test.tsx:76:26
|
|
src/presentation/shared/layouts/NavRail.test.tsx > NavRail > renders navigation items when module is expanded:
src/apps/ums.web-app/src/presentation/shared/layouts/NavRail.test.tsx#L53
TestingLibraryElementError: Unable to find an element with the text: Tenants. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<aside
class="bg-m3-surface border-r border-m3-outline/25 select-none transition-all duration-300 w-64 lg:block hidden"
data-testid="nav-rail"
>
<div
class="flex flex-col h-full py-6 justify-between"
>
<nav
aria-label="Main navigation"
class="space-y-4 px-3 select-none"
role="navigation"
>
<div
class="space-y-1.5"
>
<button
aria-controls="nav-module-identity"
class="w-full flex items-center justify-between px-2.5 py-2 rounded-lg hover:bg-m3-primary/5 transition-all text-left"
>
<div
class="flex items-center gap-2"
>
I
<span
class="text-[11px] font-semibold uppercase tracking-wider text-m3-on-surface/70"
>
Identity
</span>
</div>
<svg
aria-hidden="true"
class="lucide lucide-chevron-right w-3.5 h-3.5 text-m3-secondary transition-transform duration-200"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m9 18 6-6-6-6"
/>
</svg>
</button>
</div>
</nav>
<div
class="px-6 py-4 border-t border-m3-outline/10 text-[10px] text-m3-secondary/50 font-normal leading-relaxed"
>
<p>
UMS Portal
</p>
<p
class="mt-1 font-normal text-indigo-400"
>
v1.0.0
</p>
</div>
</div>
</aside>
</div>
</body>
❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:37:19
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/presentation/shared/layouts/NavRail.test.tsx:53:19
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-access-resolution.ts#L8
'GraphMenuOption' is defined but never used
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-access-resolution.ts#L7
'GraphSubMenu' is defined but never used
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-access-resolution.ts#L6
'GraphMenu' is defined but never used
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-access-resolution.ts#L5
'GraphMenuModule' is defined but never used
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-access-resolution.test.ts#L39
Unexpected any. Specify a different type
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/decorators/require-permission.decorator.ts#L19
Unexpected any. Specify a different type
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/decorators/require-permission.decorator.ts#L16
Unexpected any. Specify a different type
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/decorators/RequireAccess.ts#L54
Unexpected console statement
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/decorators/RequireAccess.ts#L50
Unexpected any. Specify a different type
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/decorators/RequireAccess.ts#L41
Unexpected any. Specify a different type
|
|
Collect and Update Metrics
Process completed with exit code 2.
|
|
Collect and Update Metrics
Process completed with exit code 1.
|
|
Collect and Update Metrics
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-dotnet@v4, actions/setup-node@v4, github/codeql-action/analyze@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
Collect and Update Metrics
This run of the CodeQL Action does not have permission to access the CodeQL Action API endpoints. This could be because the Action is running on a pull request from a fork. If not, please ensure the workflow has at least the 'security-events: read' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
|
|
Collect and Update Metrics
This run of the CodeQL Action does not have permission to access the CodeQL Action API endpoints. This could be because the Action is running on a pull request from a fork. If not, please ensure the workflow has at least the 'security-events: read' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/presentation/authorization/permission-template/components/tree/TreeNode.tsx#L29
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/main.tsx#L30
Fast refresh only works when a file has exports. Move your component(s) to a separate file
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/identity/hooks/use-user-account.ts#L50
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/identity/hooks/use-user-account-dashboard.ts#L96
React Hook useEffect has a missing dependency: 'sessionTenantId'. Either include it or remove the dependency array. If 'setSelectedTenantId' needs the current value of 'sessionTenantId', you can also switch to useReducer instead of useState and read 'sessionTenantId' in the reducer
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/identity/hooks/use-tenant.ts#L40
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/configuration/hooks/use-feature-flag.ts#L47
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/configuration/hooks/use-app-configuration.ts#L49
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-system-suite.ts#L46
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-profile.ts#L42
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.web-app/src/application/authorization/hooks/use-permission-template.ts#L43
Forbidden non-null assertion
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'FeatureFlags' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'DomainPermissions' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'MenuAccess' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'Actions' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'Authentication' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Authorization/Graph/AuthorizationGraph.cs#L71
Non-nullable property 'Context' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Enums/DomainEnumerationExtensions.cs#L15
Cannot convert null literal to non-nullable reference type.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Enums/DomainEnumerationExtensions.cs#L15
Possible null reference argument for parameter 'left' in 'bool DomainEnumeration.operator !=(DomainEnumeration left, DomainEnumeration right)'.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Configuration/IdpConfiguration/IdpConfiguration.cs#L25
'IdpConfiguration.Version' hides inherited member 'AggregateRoot<IdpConfiguration, IdpConfigurationProps>.Version'. Use the new keyword if hiding was intended.
|
|
Collect and Update Metrics:
src/apps/ums.api/Ums.Domain/Configuration/AppConfiguration/AppConfiguration.cs#L24
'AppConfiguration.Version' hides inherited member 'AggregateRoot<AppConfiguration, AppConfigurationProps>.Version'. Use the new keyword if hiding was intended.
|