fix: preserve exported release checks and unavailable-source guidance

This commit is contained in:
Ouroboros 2026-09-23 03:49:04 +03:00
parent d643dfd44f
commit 9e09eba789
12 changed files with 50 additions and 21 deletions

View file

@ -488,6 +488,8 @@ def release_carriers_desync_at(clone: pathlib.Path, rev: str) -> str:
with tempfile.TemporaryDirectory(prefix="sm1_carriers_") as tmp:
root = pathlib.Path(tmp)
# Admission reads Git change scope; the export needs its own disposable repository.
subprocess.run(["git", "init", "-q"], cwd=str(root), check=True, capture_output=True)
for rel in sorted(CARRIER_SPAN_PATHS):
text = _git_show(clone, rev, rel)
if text: