Skip to content

Feat/plugin auto update#2042

Open
nukeop wants to merge 10 commits intomasterfrom
feat/plugin-auto-update
Open

Feat/plugin auto update#2042
nukeop wants to merge 10 commits intomasterfrom
feat/plugin-auto-update

Conversation

@nukeop
Copy link
Copy Markdown
Owner

@nukeop nukeop commented May 2, 2026

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
779 2 777 1
View the top 2 failed test(s) by shortest run time
src/views/Plugins/Plugins.test.tsx > Plugins view > shows reload and remove actions for dev plugins
Stack Traces | 0.613s run time
AssertionError: expected "reloadPlugin" to be called with arguments: [ 'nuclear-fake-plugin' ]

Number of calls: 0

 ❯ .../views/Plugins/Plugins.test.tsx:129:25
src/views/Plugins/Plugins.test.tsx > Plugins view > adds a plugin and enables it
Stack Traces | 1.54s run time
Error: Snapshot `Plugins view > adds a plugin and enables it 20` mismatched

Ignored nodes: comments, script, style
<html
  style="overflow: hidden; padding-right: 1024px;"
>
  <head />
  <body>
    <div>
      <div
        class="grid h-screen w-screen grid-rows-[auto_1fr_auto] overflow-hidden"
      >
        <div>
          <header
            class="bg-background-secondary border-border grid h-12 grid-cols-[1fr_4fr_1fr] items-center gap-2 border-b-(length:--border-width) px-3 select-none"
            data-tauri-drag-region="true"
          >
            <div
              class="flex flex-row items-center gap-4"
            >
              <div
                class="flex items-center"
              >
                <span
                  class="ml-0.5 dark:hidden"
                >
                  <svg
                    class="h-6 w-6"
                    height="100"
                    id="svg2"
                    viewBox="0 0 99.999998 100"
                    width="100"
                    xmlns="http://www.w3.org/2000/svg"
                    xmlns:svg="http://www.w3.org/2000/svg"
                  >
                    <defs
                      id="defs2"
                    />
                    <path
                      d="M 49.999997,5.5078125e-6 C 10.000227,5.5078125e-6 -2.8686701e-6,10.000046 -2.8686701e-6,50.000006 -2.8686701e-6,89.999966 10.000227,100.00001 49.999997,100.00001 c 39.99977,0 50,-10.000044 50,-50.000004 0,-39.99996 -10.00023,-50.0000004921875 -50,-50.0000004921875 z M 29.999997,23.599616 h 40 l -20,26.40039 h 40 l -20,26.40039 -20,-26.40039 -20,26.40039 L 9.9999971,50.000006 H 49.999997 Z"
                      id="path1"
                      style="fill: #000000; stroke-width: 0.999999;"
                    />
                  </svg>
                </span>
                <span
                  class="ml-0.5 hidden dark:block!"
                >
                  <svg
                    class="h-6 w-6"
                    height="100"
                    id="svg2"
                    viewBox="0 0 99.999998 100"
                    width="100"
                    xmlns="http://www.w3.org/2000/svg"
                    xmlns:svg="http://www.w3.org/2000/svg"
                  >
                    <defs
                      id="defs2"
                    />
                    <path
                      d="M 50,0 C 10.00023,0 0,10.00004 0,50 0,89.99996 10.00023,100 50,100 89.99977,100 100,89.99996 100,50 100,10.00004 89.99977,0 50,0 Z M 30,23.59961 H 70 L 50,50 H 90 L 70,76.40039 50,50 30,76.40039 10,50 h 40 z"
                      id="path1"
                      style="fill: #ffffff; fill-opacity: 1; stroke-width: 0.999999;"
                    />
                  </svg>
                </span>
              </div>
              <div
                class="flex flex-row items-center gap-2"
              >
                <button
                  class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-8 justify-center"
                  data-disabled=""
                  data-headlessui-state="disabled"
                  disabled=""
                  type="button"
                >
                  <svg
                    aria-hidden="true"
                    class="lucide lucide-chevron-left"
                    fill="none"
                    height="16"
                    stroke="currentColor"
                    stroke-linecap="round"
                    stroke-linejoin="round"
                    stroke-width="2"
                    viewBox="0 0 24 24"
                    width="16"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="m15 18-6-6 6-6"
                    />
                  </svg>
                </button>
                <button
                  class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-8 justify-center"
                  data-disabled=""
                  data-headlessui-state="disabled"
                  disabled=""
                  type="button"
                >
                  <svg
                    aria-hidden="true"
                    class="lucide lucide-chevron-right"
                    fill="none"
                    height="16"
                    stroke="currentColor"
                    stroke-linecap="round"
                    stroke-linejoin="round"
                    stroke-width="2"
                    viewBox="0 0 24 24"
                    width="16"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="m9 18 6-6-6-6"
                    />
                  </svg>
                </button>
              </div>...

- Expected
+ Received

  [
    {
-     "author": "by nukeop",
+     "author": "nukeop",
      "description": "Fake plugin for testing",
      "name": "Fake plugin",
    },
  ]

 ❯ .../views/Plugins/Plugins.test.tsx:86:9
 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@.../dom/dist/config.js:47:12
 ❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@.../dom/dist/wait-for.js:124:77
 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@.../dom/dist/wait-for.js:118:16

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant