From 2994e246c06609c945d459b6aca153b024882326 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Aug 2026 20:54:16 +0000 Subject: [PATCH] test: remove orphaned truth-gate fixture left by #1431 `ci: retire the agent-completion truth gate (#1431)` (8cd4a10ca) deleted both readers of tests/fixtures/agent_completion/pr_813.json -- scripts/ci/agent_completion_gate.py and tests/unit/test_agent_completion_gate.py -- but left the fixture itself in the tree. The fixture encodes the retired gate's payload schema (policy.applicable, agent_login, run_id, head_sha). With no reader it reads as a live contract for a mechanism that no longer exists, which is the same misleading-artifact class #1431 and #1434 were closing. Verified orphaned: a repo-wide grep for `agent_completion` outside the fixture directory returns exactly one hit, a historical runbook narrating the retirement (prose, not a load) -- left unchanged. None of the four tests that read from tests/fixtures/ reference it. Closes #1474 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01BqvCiGTa8yXRhSsGdHWDgr --- tests/fixtures/agent_completion/pr_813.json | 76 --------------------- 1 file changed, 76 deletions(-) delete mode 100644 tests/fixtures/agent_completion/pr_813.json diff --git a/tests/fixtures/agent_completion/pr_813.json b/tests/fixtures/agent_completion/pr_813.json deleted file mode 100644 index 2ca2dcf51..000000000 --- a/tests/fixtures/agent_completion/pr_813.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "policy": { - "applicable": true, - "agent_login": "google-labs-jules[bot]", - "run_id": "1892762060881911102", - "head_sha": "5a6d203958bd90d5ba88e51f18b9244140d1b0a3" - }, - "issue": { - "number": 802, - "description": null, - "acceptance_criteria": [], - "declared_files": [ - "src/agents/specialized/quality_agent.py", - "src/youtube_extension/backend/ai_code_generator.py" - ], - "scope_unrestricted": false - }, - "pull_request": { - "number": 813, - "changed_files": [ - "apps/web/package.json", - "package-lock.json", - "src/agents/specialized/quality_agent.py", - "src/youtube_extension/backend/ai_code_generator.py", - "tests/unit/test_cloud_routes.py" - ], - "present_changed_files": [ - "apps/web/package.json", - "package-lock.json", - "src/agents/specialized/quality_agent.py", - "src/youtube_extension/backend/ai_code_generator.py", - "tests/unit/test_cloud_routes.py" - ], - "merged": false, - "draft": true, - "title_valid": false, - "required_checks_passed": true, - "post_merge_checks_passed": false - }, - "events": [ - { - "kind": "artifact_ready", - "sequence": 1, - "comment_id": 4998315522, - "author": "google-labs-jules[bot]", - "run_id": null, - "raw_body": "Ready for a review! A [PR](https://github.com/groupthinking/EventRelay/pull/813) has been created." - }, - { - "kind": "error", - "sequence": 2, - "comment_id": 4998316692, - "author": "google-labs-jules[bot]", - "run_id": "1892762060881911102", - "raw_body": "Jules encountered an unexpected error and wasn't able to complete task/1892762060881911102." - } - ], - "reviews": [ - { - "blocking": true, - "resolved": false, - "source": "PRRT_kwDORAYbZs6Rogl-" - } - ], - "evidence": { - "behavior_changed_files": [ - "src/agents/specialized/quality_agent.py", - "src/youtube_extension/backend/ai_code_generator.py" - ], - "focused_test_files": [], - "focused_test_results": {}, - "copilot_current_head_reviewed": false, - "copilot_rabbit_label": false - }, - "collection_errors": [] -}