Repository navigation
feat(api): make oneshot expiry and upload size limit env configurable #21
ci.yml
on: push
api-tests
16s
web-tests
16s
Matrix: container-packaging
Annotations
2 errors and 1 warning
|
web-tests
Process completed with exit code 1.
|
|
src/pages/__tests__/Admin.test.tsx > Admin > renders audit tables with mocked API data:
web/src/pages/__tests__/Admin.test.tsx#L89
TestingLibraryElementError: Unable to find an element with the text: alice@example.com. 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>
<div
class="space-y-6"
>
<div>
<h1
class="text-2xl font-bold text-text"
>
Admin Panel
</h1>
<p
class="text-text-muted"
>
Server-side RBAC enforces all admin operations
</p>
</div>
<div
class="flex items-start gap-3 p-4 rounded-2xl border bg-primary/10 text-primary border-primary/20"
role="alert"
>
<svg
aria-hidden="true"
class="lucide lucide-info w-5 h-5 shrink-0 mt-0.5"
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"
>
<circle
cx="12"
cy="12"
r="10"
/>
<path
d="M12 16v-4"
/>
<path
d="M12 8h.01"
/>
</svg>
<div
class="text-sm"
>
This page is role-gated in the frontend. However, all admin operations are enforced server-side. The server derives roles from the database, never from JWT claims.
</div>
</div>
<div
class="rounded-2xl border border-border bg-surface text-text shadow-sm"
>
<div
class="flex flex-col space-y-1.5 p-6"
>
<div
class="flex items-center gap-3"
>
<svg
aria-hidden="true"
class="lucide lucide-shield w-5 h-5 text-primary"
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="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
/>
</svg>
<h2
class="text-lg font-semibold text-text"
>
Admin Info
</h2>
</div>
</div>
<div
class="p-6 pt-0 space-y-3"
>
<div
class="flex items-center gap-2 text-sm"
>
<svg
aria-hidden="true"
class="lucide lucide-users w-4 h-4 text-text-muted"
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="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"
/>
<path
d="M16 3.128a4 4 0 0 1 0 7.744"
/>
<path
d="M22 21v-2a4 4 0 0 0-3-3.87"
/>
<circle
cx="9"
cy="7"
r="4"
/>
</svg>
<span
class="text-text-muted"
>
User ID:
</span>
<span
class="font-mono text-text"
>
u1
</span>
</div>
<div
class="flex items-center gap-2 text-sm"
>
<svg
aria-hidden="true"
class="lucide lucide-shield w-4 h-4 text-text-muted"
fill="none"
|
|
web-tests
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. 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/
|