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

Function application_attempt_disposition

src/daemon/application.c:1154–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154static cbm_mcp_supervised_result_disposition_t application_attempt_disposition(
1155 cbm_daemon_application_job_t *job, application_attempt_t *attempt) {
1156 if (application_job_cancel_requested(job)) {
1157 if (!attempt->has_result) {
1158 application_cancelled_result(&attempt->result);
1159 attempt->has_result = true;
1160 } else {
1161 attempt->result.cancellation_requested = true;
1162 }
1163 }
1164 return cbm_mcp_supervised_result_disposition(0, attempt->has_result ? &attempt->result : NULL);
1165}
1166
1167static void application_record_attempt(const application_attempt_t *attempt,
1168 cbm_index_worker_result_t *last_result,

Callers 1

Tested by

no test coverage detected