@@ -244,7 +244,7 @@ def main() -> int:
244244 with tempfile .TemporaryDirectory (prefix = "loopx-caller-repo-branch-smoke-" ) as tmp :
245245 repo_path = Path (tmp )
246246 _init_fixture_git_repo (repo_path )
247- caller_payload = _run_caller_repo_json_command (repo_path )
247+ caller_payload = _run_caller_repo_json_command (repo_path , expect_success = False )
248248 assert caller_payload ["ok" ] is True , caller_payload
249249 assert caller_payload ["schema_version" ] == "issue_fix_caller_repo_branch_packet_v0"
250250 assert caller_payload ["mode" ] == "issue-fix-caller-repo-branch"
@@ -296,6 +296,7 @@ def main() -> int:
296296 current_payload = _run_caller_repo_json_command (
297297 repo_path ,
298298 issue_branch = "codex/issue-123-current-base" ,
299+ expect_success = False ,
299300 )
300301 assert current_payload ["ok" ] is True
301302 current_snapshot = current_payload ["caller_repo_branch" ]["base_snapshot" ]
@@ -370,6 +371,7 @@ def main() -> int:
370371 pinned_payload = _run_caller_repo_json_command (
371372 repo_path ,
372373 issue_branch = "codex/issue-123-pinned-base" ,
374+ expect_success = False ,
373375 env = {
374376 ** os .environ ,
375377 "PATH" : str (shim_dir ) + os .pathsep + os .environ .get ("PATH" , "" ),
@@ -391,6 +393,7 @@ def main() -> int:
391393 existing_payload = _run_caller_repo_json_command (
392394 repo_path ,
393395 issue_branch = issue_branch ,
396+ expect_success = False ,
394397 )
395398 existing_branch = existing_payload ["caller_repo_branch" ]
396399 assert existing_branch ["branch_action" ] == "claimed_current"
0 commit comments