• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 28591036690
82%

Build:
DEFAULT BRANCH: dev
Ran 02 Jul 2026 12:46PM UTC
Jobs 28
Files 622
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jul 2026 12:45PM UTC coverage: 82.43% (+0.006%) from 82.424%
28591036690

push

github

web-flow
fix(web): keep space task composer from restoring deleted text (#2219)

* fix(web): keep space task composer from restoring deleted text

In the worker-agent thread composer, draft text was frequently not deletable:
select-all + delete would bring the text back, sometimes leaving a stray letter.

Root cause: useInputDraft clobbers its in-memory draft to '' and reloads the
server draft whenever its sessionId prop changes. In the task thread that id
comes from resolveTargetSessionId, which flips to null mid-composition when its
two source LiveQueries (nodeExecutions.byRun and spaceTaskActivity.byTask)
momentarily disagree — it returns null whenever the node-execution id is known
but no activity member matches yet, skipping the agentName fallback while
nodeExecutionId is set. The null flip made the draft wipe and reload the stale
server copy, restoring the deleted text.

Fix: latch the resolved session per target in useTargetSessionContext so a
transient resolution gap can't null it out mid-composition. The id stays stable
until the target genuinely changes, so useInputDraft never clobbers/reloads.

Regression tests: resolved session survives an empty activityMembers tick;
switching to a genuinely different unstarted target does not inherit the latch.

* fix(web): scope task-thread composer session latch by taskId

The session latch added to fix deleted-text restoration was keyed only by
target id. Workflow composer target ids are reused across tasks
(node:<nodeId>:<agentName>), and SpaceTaskPane stays mounted across task
switches (no key=taskId on its render site). So switching to a second task
whose activity hadn't loaded yet inherited the first task's coder session —
marking an unstarted agent as started and wiring draft/model state to the
wrong task's session.

Scope the latch key by (taskId, target). nodeExecutionId is deliberately
excluded: a transient null during an execution-id transition is exactly the
gap the latch exists to ride out, and inclu... (continued)

11524 of 16599 branches covered (69.43%)

Branch coverage included in aggregate %.

19 of 19 new or added lines in 2 files covered. (100.0%)

98014 of 116287 relevant lines covered (84.29%)

301.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-online-space-2 - 28591036690.1 02 Jul 2026 12:48PM UTC 361
31.71
GitHub Action Run
2 daemon-4-space-storage - 28591036690.2 02 Jul 2026 12:46PM UTC 160
53.62
GitHub Action Run
3 daemon-4-space-migrations-b - 28591036690.3 02 Jul 2026 12:47PM UTC 48
56.5
GitHub Action Run
4 daemon-online-rpc-1 - 28591036690.4 02 Jul 2026 12:47PM UTC 361
18.45
GitHub Action Run
5 web - 28591036690.5 02 Jul 2026 12:47PM UTC 252
74.6
GitHub Action Run
6 daemon-online-rpc-3 - 28591036690.6 02 Jul 2026 12:47PM UTC 361
18.77
GitHub Action Run
7 daemon-5-space-agent-other - 28591036690.7 02 Jul 2026 12:47PM UTC 288
25.54
GitHub Action Run
8 daemon-5-space-runtime-a - 28591036690.8 02 Jul 2026 12:46PM UTC 131
39.65
GitHub Action Run
9 daemon-1-core - 28591036690.9 02 Jul 2026 12:46PM UTC 366
34.7
GitHub Action Run
10 daemon-online-features-2 - 28591036690.10 02 Jul 2026 12:47PM UTC 361
21.69
GitHub Action Run
11 daemon-online-rpc-4 - 28591036690.11 02 Jul 2026 12:47PM UTC 361
22.25
GitHub Action Run
12 daemon-online-git - 28591036690.12 02 Jul 2026 12:46PM UTC 361
18.2
GitHub Action Run
13 daemon-online-rewind-2 - 28591036690.13 02 Jul 2026 12:47PM UTC 361
22.13
GitHub Action Run
14 daemon-online-agent-sdk - 28591036690.14 02 Jul 2026 12:47PM UTC 361
21.56
GitHub Action Run
15 daemon-online-mcp - 28591036690.15 02 Jul 2026 12:46PM UTC 361
17.69
GitHub Action Run
16 daemon-online-rpc-2 - 28591036690.16 02 Jul 2026 12:47PM UTC 361
22.58
GitHub Action Run
17 daemon-online-lifecycle - 28591036690.17 02 Jul 2026 12:47PM UTC 361
21.86
GitHub Action Run
18 daemon-online-coordinator - 28591036690.18 02 Jul 2026 12:46PM UTC 350
7.78
GitHub Action Run
19 daemon-online-sdk - 28591036690.19 02 Jul 2026 12:47PM UTC 361
21.56
GitHub Action Run
20 daemon-5-space-runtime-b - 28591036690.20 02 Jul 2026 12:47PM UTC 186
47.9
GitHub Action Run
21 daemon-online-features-1 - 28591036690.21 02 Jul 2026 12:47PM UTC 361
22.24
GitHub Action Run
22 daemon-online-components - 28591036690.22 02 Jul 2026 12:46PM UTC 361
17.38
GitHub Action Run
23 daemon-online-space-1 - 28591036690.23 02 Jul 2026 12:47PM UTC 361
31.42
GitHub Action Run
24 daemon-online-rewind-1 - 28591036690.24 02 Jul 2026 12:47PM UTC 361
21.68
GitHub Action Run
25 daemon-online-websocket - 28591036690.25 02 Jul 2026 12:46PM UTC 361
17.47
GitHub Action Run
26 daemon-online-convo - 28591036690.26 02 Jul 2026 12:47PM UTC 361
21.47
GitHub Action Run
27 daemon-0-shared-handlers-workflow - 28591036690.27 02 Jul 2026 12:47PM UTC 366
32.27
GitHub Action Run
28 daemon-4-space-migrations-a - 28591036690.28 02 Jul 2026 12:47PM UTC 74
36.81
GitHub Action Run
Source Files on build 28591036690
  • Tree
  • List 622
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28591036690
  • 51128669 on github
  • Prev Build on dev (#28588222306)
  • Next Build on dev (#28591939071)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc