feat: initial work on codegate version check widget #174
on-pr.yml
on: pull_request
Security Checks
/
Trivy
7s
Security Checks
/
NPM Audit
7s
Static Checks
/
ESLint Check
17s
Static Checks
/
TS Types Check
12s
Static Checks
/
Build App Check
31s
Unit Tests
/
Vitest
32s
Annotations
6 errors and 17 warnings
src/App.test.tsx > App > should render breadcrumb:
src/App.test.tsx#L62
TestingLibraryElementError: Found multiple elements with the role "link" and name `/codeGate dashboard/i`
Here are the matching elements:
Ignored nodes: comments, script, style
<a
data-discover="true"
href="/"
>
<h1
class="text-2xl text-primary font-title w-max flex font-semibold"
>
CodeGate Dashboard
</h1>
</a>
Ignored nodes: comments, script, style
<a
data-discover="true"
href="/"
>
<h1
class="text-2xl text-primary font-title w-max flex font-semibold"
>
CodeGate Dashboard
</h1>
</a>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-gray-25"
style="--sidebar-width: 16rem; --sidebar-width-icon: 3rem;"
>
<div
class="flex w-screen h-screen"
>
<div
class="group peer hidden md:block text-secondary"
data-collapsible=""
data-side="left"
data-state="expanded"
data-variant="sidebar"
>
<div
class="duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[--sidebar-width-icon]"
/>
<div
class="duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l border-r-gray-200"
>
<div
class="flex size-full flex-col bg-gray-25 group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-gray-200 group-data-[variant=floating]:shadow"
data-sidebar="sidebar"
>
<div
class="flex flex-col gap-2 p-2 bg-gray-25 py-6 pb-3 text-sm font-bold px-4"
data-sidebar="header"
>
Prompt History
</div>
<div
class="flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden bg-gray-25"
data-sidebar="content"
>
<div
class="relative flex w-full min-w-0 flex-col p-2"
data-sidebar="group"
>
<div
class="mx-2"
>
<div
class="mb-3"
>
<h2
class="font-bold text-sm text-secondary mb-2 mt-6"
>
Previous 14 days
</h2>
<ul
class="space-y-2"
>
<li
class="flex items-center p-1 w-full"
>
<a
class="text-secondary text-sm truncate hover:text-gray-500"
data-discover="true"
href="/prompt/chatcmpl-eebad2bd68434c7c947d10754a204ea4"
>
server.py do you see any security issue?
</a>
</li>
</ul>
</div>
<div
class="mb-3"
>
<h2
class="font-bold text-sm text-secondary mb-2 mt-6"
>
Previous 30 days
</h2>
<ul
class="space-y-2"
>
<li
|
src/components/__tests__/Dashboard.test.tsx > Dashboard > should render malicious pkg:
src/components/__tests__/Dashboard.test.tsx#L180
AssertionError: expected 4 to deeply equal 2
- Expected
+ Received
- 2
+ 4
❯ src/components/__tests__/Dashboard.test.tsx:180:7
|
src/components/__tests__/Dashboard.test.tsx > Dashboard > should filter by malicious pkg:
src/components/__tests__/Dashboard.test.tsx#L212
AssertionError: expected 6 to deeply equal 2
- Expected
+ Received
- 2
+ 6
❯ src/components/__tests__/Dashboard.test.tsx:212:7
|
src/components/__tests__/Dashboard.test.tsx > Dashboard > should search by secrets alert:
src/components/__tests__/Dashboard.test.tsx#L257
AssertionError: expected 8 to deeply equal 2
- Expected
+ Received
- 2
+ 8
❯ src/components/__tests__/Dashboard.test.tsx:257:7
|
src/components/__tests__/Dashboard.test.tsx > Dashboard > should sort alerts by date desc:
src/components/__tests__/Dashboard.test.tsx#L287
AssertionError: expected 10 to deeply equal 1
- Expected
+ Received
- 1
+ 10
❯ src/components/__tests__/Dashboard.test.tsx:287:7
|
Unit Tests / Vitest
Process completed with exit code 1.
|
Static Checks / TS Types Check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Unit Tests / Vitest
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Static Checks / Build App Check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Static Checks / ESLint Check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Security Checks / NPM Audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Security Checks / Trivy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Checks / TS Types Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Checks / ESLint Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Checks / ESLint Check:
src/components/ui/chat/chat-bubble.tsx#L192
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / ESLint Check:
src/components/ui/chat/chat-bubble.tsx#L193
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / ESLint Check:
src/components/ui/sidebar.tsx#L544
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / ESLint Check:
src/features/dashboard-codegate-status/components/codegate-status-polling-control.tsx#L11
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / ESLint Check:
src/features/dashboard-codegate-status/components/codegate-status-polling-control.tsx#L17
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / ESLint Check:
src/lib/test-utils.tsx#L60
This rule can't verify that `export *` only exports components
|
Static Checks / ESLint Check:
src/lib/test-utils.tsx#L62
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Static Checks / Build App Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests / Vitest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|