Record Core lifecycle recovery adoption
This commit is contained in:
@@ -23,6 +23,11 @@ REQUIRED_PREFIXES = {
|
||||
"dataflow.",
|
||||
"workflow-engine.",
|
||||
"core.module-lifecycle.",
|
||||
"core.module-runtime.",
|
||||
}
|
||||
ATOMIC_EXTERNAL_READS = {
|
||||
"connectors.sync.read-snapshot",
|
||||
"mail.mailbox.sync-cursor",
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +55,7 @@ def test_non_atomic_operations_do_not_claim_plain_database_rollback() -> None:
|
||||
operations = json.loads(INVENTORY.read_text(encoding="utf-8"))["operations"]
|
||||
for item in operations:
|
||||
if item["mode"] == "atomic":
|
||||
assert item["resources"] == ["postgresql"] or item["id"] == (
|
||||
"connectors.sync.read-snapshot"
|
||||
assert (
|
||||
item["resources"] == ["postgresql"]
|
||||
or item["id"] in ATOMIC_EXTERNAL_READS
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user