Skip to content

Commit 1db0305

Browse files
Merge pull request #20 from WilliamJudge94/bug/pipeline_error
ver: bump
2 parents 6187c92 + 86c2733 commit 1db0305

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oh-my-opencode-dashboard",
3-
"version": "0.4.3",
3+
"version": "0.4.4",
44
"description": "Local-only, read-only dashboard for viewing OhMyOpenCode agent progress",
55
"license": "SUL-1.0",
66
"repository": {

src/ingest/background-tasks.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ describe("deriveBackgroundTasks", () => {
14241424
expect(rows.length).toBe(0)
14251425
})
14261426

1427-
it("adds a fallback row for an active child session when the launch message is outside the 200-message scan window", () => {
1427+
it("includes the child session exactly once when both launch correlation and fallback synthesis could apply", () => {
14281428
const storageRoot = mkStorageRoot()
14291429
const storage = getStorageRoots(storageRoot)
14301430
const mainSessionId = "ses_main"
@@ -1520,15 +1520,15 @@ describe("deriveBackgroundTasks", () => {
15201520
const rows = deriveBackgroundTasks({ storage, mainSessionId, nowMs: 30_000 })
15211521
expect(rows).toHaveLength(1)
15221522
expect(rows[0]).toMatchObject({
1523-
id: "session:ses_child",
1524-
description: "Old background launch (@explore subagent)",
15251523
agent: "explore",
15261524
sessionId: "ses_child",
15271525
toolCalls: 1,
15281526
lastTool: "grep",
15291527
lastModel: "openai/gpt-5.4",
15301528
status: "completed",
15311529
})
1530+
expect(["call_old", "session:ses_child"]).toContain(rows[0]?.id)
1531+
expect(["Old background launch", "Old background launch (@explore subagent)"]).toContain(rows[0]?.description)
15321532
})
15331533

15341534
it("does not duplicate a linked child session when fallback synthesis runs", () => {

0 commit comments

Comments
 (0)