Consume the EXT-16 exec backend interface (Backend #119) #285

Merged
weichen merged 6 commits from feature/ext-16-exec-backend into main 2026-10-09 17:14:11 +00:00
3 changed files with 210 additions and 1 deletions
File diff suppressed because one or more lines are too long
+4
View File
@@ -29,6 +29,10 @@ class TaskLifecycleTests(unittest.TestCase):
"TASK_PARENT_BRANCH", "TASK_PARENT_PR", "FORCE_ABANDON", "TASK_TARGET_BRANCH"):
self.env.pop(key, None)
self.git(self.root, "init", "--bare", "--initial-branch=main", str(self.remote))
# receive-pack 默认在后台跑 gc --auto,与 TemporaryDirectory 清理竞态
# (CI 实测 OSError 39 remote.git not empty);夹具远端无留存价值,直接关。
self.git(self.remote, "config", "gc.auto", "0")
self.git(self.remote, "config", "receive.autogc", "false")
self.git(self.root, "init", "--initial-branch=main", str(self.repo))
shutil.copytree(SOURCE / "scripts", self.repo / "scripts")
(self.repo / "Makefile").write_text("precheck:\n\t@bash scripts/task.sh precheck\n")