Sync from dev @ 14435d1
Source: main (14435d1) Excluded: live tenant exports, generated artifacts, and dev-only tooling.
This commit is contained in:
@@ -2498,7 +2498,14 @@ def main() -> int:
|
||||
return 0
|
||||
_debug(f"Active rolling PR detected: pr_id={pr_id}, source={source_ref}, target={target_ref}")
|
||||
|
||||
_run_git(args.repo_root, ["fetch", "--quiet", "origin", baseline_branch, drift_branch])
|
||||
_run_git(args.repo_root, ["fetch", "--quiet", "origin", baseline_branch])
|
||||
try:
|
||||
_run_git(args.repo_root, ["fetch", "--quiet", "origin", drift_branch])
|
||||
except RuntimeError as exc:
|
||||
if "couldn't find remote ref" in str(exc).lower() or "could not find remote ref" in str(exc).lower():
|
||||
print(f"Drift branch '{drift_branch}' not found on origin; skipping summary update.")
|
||||
return 0
|
||||
raise
|
||||
diff_output = _run_diff_name_status(args.repo_root, baseline_branch, drift_branch)
|
||||
changes = _parse_changes(diff_output, args.backup_folder, args.reports_subdir)
|
||||
_debug(f"Parsed non-doc/report changes for summary: count={len(changes)}")
|
||||
|
||||
Reference in New Issue
Block a user