Skip to content

feat: added ability to select runtime for playground #5020

feat: added ability to select runtime for playground

feat: added ability to select runtime for playground #5020

Triggered via pull request June 20, 2025 07:22
Status Failure
Total duration 9m 44s
Artifacts 3

pr-check.yaml

on: pull_request
e2e tests smoke
9m 41s
e2e tests smoke
Matrix: lint-format-unit
Fit to window
Zoom out
Zoom in

Annotations

15 errors
linter, formatters and unit tests / ubuntu-22.04
Process completed with exit code 1.
src/lib/select/InferenceRuntimeSelect.spec.ts > Does not show OPENVINO on macOS: packages/frontend/src/lib/select/InferenceRuntimeSelect.spec.ts#L101
TypeError: Cannot spy on export "platform". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26 Caused by: Caused by: TypeError: Cannot redefine property: platform ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26
src/pages/PlaygroundCreate.spec.ts > should display error message if createPlayground fails: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L159
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has type: Null Received has value: null ❯ src/pages/PlaygroundCreate.spec.ts:159:35
src/pages/PlaygroundCreate.spec.ts > model should be selected by default: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L113
TestingLibraryElementError: Unable to find an element with the text: Dummy LlamaCpp model. 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 <div> <div class="flex flex-col w-full h-full bg-[var(--pd-content-bg)]" > <div aria-label="Header" class="flex flex-row w-full h-fit px-5 pt-4 pb-2" role="region" > <div class="flex flex-col w-full h-fit" > <div aria-label="Breadcrumb" class="flex flew-row items-center text-sm text-[var(--pd-content-breadcrumb)]" role="navigation" > <a aria-label="Back" class="text-[var(--pd-link)] hover:bg-[var(--pd-link-hover-bg)] transition-all rounded-[4px] p-0.5 no-underline cursor-pointer text-sm" role="link" > Playgrounds </a> <div class="mx-2" > &gt; </div> <div aria-label="Page Name" class="grow font-extralight" > New Playground environment </div> <button aria-label="Close" class="hover:bg-[var(--pd-button-close-hover-bg)] hover:bg-opacity-10 transition-all rounded-[4px] p-1 no-underline cursor-pointer justify-self-end text-lg" title="Close" type="button" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base svelte-bvo74f" role="img" viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(192 256)" transform-origin="96 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" fill="currentColor" transform="translate(-192 -256)" /> </g> </g> </svg> </button> </div> <div class="flex flex-row items-center pt-1" > <div class="pr-3" > <div class="rounded-full w-8 h-8 flex items-center justify-center" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base text-[var(--pd-content-header-icon)] svelte-bvo74f" role="img" style="font-size: 1.125em;" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(224 256)" transform-origin="112 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z" fill="currentColor" transform="translate(-224 -256)" /> </g> </g> </svg> </div>
linter, formatters and unit tests / macos-14
Process completed with exit code 1.
src/lib/select/InferenceRuntimeSelect.spec.ts > Does not show OPENVINO on macOS: packages/frontend/src/lib/select/InferenceRuntimeSelect.spec.ts#L101
TypeError: Cannot spy on export "platform". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26 Caused by: Caused by: TypeError: Cannot redefine property: platform ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26
src/pages/PlaygroundCreate.spec.ts > should display error message if createPlayground fails: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L159
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has type: Null Received has value: null ❯ src/pages/PlaygroundCreate.spec.ts:159:35
src/pages/PlaygroundCreate.spec.ts > model should be selected by default: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L113
TestingLibraryElementError: Unable to find an element with the text: Dummy LlamaCpp model. 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 <div> <div class="flex flex-col w-full h-full bg-[var(--pd-content-bg)]" > <div aria-label="Header" class="flex flex-row w-full h-fit px-5 pt-4 pb-2" role="region" > <div class="flex flex-col w-full h-fit" > <div aria-label="Breadcrumb" class="flex flew-row items-center text-sm text-[var(--pd-content-breadcrumb)]" role="navigation" > <a aria-label="Back" class="text-[var(--pd-link)] hover:bg-[var(--pd-link-hover-bg)] transition-all rounded-[4px] p-0.5 no-underline cursor-pointer text-sm" role="link" > Playgrounds </a> <div class="mx-2" > &gt; </div> <div aria-label="Page Name" class="grow font-extralight" > New Playground environment </div> <button aria-label="Close" class="hover:bg-[var(--pd-button-close-hover-bg)] hover:bg-opacity-10 transition-all rounded-[4px] p-1 no-underline cursor-pointer justify-self-end text-lg" title="Close" type="button" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base svelte-bvo74f" role="img" viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(192 256)" transform-origin="96 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" fill="currentColor" transform="translate(-192 -256)" /> </g> </g> </svg> </button> </div> <div class="flex flex-row items-center pt-1" > <div class="pr-3" > <div class="rounded-full w-8 h-8 flex items-center justify-center" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base text-[var(--pd-content-header-icon)] svelte-bvo74f" role="img" style="font-size: 1.125em;" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(224 256)" transform-origin="112 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z" fill="currentColor" transform="translate(-224 -256)" /> </g> </g> </svg> </div>
linter, formatters and unit tests / windows-2022
Process completed with exit code 1.
src/lib/select/InferenceRuntimeSelect.spec.ts > Does not show OPENVINO on macOS: packages/frontend/src/lib/select/InferenceRuntimeSelect.spec.ts#L101
TypeError: Cannot spy on export "platform". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26 Caused by: Caused by: TypeError: Cannot redefine property: platform ❯ src/lib/select/InferenceRuntimeSelect.spec.ts:101:26
src/pages/PlaygroundCreate.spec.ts > should display error message if createPlayground fails: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L159
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has type: Null Received has value: null ❯ src/pages/PlaygroundCreate.spec.ts:159:35
src/pages/PlaygroundCreate.spec.ts > model should be selected by default: packages/frontend/src/pages/PlaygroundCreate.spec.ts#L113
TestingLibraryElementError: Unable to find an element with the text: Dummy LlamaCpp model. 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 <div> <div class="flex flex-col w-full h-full bg-[var(--pd-content-bg)]" > <div aria-label="Header" class="flex flex-row w-full h-fit px-5 pt-4 pb-2" role="region" > <div class="flex flex-col w-full h-fit" > <div aria-label="Breadcrumb" class="flex flew-row items-center text-sm text-[var(--pd-content-breadcrumb)]" role="navigation" > <a aria-label="Back" class="text-[var(--pd-link)] hover:bg-[var(--pd-link-hover-bg)] transition-all rounded-[4px] p-0.5 no-underline cursor-pointer text-sm" role="link" > Playgrounds </a> <div class="mx-2" > &gt; </div> <div aria-label="Page Name" class="grow font-extralight" > New Playground environment </div> <button aria-label="Close" class="hover:bg-[var(--pd-button-close-hover-bg)] hover:bg-opacity-10 transition-all rounded-[4px] p-1 no-underline cursor-pointer justify-self-end text-lg" title="Close" type="button" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base svelte-bvo74f" role="img" viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(192 256)" transform-origin="96 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" fill="currentColor" transform="translate(-192 -256)" /> </g> </g> </svg> </button> </div> <div class="flex flex-row items-center pt-1" > <div class="pr-3" > <div class="rounded-full w-8 h-8 flex items-center justify-center" > <svg aria-hidden="true" class="svelte-fa svelte-fa-base text-[var(--pd-content-header-icon)] svelte-bvo74f" role="img" style="font-size: 1.125em;" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg" > <g class="svelte-bvo74f" transform="translate(224 256)" transform-origin="112 0" > <g class="svelte-bvo74f" transform="translate(0,0) scale(1,1)" > <path class="svelte-bvo74f" d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z" fill="currentColor" transform="translate(-224 -256)" /> </g> </g> </svg> </div>
e2e tests smoke
❌ Tests reported 1 failures
e2e tests smoke
Process completed with exit code 255.

Artifacts

Produced during runtime
Name Size Digest
e2e-pr-check
16.4 MB
sha256:f90e7d1fb3867caf1e9ed3f49963b71a7c599891a22beffd8eb17dab24feb398
e2e-pr-check-traces
270 MB
sha256:86ca05c74eb5488c4128d3eef30545009c6274b4d4ad87433ec57c485b08e256
e2e-pr-check-videos
26.9 MB
sha256:535b0e2fd9b606c25fcdade3047f929339c6215604fcb383ec739bb084788aef