The builders node accepted any non-empty diff string and advanced it to dispatch. Two failure modes seen live slipped through: a diff with placeholder hunk headers (`@@ -X,Y +A,B @@`) that git apply rejects with exit 128 (the task then parked at dispatch with an opaque error), and a no-op empty-file creation that applied cleanly and opened a blank draft PR. Add a pure, deterministic shape check in build_candidate_diff that fails with an actionable BuildError when a hunk header is non-numeric or the patch carries no added/removed content, so the cause surfaces at build instead of downstream. |
||
|---|---|---|
| .. | ||
| db | ||
| nodes | ||
| transport | ||
| __init__.py | ||
| api.py | ||
| billing.py | ||
| ci_fetcher.py | ||
| ci_gate.py | ||
| ci_watcher.py | ||
| coordinator.py | ||
| dashboard.py | ||
| deadline_timer.py | ||
| decisions.py | ||
| dispatcher.py | ||
| draft_pr_monitor.py | ||
| github_app.py | ||
| graph.py | ||
| invoker.py | ||
| invoker_multi.py | ||
| ledger.py | ||
| operator_cli.py | ||
| recovery.py | ||
| responder.py | ||
| resume_worker.py | ||
| state_store.py | ||
| status_page.py | ||
| task_model.py | ||
| topology.py | ||