MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / application_attempt_disposition

Function application_attempt_disposition

src/daemon/application.c:1472–1483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1470}
1471
1472static cbm_mcp_supervised_result_disposition_t application_attempt_disposition(
1473 cbm_daemon_application_job_t *job, application_attempt_t *attempt) {
1474 if (application_job_cancel_requested(job)) {
1475 if (!attempt->has_result) {
1476 application_cancelled_result(&attempt->result);
1477 attempt->has_result = true;
1478 } else {
1479 attempt->result.cancellation_requested = true;
1480 }
1481 }
1482 return cbm_mcp_supervised_result_disposition(0, attempt->has_result ? &attempt->result : NULL);
1483}
1484
1485static void application_record_attempt(const application_attempt_t *attempt,
1486 cbm_index_worker_result_t *last_result,

Callers 1

Tested by

no test coverage detected