fix: route registrar skips through repo-manager
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-08-21 21:41:15 +02:00
parent 30b17adde1
commit 433e104909
2 changed files with 6 additions and 2 deletions

View file

@ -2631,8 +2631,10 @@ def _skip_non_registrar_mint(report: "ConsistencyReport", check_id: str, label:
return False
report.fixes_applied.append(
f"{check_id} skipped: this instance is not the identifier registrar "
f"({label}; set STATEHUB_REGISTRAR=1 on the production instance; "
"ADR-007 interim / RMGR-WP-0005-T01)"
f"({label}; do not retry or set STATEHUB_REGISTRAR directly; after "
"committing and pushing file-backed work run once: "
"uv run --project ~/repo-manager rmgr registrar-reconcile "
"--path . --confirm-primary --push; ADR-007 interim / RMGR-WP-0005-T01)"
)
return True

View file

@ -1371,6 +1371,8 @@ class TestC06WorkstreamCreation:
assert "state_hub_workstream_id" not in patched
assert "state_hub_task_id" not in patched
assert any("not the identifier registrar" in fix for fix in report.fixes_applied)
assert any("rmgr registrar-reconcile" in fix for fix in report.fixes_applied)
assert not any("set STATEHUB_REGISTRAR=1" in fix for fix in report.fixes_applied)
assert any(issue.check_id == "C-06" for issue in report.issues)
# ---------------------------------------------------------------------------