Repository navigation
chore(deps-dev): bump happy-dom from 20.8.9 to 21.0.4 in /packages/ui - #8
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Annotations
7 errors, 1 warning, and 1 notice
|
Run unit tests:
packages/kilo-vscode/tests/unit/model-state.test.ts#L97
[
{
- "preferred": {
- "modelID": "model-a",
- "providerID": "kilo",
- "variant": "high",
- },
"selections": {
"code": {
"modelID": "model-a",
"providerID": "kilo",
},
},
"type": "modelSelectionsLoaded",
},
]
- Expected - 5
+ Received + 0
at <anonymous> (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/unit/model-state.test.ts:97:28)
|
|
Run unit tests:
packages/kilo-vscode/tests/unit/model-state.test.ts#L87
{
"preferred": {
- "modelID": "model-a",
- "providerID": "kilo",
- "variant": "",
+ "modelID": "model-b",
+ "providerID": "other",
+ "variant": "high",
},
}
- Expected - 3
+ Received + 3
at <anonymous> (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/unit/model-state.test.ts:87:43)
|
|
Run unit tests:
packages/kilo-vscode/tests/unit/model-state.test.ts#L87
{
"preferred": {
- "modelID": "model-a",
- "providerID": "kilo",
- "variant": "",
+ "modelID": "model-b",
+ "providerID": "other",
+ "variant": "high",
},
}
- Expected - 3
+ Received + 3
at <anonymous> (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/unit/model-state.test.ts:87:43)
|
|
Run unit tests:
packages/kilo-vscode/tests/unit/model-state.test.ts#L71
at async <anonymous> (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/unit/model-state.test.ts:71:35)
|
|
Run unit tests:
packages/kilo-vscode/tests/unit/frame-queue.test.ts#L74
Expected to contain: "if (!streamMessage(message)) return false"
only reads store.parts (not message costs). */\n const familyLabels = createMemo<Map<string, string>>(() => {\n const id = currentSessionID()\n if (!id) return new Map()\n const family = visibleFamily(id)\n const msgs: Record<string, Message[]> = {}\n for (const sid of family) msgs[sid] = visible(sid)\n return buildFamilyLabelsFromTools(family, (sid) => visibleToolParts(sid, msgs[sid] ?? []))\n })\n\n /** Combined cost breakdown with labels. */\n const costBreakdown = createMemo<Array<{ label: string; cost: number }>>(() => {\n const id = currentSessionID()\n const costs = familyCosts()\n if (!id || costs.size === 0) return []\n return buildCostBreakdown(id, costs, familyLabels(), language.t(\"context.stats.thisSession\"))\n })\n\n // Status text derived from current turn's assistant message parts\n const statusText = createMemo<string | undefined>(() => {\n if (status() === \"idle\") return undefined\n const thinking = language.t(\"ui.sessionTurn.status.thinking\")\n const fallback = language.t(\"ui.sessionTurn.status.consideringNextSteps\")\n const id = currentSessionID()\n const msgs = messages()\n const activeID = activeUserMessageID(msgs, statusInfo(), (msg) => getParts(msg.id), submitting())\n const activeIdx = activeID\n ? msgs.findIndex((msg) => msg.id === activeID)\n : msgs.findLastIndex((m) => m.role === \"user\")\n if (activeIdx < 0) return thinking\n\n for (let i = msgs.length - 1; i > activeIdx; i--) {\n if (msgs[i].role !== \"assistant\") continue\n const parts = getParts(msgs[i].id)\n if (parts.length === 0) return thinking\n const raw = computeStatus(parts[parts.length - 1], language.t) ?? fallback\n // When delegating to a subagent and that subagent is blocked on a prompt,\n // replace the generic \"Delegating work\" label with a more informative one\n // so the user understands why nothing appears to be happening.\n if (raw === language.t(\"ui.sessionTurn.status.delegating\")) {\n const scoped = scopedPermissions(id)\n if (scoped.length > 0) return language.t(\"ui.sessionTurn.status.delegatingWaitingPermission\")\n const scopedQ = scopedQuestions(id)\n if (scopedQ.length > 0) return language.t(\"ui.sessionTurn.status.delegatingWaitingQuestion\")\n }\n return raw\n }\n return thinking\n })\n\n const modelUsage = createMemo<SessionModelUsage | undefined>(() => {\n const id = currentSessionID()\n return id ? store.modelUsage[id]?.data : undefined\n })\n\n const contextUsage = createMemo<ContextUsage | undefined>(() => {\n const msgs = visibleMessages()\n for (let i = msgs.length - 1; i >= 0; i--) {\n const m = msgs[i]\n if (m.role !== \"assistant\" || !m.tokens) continue\n const usage = calcContextUsage(m.tokens, undefined)\n if (usage.tokens === 0) continue\n const sel = selected()\n const model = sel ? provider.findModel(sel) : undefined\n const limit = model?.limit?.context ?? model?.contextLength\n return calcContextUsage(m.tokens, limit)\n }\n return undefined\n })\n\n const value: SessionContextValue = {\n currentSessionID,\n currentSession,\n setCurrentSessionID,\n sessions,\n status,\n statusInfo,\n closeReason,\n statusText,\n busyTiming,\n submitting,\n canResume: () => !!resumable(),\n resume,\n isSubmitting,\n loading,\n loadingOlderMessages,\n hasOlderMessages,\n messageMutation,\n messages,\n visibleMessages,\n userMessages,\n getParts,\n getSessionToolParts,\n getSessionToolCount,\n dismissedBackgroundJobs,\n dismissBackgroundJobs,\n isErrorHidden: (messageID: string) => hiddenErrors().has(messageID),\n hydrateParts,\n todos,\n permissions,\n respondingPermissions,\n questions,\n questionErrors,\n suggestions,\n suggestionErrors,\n respondingSuggestions,\n scopedPermissions,\n scopedQuestions,\n s
|
|
Run unit tests:
packages/kilo-vscode/tests/fixtures/run.ts#L52
292274 | const root6 = document.createElement("div");
292275 | document.body.append(root6);
292276 | const node3 = (selector, scope = root6) => {
292277 | const result = scope.querySelector(selector);
292278 | assert3.ok(result, `Expected DOM node ${selector}`);
^
AssertionError: Expected DOM node button[data-action="send-kilo"]
generatedMessage: false,
actual: null,
expected: true,
operator: "==",
code: "ERR_ASSERTION"
at node3 (/home/runner/work/czcode/czcode/packages/kilo-vscode/.diff-comment-form-685edd54-eca9-4955-a70e-02bf04879fdb.mjs:292278:13)
Bun v1.3.14 (Linux x64 baseline)
Expected: 0
Received: 1
at fixture (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/fixtures/run.ts:52:79)
|
|
Run unit tests:
packages/kilo-vscode/tests/fixtures/run.ts#L52
84116 | assert4.deepEqual(github, []);
84117 | setNumber(7);
84118 | await wait();
84119 | assert4.equal(button("send-all-chat", root2).textContent, "Send all to chat (2)");
84120 | assert4.equal(button("send-all-github", root2).textContent, "Send 2 to GitHub #7");
^
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'agentManager.review.sendAllToGithubWithCount'
- 'Send 2 to GitHub #7'
generatedMessage: true,
actual: "agentManager.review.sendAllToGithubWithCount",
expected: "Send 2 to GitHub #7",
operator: "strictEqual",
code: "ERR_ASSERTION"
at /home/runner/work/czcode/czcode/packages/kilo-vscode/.send-all-button-acb596d6-5209-47d3-85c4-3b48105dcfcf.mjs:84120:9
Bun v1.3.14 (Linux x64 baseline)
Expected: 0
Received: 1
at fixture (/home/runner/work/czcode/czcode/packages/kilo-vscode/tests/fixtures/run.ts:52:79)
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading