Joysafeter v2 #559
ci.yml
on: pull_request
Pre-commit
1m 50s
Backend CI
1m 4s
Frontend CI
43s
Security Scan
21s
Matrix: rust
Annotations
7 errors and 6 warnings
|
Security Scan
Process completed with exit code 1.
|
|
Rust CI (orchestrator)
Process completed with exit code 1.
|
|
Frontend CI
Process completed with exit code 1.
|
|
components/app-sidebar/app-sidebar.test.tsx > AppSidebar project switcher lifecycle > does not let an older project switch completion close a reopened switcher:
frontend/components/app-sidebar/app-sidebar.test.tsx#L339
TestingLibraryElementError: Unable to find an element with the text: Project B Target. 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="joysafeter-sidebar fixed bottom-0 left-0 top-0 z-50 flex w-[220px] flex-col border-r border-border bg-card"
>
<div
class="flex items-center justify-between border-b border-border p-4"
>
<div
class="flex items-center gap-2"
>
<div
class="flex h-6 w-6 items-center justify-center rounded-md bg-primary"
>
<svg
class="lucide lucide-shield h-3.5 w-3.5 text-primary-foreground"
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>
</div>
<h1
class="text-[15px] font-bold text-foreground"
>
sidebar.appTitle
</h1>
</div>
<button
class="inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground h-7 w-7"
>
<svg
class="lucide lucide-panel-left-close h-4 w-4"
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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M9 3v18"
/>
<path
d="m16 15-3-3 3-3"
/>
</svg>
</button>
</div>
<div
class="px-3 py-2"
>
<div>
<button
class="flex w-full items-center gap-2 rounded-md border border-border px-2.5 py-2 text-sm transition-colors hover:bg-accent/50"
>
<div
class="h-7 w-7 rounded-md bg-purple-500 flex shrink-0 items-center justify-center text-[10px] font-bold text-white"
>
O
</div>
<span
class="min-w-0 flex-1 truncate text-left text-[13px] font-medium text-foreground"
>
<span
class="text-muted-foreground"
>
Org …
</span>
<span
class="mx-0.5 text-muted-foreground/50"
>
/
</span>
Project A Current
</span>
<svg
class="lucide lucide-chevrons-up-down h-3.5 w-3.5 shrink-0 text-muted-foreground"
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="m7 15 5 5 5-5"
/>
<path
d="m7 9 5-5 5 5"
/>
|
|
components/app-sidebar/app-sidebar.test.tsx > AppSidebar project switcher lifecycle > does not let an older all-projects load override the active org project list:
frontend/components/app-sidebar/app-sidebar.test.tsx#L268
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
@@ -1,7 +1,7 @@
[
- "/auth/projects?include_archived=false",
+ "/auth/projects?include_archived=false&limit=200",
{
"headers": {
"X-Org-Id": "org-b",
},
"skipManagedContext": true,
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<aside
class="joysafeter-sidebar fixed bottom-0 left-0 top-0 z-50 flex w-[220px] flex-col border-r border-border bg-card"
>
<div
class="flex items-center justify-between border-b border-border p-4"
>
<div
class="flex items-center gap-2"
>
<div
class="flex h-6 w-6 items-center justify-center rounded-md bg-primary"
>
<svg
class="lucide lucide-shield h-3.5 w-3.5 text-primary-foreground"
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>
</div>
<h1
class="text-[15px] font-bold text-foreground"
>
sidebar.appTitle
</h1>
</div>
<button
class="inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground h-7 w-7"
>
<svg
class="lucide lucide-panel-left-close h-4 w-4"
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"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M9 3v18"
/>
<path
d="m16 15-3-3 3-3"
/>
</svg>
</button>
</div>
<div
class="px-3 py-2"
>
<div>
<button
class="flex w-full items-center gap-2 rounded-md border border-border px-2.5 py-2 text-sm transition-colors hover:bg-accent/50"
>
<div
class="h-7 w-7 rounded-md bg-purple-500 flex shrink-0 items-center justify-center text-[10px] font-bold text-white"
>
O
</div>
<span
class="min-w-0 flex-1 truncate text-left text-[13px] font-medium text-foreground"
>
<span
class="text-muted-foreground"
>
Org …
</span>
<span
class="mx-0.5 text-muted-foreground/50"
>
/
</span>
Project A Current
</span>
<svg
class="lucide lucide-chevrons-up-down h-3.5 w-3.5 shrink-0 text-muted-foreground"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-line
|
|
Backend CI
Process completed with exit code 1.
|
|
Pre-commit
Process completed with exit code 1.
|
|
Security Scan
The process '/usr/bin/git' failed with exit code 128
|
|
Rust CI (orchestrator)
The process '/usr/bin/git' failed with exit code 128
|
|
Frontend CI
The process '/usr/bin/git' failed with exit code 128
|
|
Backend CI
The process '/usr/bin/git' failed with exit code 128
|
|
Rust CI (sandbox-runner)
The process '/usr/bin/git' failed with exit code 128
|
|
Pre-commit
The process '/usr/bin/git' failed with exit code 128
|