fix pipeline stop, jobs link navigation, and seed quote stripping

- Fix stop: abort poll now rejects the promise after killing the agent process
- Fix jobs link: close modal before navigating, use react-router navigate
- Fix seed parser: strip quotes from step input values (delete_source: "true")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 05:32:35 +00:00
co-authored by Claude Opus 4.6
parent 53c78c76cb
commit ef6402a827
3 changed files with 11 additions and 12 deletions
+3 -7
View File
@@ -124,9 +124,10 @@ async function runAgenticStep({ userId, email, username, role, taskDirName, prom
// Poll for abort signal to kill the running agent
const abortPoll = setInterval(() => {
if (abortSignal.aborted && cleanup) {
if (abortSignal.aborted) {
clearInterval(abortPoll);
cleanup();
cleanup?.();
reject(new Error('Pipeline was stopped'));
}
}, 500);
@@ -157,11 +158,6 @@ async function runAgenticStep({ userId, email, username, role, taskDirName, prom
sidecar.sendPiPrompt(sessionId, prompt, randomUUID());
}
// If already aborted while setting up, kill immediately
if (abortSignal.aborted) {
clearInterval(abortPoll);
cleanup?.();
}
} catch (err) {
clearInterval(abortPoll);
cleanup?.();