feat(api): enhance timeout handling with swallow_exceptions option an… #105
Annotations
3 errors and 1 warning
|
test
Process completed with exit code 1.
|
|
src/components/chat/MessageList.test.tsx > MessageList rendering > re-renders when streamed assistant content changes:
src/components/chat/MessageList.test.tsx#L89
TestingLibraryElementError: Unable to find an element with the text: Hello world. 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="flex-1 min-h-0 overflow-y-auto px-6 py-6"
>
<div
class="mx-auto flex w-full max-w-3xl flex-col space-y-4"
>
<div
class="flex justify-start"
style="opacity: 1; transform: none;"
>
<div
class="max-w-[75%] break-words rounded-2xl px-4 py-3 text-sm leading-relaxed shadow-lg border relative group bg-dark-700 text-gray-100 border-white/5"
>
<div
class="flex items-center gap-1.5 mt-2 sm:hidden"
>
<button
aria-label="Copy"
class="h-10 w-10 rounded-xl border border-white/10 bg-dark-900/70 text-gray-300 active:text-white flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed"
disabled=""
title="Copy"
>
<svg
aria-hidden="true"
class="lucide lucide-copy 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="14"
rx="2"
ry="2"
width="14"
x="8"
y="8"
/>
<path
d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
/>
</svg>
</button>
<button
aria-label="Regenerate"
class="h-10 w-10 rounded-xl border border-white/10 bg-dark-900/70 text-gray-300 active:text-white flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed"
disabled=""
title="Regenerate"
>
<svg
aria-hidden="true"
class="lucide lucide-refresh-ccw 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"
>
<path
d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"
/>
<path
d="M3 3v5h5"
/>
<path
d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"
/>
<path
d="M16 16h5v5"
/>
</svg>
</button>
<button
aria-label="Share"
class="h-10 w-10 rounded-xl border border-white/10 bg-dark-900/70 text-gray-300 active:text-white flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed"
disabled=""
title="Share"
>
<svg
aria-hidden="true"
class="lucide lucide-share2 lucide-share-2 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"
>
|
|
src/components/chat/MessageList.test.tsx > MessageList rendering > renders messages when message store updates:
src/components/chat/MessageList.test.tsx#L52
TestingLibraryElementError: Unable to find an element with the text: What is caching?. 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="flex-1 min-h-0 overflow-y-auto px-6 py-6"
>
<div
class="mx-auto flex w-full max-w-3xl flex-col space-y-4"
>
<div
class="text-sm text-gray-500"
>
Start a conversation to see messages here.
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/chat/MessageList.test.tsx:52:19
|
|
test
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/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|