MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / appendManualAccountRunRecordIfNeeded

Function appendManualAccountRunRecordIfNeeded

background.js:4471–4482  ·  view source on GitHub ↗
(status, stateOverride = null, reason = '')

Source from the content-addressed store, hash-verified

4469}
4470
4471async function appendManualAccountRunRecordIfNeeded(status, stateOverride = null, reason = '') {
4472 if (!accountRunHistoryHelpers?.appendAccountRunRecord) {
4473 return null;
4474 }
4475
4476 const state = stateOverride || await getState();
4477 if (isAutoRunLockedState(state)) {
4478 return null;
4479 }
4480
4481 return appendAndBroadcastAccountRunRecord(status, state, reason);
4482}
4483
4484async function finalizeDeferredStepExecutionError(step, error) {
4485 const latestState = await getState();

Callers 3

executeStepFunction · 0.70

Calls 3

getStateFunction · 0.85
isAutoRunLockedStateFunction · 0.85

Tested by

no test coverage detected