huskies: merge 668_bug_pipeline_advances_coder_work_to_merge_when_gates_passed_false
This commit is contained in:
@@ -47,8 +47,9 @@ pub(crate) fn worktree_has_committed_work(wt_path: &Path) -> bool {
|
||||
/// is evaluated, then restores them afterward. Uncommitted work in worktrees is
|
||||
/// never junk — it may be the next agent session's starting point (bug 651).
|
||||
///
|
||||
/// Used as part of the "work survived" check when an agent crashes mid-output
|
||||
/// (bug 645).
|
||||
/// No longer called from main pipeline code (bug 668 replaced cargo-check with
|
||||
/// run_tests evidence), but retained for the bug-651 stash/restore regression test.
|
||||
#[cfg(test)]
|
||||
pub(crate) fn cargo_check_in_worktree(wt_path: &Path) -> bool {
|
||||
// Stash uncommitted changes (including untracked files) so cargo check
|
||||
// evaluates only committed code. We restore them afterward.
|
||||
|
||||
Reference in New Issue
Block a user