Harden catalog publication transaction

This commit is contained in:
2026-07-22 21:20:08 +02:00
parent fdee766993
commit 349a099e5a
4 changed files with 1807 additions and 178 deletions

View File

@@ -334,6 +334,7 @@ class CatalogPublishResult:
target_keyring_path: str
branch: str | None
tag_name: str | None
remote: str
validation_valid: bool
validation_error: str | None = None
validation_warnings: tuple[str, ...] = ()
@@ -343,6 +344,9 @@ class CatalogPublishResult:
target_keyring_hash_before: str | None = None
catalog_changed: bool = False
keyring_changed: bool = False
publication_commit_sha: str | None = None
publication_tag_object_sha: str | None = None
publication_tag_commit_sha: str | None = None
steps: tuple[CatalogPublishStep, ...] = ()
notes: tuple[str, ...] = ()