fix(web-probe): isolate performance capture cdp timeouts
This commit is contained in:
@@ -31,6 +31,7 @@ export function nodeWebObserveRunnerControlSource(): string {
|
||||
} finally {
|
||||
stopCommandSampler();
|
||||
activeCommandId = null;
|
||||
activeCommandType = null;
|
||||
await writeHeartbeat({ status: terminalStatus });
|
||||
}
|
||||
}
|
||||
@@ -79,7 +80,8 @@ function startCommandActiveSampler(command) {
|
||||
async function processCommand(command) {
|
||||
commandSeq += 1;
|
||||
activeCommandId = command.id;
|
||||
await writeHeartbeat({ status: "running", activeCommandId });
|
||||
activeCommandType = command.type;
|
||||
await writeHeartbeat({ status: "running", activeCommandId, activeCommandType });
|
||||
await appendJsonl(files.control, controlRecord(command, "started", commandInputSummary(command)));
|
||||
switch (command.type) {
|
||||
case "login": return authenticate(context);
|
||||
|
||||
Reference in New Issue
Block a user