Skip to content

Commit eb4f7da

Browse files
committed
fix(ci): Resolve case-sensitivity in parallel runner tests and rename TestStage to TestingStage
1 parent 10a4353 commit eb4f7da

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pipeline/cloding/pipeline/stage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ async def build_prompt(self, state: PipelineState) -> str:
206206
return "\n".join(parts)
207207

208208

209-
class TestStage(Stage):
209+
class TestingStage(Stage):
210210
"""Runs the project test suite, reads failures, and fixes code until green.
211211
212212
The agent executes tests (pytest, npm test, etc.), reads output,
@@ -291,7 +291,7 @@ async def build_prompt(self, state: PipelineState) -> str:
291291
"explore": ExploreStage,
292292
"code": CodeStage,
293293
"review": ReviewStage,
294-
"test": TestStage,
294+
"test": TestingStage,
295295
"lint": LintStage,
296296
"verify": VerifyStage,
297297
}

pipeline/tests/test_parallel_runner.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_creates_file(self, tmp_path):
2020
)
2121
_write_task_file(tmp_path, task)
2222

23-
filepath = tmp_path / "TASK-1.MD"
23+
filepath = tmp_path / "TASK-1.md"
2424
assert filepath.exists()
2525
content = filepath.read_text(encoding="utf-8")
2626
assert "Implement login" in content
@@ -35,23 +35,23 @@ def test_includes_context(self, tmp_path):
3535
)
3636
_write_task_file(tmp_path, task)
3737

38-
filepath = tmp_path / "TASK-2.MD"
38+
filepath = tmp_path / "TASK-2.md"
3939
content = filepath.read_text(encoding="utf-8")
4040
assert "Use pytest framework" in content
4141

4242
def test_no_context_fallback(self, tmp_path):
4343
task = CodingTask(task_id="task-3", description="Refactor")
4444
_write_task_file(tmp_path, task)
4545

46-
filepath = tmp_path / "TASK-3.MD"
46+
filepath = tmp_path / "TASK-3.md"
4747
content = filepath.read_text(encoding="utf-8")
4848
assert "Refer to PLAN.md" in content
4949

5050
def test_empty_files_list(self, tmp_path):
5151
task = CodingTask(task_id="task-4", description="Quick fix")
5252
_write_task_file(tmp_path, task)
5353

54-
filepath = tmp_path / "TASK-4.MD"
54+
filepath = tmp_path / "TASK-4.md"
5555
content = filepath.read_text(encoding="utf-8")
5656
assert "See description" in content
5757

@@ -234,8 +234,8 @@ async def test_task_files_written_and_cleaned_up(self, tmp_path):
234234
max_parallel=2,
235235
)
236236
# Task files should be cleaned up after execution
237-
assert not (tmp_path / "TASK-1.MD").exists()
238-
assert not (tmp_path / "TASK-2.MD").exists()
237+
assert not (tmp_path / "TASK-1.md").exists()
238+
assert not (tmp_path / "TASK-2.md").exists()
239239

240240
async def test_semaphore_limits_concurrency(self, tmp_path):
241241
"""With max_parallel=1, tasks run sequentially."""

0 commit comments

Comments
 (0)