fix: post-finale completeness sweep — routing surface, provider config, budgets, compose env, interactive exemption (#661)

This commit is contained in:
Renzo F
2026-07-23 09:41:27 +02:00
committed by GitHub
parent 21d6730400
commit d4b7e1e7b8
45 changed files with 2064 additions and 256 deletions
@@ -47,6 +47,7 @@ def _claim_task(
last_heartbeat_at=None,
active_claimant_id=None,
orchestration_markers={},
dev_notes=None,
)
@@ -229,6 +230,30 @@ async def test_inherit_conflict_notes_the_task() -> None:
assert note is not None
assert "a.py, b.py" in note
assert "sync_branch" in note
# The dev must actually SEE it — dev_notes rides evidence(), the marker
# does not.
assert task.dev_notes is not None
assert "a.py, b.py" in task.dev_notes
assert "[BASE INHERITANCE]" in task.dev_notes
@pytest.mark.asyncio
async def test_inherit_merged_push_failed_notes_the_dev() -> None:
svc = _service()
task = _claim_task("feature/backend/AAA--BBB")
proj_svc, git_svc, _ = _patched_deps(svc, {"status": "merged_push_failed"})
with (
patch(
"roboco.services.project.get_project_service",
MagicMock(return_value=proj_svc),
),
patch("roboco.services.git.get_git_service", MagicMock(return_value=git_svc)),
):
await svc._inherit_upstream_base(task, uuid4())
assert task.dev_notes is not None
assert "push to origin failed" in task.dev_notes
@pytest.mark.asyncio