ta
TanStack
OSS
ta
Pipelines
Nx runs
Insights
Compare tasks
Analytics
Sign in
Toggle Sidebar
ai
ai
Pipelines
fix(agents, sandboxes, ai-mcp): stop the work under a run when the run aborts (#1976) * fix(ai-claude-code,ai-codex,ai-grok-build): give the chat() request signal to the tool bridge * fix(ai-sandbox): kill the spawnNdjson process on early stop, forward the snapshot tool signal * fix(ai-acp): cancel the question form when the operation ends * fix(ai-harness): give search commands the call signal, cancel harnessText turns on early stop * fix(ai-mcp): handle tasks/cancel for task tools, stop a cancelled elicitation * fix(ai-memory): forward the call signal in the hindsight tools * fix(ai-sandbox-daytona,ai-sandbox-vercel,ai-sandbox-upstash-box): clean up late sandboxes and kill aborted exec * fix(ai-code-mode): end the program and dispose the isolate when the run aborts * fix(ai-computer-use): skip queued actions and end waits when the call aborts * docs: describe tasks/cancel, code mode abort, and harnessText early stop * revert(ai-memory): move the hindsight signal change to the feat PR It adds an optional signal to the exported HindsightClientLike type, which is new public API. It belongs in the feat PR, not in this fix PR. * revert(ai-sandbox-upstash-box): drop the session-based exec on abort With a signal, exec ran through a session, which caps each stream at 8 MiB. Inside chat() every tool call has a signal, so every exec would get that cap. exec.command cannot be stopped mid-run, so this row needs a different approach (exec.stream with Run.cancel) checked on a real box. * fix(ai-code-mode, ai-computer-use, ai-harness, ai-sandbox-daytona, ai-sandbox-vercel): close abort gaps found in review - code mode: do not run the code when the run aborts while the context is made; dispose the isolate once and await that same promise. - computer use: an action does not start when its call aborts while the machine starts; the screenshot wait after an action ends on abort. - harness: the shared rg probe no longer takes the call signal, so one aborted call cannot cache 'no rg' for every later call. - daytona, vercel: check the abort again after the workdir is made, and delete or stop the sandbox. - e2e: the stop test now fails on any error that is not the abort. - docs: code mode says which drivers stop at once; add cancelled to the task status tables. * fix(ai-harness): start no search work for a call that aborted already * fix(ai-code-mode): make no isolate when the run aborts while the snippets load * fix(ai-computer-use): stop navigate and compound actions between steps on abort * docs(mcp): say that a task cancel aborts only the task in this process * fix(ai-computer-use): reject a drag that aborts during its last move * fix(ai-code-mode): load no snippets when the run aborts during transpile * fix(ai-harness): reject a search that the abort stops * fix(ai-computer-use): make no drag move after an abort during mouseDown The signal can abort while the button goes down. Check it right after mouseDown, inside the try, so the button still goes up. * test(ai-computer-use): let abortingDuring take mouseDown * fix(ai-computer-use): finish a drag that started before the abort Each mouseUp is a drop. An abort after mouseDown made a click on the start element, and an abort between moves dropped the item at a point in the middle. The drag now checks the signal only before mouseDown. * fix(ai-mcp): keep the result of a task that ends during tasks/cancel The cancel handler read the task as working and then waited. When the run ended in that gap, cancelTask saved cancelled over completed. Now cancelTask reads the task again when no run is in this process, and keeps a terminal status. The handler then returns an error.
nx affected --targets=test:sherif,test:knip,test:docs,test:kiira,test:maintainer,test:ai-review,test:oxlint,test:lib,test:types,test:build,build
⌘K
fix(agents, sandboxes, ai-mcp): stop the work under a run when the run aborts (#1976)
Succeeded
in
13m 6s
Started
Linux
4 CPU cores
read-write
access token used
Copy command
nx affected --targets=test:sherif,test:knip,test:docs,test:kiira,test:maintainer,test:ai-review,test:oxlint,test:lib,test:types,test:build,build
1977
86f4be4
GitHub
Open on GitHub
Tasks
Resource Usage
ta
TanStack
OSS