Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(tests): make the integration JobStore double honour its filters (#1375)
Raghav Chamadiya111ec6256b2b
diff --git a/tests/integration/test_pipeline_fast_checkpoint.py b/tests/integration/test_pipeline_fast_checkpoint.pyindex 711ef46d5..585304fbd 100644--- a/tests/integration/test_pipeline_fast_checkpoint.py+++ b/tests/integration/test_pipeline_fast_checkpoint.py@@ -43,7 +43,16 @@ class _FakeJobStore:return recasync def list_jobs(self, *, repository_id=None, phase=None, state=None, limit=100):- return list(self.jobs.values())+ # Honour every filter SqlJobStore applies: callers push predicates down+ # to the store, so a double that ignores them hides real bugs.+ matches = [+ j+ for j in self.jobs.values()+ if (repository_id is None or j.repository_id == repository_id)+ and (phase is None or j.phase == phase)+ and (state is None or j.state == state)+ ]+ return matches[:limit]async def test_fast_mode_skips_generation_and_co_change(sample_repo_path: Path) -> None: