Skip to content

fix: updated openrouter defaults and settings window #46

fix: updated openrouter defaults and settings window

fix: updated openrouter defaults and settings window #46

Triggered via pull request June 20, 2026 08:55
Status Failure
Total duration 31s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
ci
Process completed with exit code 1.
src/Settings.test.tsx > Settings Component > calls quitApp when Quit PaperCache is clicked: src/Settings.test.tsx#L60
TestingLibraryElementError: Unable to find an element with the text: Quit PaperCache. 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="settings-container" > <div class="settings-header" > <h2> Settings </h2> </div> <div class="settings-content" > <section> <h3> AI Configuration </h3> <div class="setting-group" > <label> API Key </label> <input placeholder="sk-..." type="password" value="" /> </div> <div class="setting-group" > <label> API Base URL </label> <input placeholder="https://openrouter.ai/api/v1" type="text" value="https://openrouter.ai/api/v1" /> </div> <div class="setting-group" > <label> Model Name </label> <input placeholder="nvidia/nemotron-3-super-120b-a12b:free" type="text" value="nvidia/nemotron-3-super-120b-a12b:free" /> </div> <div class="setting-group" > <label> System Prompt (Instructions) </label> <textarea placeholder="e.g. Please provide a short and concise answer." rows="3" style="width: 100%; padding: 8px; background: rgba(128, 128, 128, 0.1); border: 1px solid rgba(128, 128, 128, 0.2); color: inherit; border-radius: 4px; font-family: \"JetBrains Mono\", monospace; resize: vertical; text-align: center;" > Please provide a short and concise answer. </textarea> </div> </section> <section> <h3> Global Shortcuts </h3> <div class="setting-group" > <label> Toggle App Visibility </label> <input placeholder="e.g. CommandOrControl+Shift+C" type="text" value="CommandOrControl+Shift+C" /> </div> <div class="setting-group" > <label> New Note (Global) </label> <input placeholder="e.g. CommandOrControl+Shift+N" type="text" value="CommandOrControl+Shift+N" /> </div> </section> <section> <h3> System </h3> <div class="setting-group" > <label> Launch at Startup </label> <input style="width: auto; margin-right: auto;" type="checkbox" /> </div> </section> <section> <h3> Appearance </h3> <div class="setting-group" > <label> Font Family </label> <select> <option value="'JetBrains Mono', monospace" > JetBrains Mono (Default) </option> <option value="Menlo, Monaco, 'Courier New', monospace" > Monospace </option> <option value="Inter, system-ui, -apple-system, sans-serif" > Sans-serif (Modern) </option> <option value="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" > S
src/Settings.test.tsx > Settings Component > saves settings to localStorage on Save Settings button click: src/Settings.test.tsx#L53
AssertionError: expected null to be 'sk-new-key' // Object.is equality - Expected: "sk-new-key" + Received: null ❯ src/Settings.test.tsx:53:55
src/Settings.test.tsx > Settings Component > loads initial state from localStorage: src/Settings.test.tsx#L32
AssertionError: expected '' to be 'sk-test-key' // Object.is equality - Expected + Received - sk-test-key ❯ src/Settings.test.tsx:32:31
Unhandled error: src/lib/safeStorage.ts#L2
TypeError: window.electronAPI.safeStorageEncrypt is not a function ❯ setSecure src/lib/safeStorage.ts:2:46 ❯ saveSettings src/Settings.tsx:74:11 ❯ executeDispatch node_modules/react-dom/cjs/react-dom-client.development.js:19116:9 ❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13 ❯ processDispatchQueue node_modules/react-dom/cjs/react-dom-client.development.js:19166:19 ❯ node_modules/react-dom/cjs/react-dom-client.development.js:19767:9 ❯ batchedUpdates$1 node_modules/react-dom/cjs/react-dom-client.development.js:3255:40 ❯ dispatchEventForPluginEventSystem node_modules/react-dom/cjs/react-dom-client.development.js:19320:7 ❯ dispatchEvent node_modules/react-dom/cjs/react-dom-client.development.js:23585:11 ❯ dispatchDiscreteEvent node_modules/react-dom/cjs/react-dom-client.development.js:23553:11 This error originated in "src/Settings.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
ci
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ci: src/App.tsx#L437
Unexpected any. Specify a different type
ci: src/App.tsx#L412
Unexpected any. Specify a different type
ci: src/App.tsx#L263
Unexpected any. Specify a different type
ci: src/App.tsx#L243
Empty block statement
ci: src/App.tsx#L219
Empty block statement
ci: src/App.tsx#L194
Unexpected any. Specify a different type
ci: src/App.tsx#L194
Unexpected any. Specify a different type
ci: src/App.tsx#L186
Unexpected any. Specify a different type
ci: src/App.tsx#L178
Unexpected any. Specify a different type
ci: src/App.tsx#L93
Unexpected any. Specify a different type