From 4c3e8339367b41e50095d9424fd79257a5f2182e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 08:09:39 +0000 Subject: [PATCH 1/2] Initial plan From c269ad4ca16c2b0177d9c0bf189ff497b411c299 Mon Sep 17 00:00:00 2001 From: ResearchOps Bot Date: Sun, 1 Feb 2026 08:12:56 +0000 Subject: [PATCH 2/2] Fix WF2 workflow: Add --autostash to git pull --rebase Co-authored-by: yajeddig <166155895+yajeddig@users.noreply.github.com> --- src/utils/git_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/git_ops.py b/src/utils/git_ops.py index 5cb3a4c..258863b 100644 --- a/src/utils/git_ops.py +++ b/src/utils/git_ops.py @@ -35,8 +35,8 @@ def safe_commit(files, message): # 3. Commit locally BEFORE pull run_cmd(["git", "commit", "-m", message]) - # 4. Pull with rebase (now safe - working dir is clean) - run_cmd(["git", "pull", "--rebase"]) + # 4. Pull with rebase (--autostash handles any uncommitted changes) + run_cmd(["git", "pull", "--rebase", "--autostash"]) # 5. Push run_cmd(["git", "push"])