C-20 fixer: skip task-scoped edges when the hub lacks from_task_id
Guards a checker newer than the hub it talks to; the primary silently drops unknown fields and would store a workplan-level edge that later duplicates the task-scoped one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 237582@bnt-lap001 Assistant-Session: f2b3d9f1-8fb9-4b9c-bc2b-837ec5dfc826
This commit is contained in:
parent
daa4c91f87
commit
ecf0d0cbc2
2 changed files with 35 additions and 0 deletions
|
|
@ -2407,6 +2407,7 @@ class TestTaskWaitQualifiers:
|
|||
"consistency_check._api_patch",
|
||||
lambda _api_base, path, body: patches.append((path, body)) or {"ok": True},
|
||||
)
|
||||
monkeypatch.setattr("consistency_check._hub_accepts_from_task_id", lambda _api_base: True)
|
||||
monkeypatch.setattr("consistency_check._detect_behind_remote", lambda _repo_path: False)
|
||||
monkeypatch.setattr("consistency_check._detect_ahead_of_remote", lambda _repo_path: 0)
|
||||
monkeypatch.setattr("consistency_check._git_commit_writeback", lambda *args, **kwargs: True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue