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

Function appendRoundRecordIfNeeded

background/auto-run-controller.js:382–395  ·  view source on GitHub ↗
(status, reason = '')

Source from the content-addressed store, hash-verified

380 }
381
382 const appendRoundRecordIfNeeded = async (status, reason = '') => {
383 if (roundRecordAppended) {
384 return;
385 }
386
387 if (typeof appendAccountRunRecord !== 'function') {
388 return;
389 }
390
391 const record = await appendAccountRunRecord(status, null, reason);
392 if (record) {
393 roundRecordAppended = true;
394 }
395 };
396
397 try {
398 deps.throwIfStopped();

Callers 1

autoRunLoopFunction · 0.85

Calls 1

appendAccountRunRecordFunction · 0.85

Tested by

no test coverage detected