Tell an epic chunk's worker how its repo ships a change, and bound the interrupt test's helper shell
CI / tests (pull_request) Failing after 5m1s
CI / tests (pull_request) Failing after 5m1s
This commit is contained in:
+5
-1
@@ -16,6 +16,7 @@ from loop_claude.project.records import CONSEQUENCE, read_records
|
||||
from agent_cycle.run import Cycle, run_cycle
|
||||
from do_epic.config import DoEpicConfig, load
|
||||
from loop_effects.effects import Effects, say
|
||||
from project_config.main import located as config_located
|
||||
from project_config.settings import Epic
|
||||
from record_store.jira_description import EpicDescription
|
||||
from do_epic.backend.protocol import EpicIssue, EpicStore
|
||||
@@ -417,7 +418,10 @@ def chunk_work(key: str, checkout: str | None, language: str, epic: EpicRun) ->
|
||||
issue = issue_read(key, epic)
|
||||
if isinstance(issue, Stop):
|
||||
return issue
|
||||
return chunk_prompt.task(issue, epic.key, checkout, epic.launcher, language), RoutingIssue(issue) if "L" in issue.scores else None
|
||||
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
|
||||
issues = epic.store.read()
|
||||
if isinstance(issues, Failure):
|
||||
return Stop(1, issues.reason)
|
||||
|
||||
Reference in New Issue
Block a user