Skip to main content

handle_pre_submit_check

Function handle_pre_submit_check 

Source
pub async fn handle_pre_submit_check(
    server: &ProtocolServer,
    req: PreSubmitCheckRequest,
) -> Result<Response<PreSubmitCheckResponse>, Status>
Expand description

Handle a PreSubmitCheck RPC.

Performs a dry-run conflict detection:

  1. Retrieves the session workspace.
  2. Compares the workspace overlay against current HEAD.
  3. Uses the semantic conflict detector to find overlapping changes.
  4. Reports conflicts, file count, and symbol change count.