Skip to main content

Module runutil

Module runutil 

Source
Expand description

Shared helpers for runner invocations with consistent error handling.

Responsibilities:

  • Provide a single “runutil” surface for runner execution helpers and revert/abort utilities.
  • Re-export cohesive submodules so call sites keep using crate::runutil::{...}.

Not handled here:

  • Prompt template rendering, queue/task persistence, or runner selection logic.

Invariants/assumptions:

  • Submodules remain cohesive (execution vs revert vs abort vs ci-gate vs retry).
  • Re-exports preserve the existing public and pub(crate) API surface.

Structs§

RevertPromptContext

Enums§

RevertDecision
RevertOutcome
RevertSource

Functions§

apply_git_revert_mode
apply_git_revert_mode_with_context
format_revert_failure_message
parse_revert_response
prompt_revert_choice_with_io

Type Aliases§

RevertPromptHandler