Pass the repo's config to the task, so the no-repo case is tested where mutants run
CI / tests (pull_request) Failing after 5m5s

This commit is contained in:
2026-11-19 02:42:20 +01:00
parent 36c0ed9bfa
commit a2c9d2150d
3 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ def chunk_work(key: str, checkout: str | None, language: str, epic: EpicRun) ->
config = config_located(checkout, epic.paths.home) if checkout else None
if isinstance(config, Failure):
return Stop(1, config.reason)
return chunk_prompt.task(issue, epic.key, checkout, epic.launcher, language, chunk_prompt.shipping(config) if config else ""), RoutingIssue(issue) if "L" in issue.scores else None
return chunk_prompt.task(issue, epic.key, checkout, epic.launcher, language, config), RoutingIssue(issue) if "L" in issue.scores else None
issues = epic.store.read()
if isinstance(issues, Failure):
return Stop(1, issues.reason)