Skip to content

Default chunks to tree view #50

Default chunks to tree view

Default chunks to tree view #50

Triggered via pull request May 27, 2026 08:24
Status Failure
Total duration 1m 21s
Artifacts

ci.yml

on: pull_request
Lint, Typecheck, Test, Build
1m 17s
Lint, Typecheck, Test, Build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Lint, Typecheck, Test, Build
Process completed with exit code 1.
src/components/workspace-shell.test.ts > WorkspaceShell > does not reuse partial chunk pages for ambiguous citation jumps: src/components/workspace-shell.test.ts#L743
AssertionError: expected 4 to be 1 // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex h-screen w-full flex-col overflow-hidden bg-background" > <header class="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border/70 bg-background/95 px-4 shadow-[0_8px_24px_-20px_rgba(15,23,42,0.35)] backdrop-blur-sm lg:px-6" > <div class="flex min-w-0 items-center gap-3" > <img alt="" aria-hidden="true" data-nimg="1" decoding="async" height="20.08695652173913" loading="lazy" src="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75" srcset="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=32&q=75 1x, /_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75 2x" style="color: transparent; height: auto;" width="22" /> <h1 class="truncate text-[18px] font-bold leading-7 text-foreground" > Knowhere Notebook </h1> <div class="shrink-0 bg-border w-[1px] mx-1 hidden h-4 lg:block" data-orientation="vertical" role="none" /> <span class="hidden text-sm font-medium text-foreground lg:block" > Personal Workspace </span> </div> <div class="flex shrink-0 items-center gap-2 lg:gap-3" > <button aria-expanded="false" aria-haspopup="menu" aria-label="Toggle theme" class="inline-flex items-center justify-center gap-2 whitespace-nowrap tracking-normal transition-[color,background-color,border-color,padding-bottom,box-shadow,transform] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring/15 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 rounded-lg border text-foreground shadow-xs hover:text-accent-foreground size-10 border-border/70 bg-background/80 hover:bg-accent/80" data-state="closed" id="radix-_r_bo_" type="button" > <svg aria-hidden="true" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" 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" > <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg> <svg aria-hidden="true" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
src/components/workspace-shell.test.ts > WorkspaceShell > runs the citation jump again when users click the same source link twice: src/components/workspace-shell.test.ts#L606
AssertionError: expected undefined to be 'chunk_1' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex h-screen w-full flex-col overflow-hidden bg-background" > <header class="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border/70 bg-background/95 px-4 shadow-[0_8px_24px_-20px_rgba(15,23,42,0.35)] backdrop-blur-sm lg:px-6" > <div class="flex min-w-0 items-center gap-3" > <img alt="" aria-hidden="true" data-nimg="1" decoding="async" height="20.08695652173913" loading="lazy" src="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75" srcset="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=32&q=75 1x, /_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75 2x" style="color: transparent; height: auto;" width="22" /> <h1 class="truncate text-[18px] font-bold leading-7 text-foreground" > Knowhere Notebook </h1> <div class="shrink-0 bg-border w-[1px] mx-1 hidden h-4 lg:block" data-orientation="vertical" role="none" /> <span class="hidden text-sm font-medium text-foreground lg:block" > Personal Workspace </span> </div> <div class="flex shrink-0 items-center gap-2 lg:gap-3" > <button aria-expanded="false" aria-haspopup="menu" aria-label="Toggle theme" class="inline-flex items-center justify-center gap-2 whitespace-nowrap tracking-normal transition-[color,background-color,border-color,padding-bottom,box-shadow,transform] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring/15 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 rounded-lg border text-foreground shadow-xs hover:text-accent-foreground size-10 border-border/70 bg-background/80 hover:bg-accent/80" data-state="closed" id="radix-_r_ai_" type="button" > <svg aria-hidden="true" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" 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" > <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg> <svg aria-hidden="true" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="rou
src/components/workspace-shell.test.ts > WorkspaceShell > reuses loaded chunks when users click another citation from the same source: src/components/workspace-shell.test.ts#L500
AssertionError: expected undefined to be 'chunk_1' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex h-screen w-full flex-col overflow-hidden bg-background" > <header class="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border/70 bg-background/95 px-4 shadow-[0_8px_24px_-20px_rgba(15,23,42,0.35)] backdrop-blur-sm lg:px-6" > <div class="flex min-w-0 items-center gap-3" > <img alt="" aria-hidden="true" data-nimg="1" decoding="async" height="20.08695652173913" loading="lazy" src="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75" srcset="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=32&q=75 1x, /_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75 2x" style="color: transparent; height: auto;" width="22" /> <h1 class="truncate text-[18px] font-bold leading-7 text-foreground" > Knowhere Notebook </h1> <div class="shrink-0 bg-border w-[1px] mx-1 hidden h-4 lg:block" data-orientation="vertical" role="none" /> <span class="hidden text-sm font-medium text-foreground lg:block" > Personal Workspace </span> </div> <div class="flex shrink-0 items-center gap-2 lg:gap-3" > <button aria-expanded="false" aria-haspopup="menu" aria-label="Toggle theme" class="inline-flex items-center justify-center gap-2 whitespace-nowrap tracking-normal transition-[color,background-color,border-color,padding-bottom,box-shadow,transform] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring/15 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 rounded-lg border text-foreground shadow-xs hover:text-accent-foreground size-10 border-border/70 bg-background/80 hover:bg-accent/80" data-state="closed" id="radix-_r_9c_" type="button" > <svg aria-hidden="true" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" 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" > <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg> <svg aria-hidden="true" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="rou
src/components/workspace-shell.test.ts > WorkspaceShell > focuses guest citations from the mobile chat panel: src/components/workspace-shell.test.ts#L388
AssertionError: expected undefined to be 'demo-source:chunk_1' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex h-screen w-full flex-col overflow-hidden bg-background" > <header class="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border/70 bg-background/95 px-4 shadow-[0_8px_24px_-20px_rgba(15,23,42,0.35)] backdrop-blur-sm lg:px-6" > <div class="flex min-w-0 items-center gap-3" > <img alt="" aria-hidden="true" data-nimg="1" decoding="async" height="20.08695652173913" loading="lazy" src="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75" srcset="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=32&q=75 1x, /_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75 2x" style="color: transparent; height: auto;" width="22" /> <h1 class="truncate text-[18px] font-bold leading-7 text-foreground" > Knowhere Notebook </h1> <div class="shrink-0 bg-border w-[1px] mx-1 hidden h-4 lg:block" data-orientation="vertical" role="none" /> <span class="hidden text-sm font-medium text-foreground lg:block" > Personal Workspace </span> </div> <div class="flex shrink-0 items-center gap-2 lg:gap-3" > <button aria-expanded="false" aria-haspopup="menu" aria-label="Toggle theme" class="inline-flex items-center justify-center gap-2 whitespace-nowrap tracking-normal transition-[color,background-color,border-color,padding-bottom,box-shadow,transform] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring/15 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 rounded-lg border text-foreground shadow-xs hover:text-accent-foreground size-10 border-border/70 bg-background/80 hover:bg-accent/80" data-state="closed" id="radix-_r_8i_" type="button" > <svg aria-hidden="true" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" 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" > <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg> <svg aria-hidden="true" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-l
src/components/workspace-shell.test.ts > WorkspaceShell > focuses guest citations on desktop using loaded demo chunks: src/components/workspace-shell.test.ts#L302
AssertionError: expected undefined to be 'demo-source:chunk_1' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex h-screen w-full flex-col overflow-hidden bg-background" > <header class="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border/70 bg-background/95 px-4 shadow-[0_8px_24px_-20px_rgba(15,23,42,0.35)] backdrop-blur-sm lg:px-6" > <div class="flex min-w-0 items-center gap-3" > <img alt="" aria-hidden="true" data-nimg="1" decoding="async" height="20.08695652173913" loading="lazy" src="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75" srcset="/_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=32&q=75 1x, /_next/image?url=%2Fimages%2Fknowhere%2Flogo-icon.png&w=48&q=75 2x" style="color: transparent; height: auto;" width="22" /> <h1 class="truncate text-[18px] font-bold leading-7 text-foreground" > Knowhere Notebook </h1> <div class="shrink-0 bg-border w-[1px] mx-1 hidden h-4 lg:block" data-orientation="vertical" role="none" /> <span class="hidden text-sm font-medium text-foreground lg:block" > Personal Workspace </span> </div> <div class="flex shrink-0 items-center gap-2 lg:gap-3" > <button aria-expanded="false" aria-haspopup="menu" aria-label="Toggle theme" class="inline-flex items-center justify-center gap-2 whitespace-nowrap tracking-normal transition-[color,background-color,border-color,padding-bottom,box-shadow,transform] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-ring/15 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 rounded-lg border text-foreground shadow-xs hover:text-accent-foreground size-10 border-border/70 bg-background/80 hover:bg-accent/80" data-state="closed" id="radix-_r_7o_" type="button" > <svg aria-hidden="true" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" 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" > <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg> <svg aria-hidden="true" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" fill="none" height="24" stroke="currentColor" stroke-linecap="round" stroke-l
Lint, Typecheck, Test, Build: src/domains/sources/route-upload.ts#L3
'Source' is defined but never used