commit 1e33a55a7b58c3c7296a19655126b76a518b9dde
parent e4107f7185a6ad72b6ca6a47ae7c661531b3566f
Author: triesap <tyson@radroots.org>
Date: Mon, 27 Jul 2026 19:07:14 +0000
outbox: stabilize pooled failure injection
- install rollback failure triggers in the shared file schema
- make every pooled connection observe each injected receipt failure
- retain transactional recovery assertions across both repair boundaries
- refresh the governed Phase 1 publication manifest and digest
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/crates/outbox/contracts/phase1_publication_v1.manifest.json b/crates/outbox/contracts/phase1_publication_v1.manifest.json
@@ -64,9 +64,9 @@
},
{
"file": {
- "byte_length": 133841,
+ "byte_length": 133831,
"path": "crates/outbox/src/phase1_publication.rs",
- "sha256": "41489c91ca667b8c1b7306925d254c43a0e7a498bd0b40c20b542c26a6e46417"
+ "sha256": "45eaf58cad4fcbba707ff91d12cb8f9c6c5ea4d0dfad85e6e3a00a403efe25d5"
},
"role": "phase1_publication_runtime"
},
diff --git a/crates/outbox/contracts/phase1_publication_v1.manifest.sha256 b/crates/outbox/contracts/phase1_publication_v1.manifest.sha256
@@ -1 +1 @@
-a53a72f000e9b7982a418e09063a51c1f39c30ed4bccd42a49e32f47cc063943
+c4af1607675ad0e953923d7f35ba2fcc6aba82bc6cfa7f6e9a5bf6e150677409
diff --git a/crates/outbox/src/phase1_publication.rs b/crates/outbox/src/phase1_publication.rs
@@ -3495,7 +3495,7 @@ mod tests {
);
sqlx::query(
- "CREATE TEMP TRIGGER fail_phase1_pending_receipt
+ "CREATE TRIGGER fail_phase1_pending_receipt
BEFORE INSERT ON outbox_phase1_target_receipt
BEGIN SELECT RAISE(ABORT, 'injected pending receipt failure'); END",
)
@@ -3527,7 +3527,7 @@ mod tests {
.unwrap();
let pending_target = &pending.targets()[0];
sqlx::query(
- "CREATE TEMP TRIGGER fail_phase1_observed_receipt
+ "CREATE TRIGGER fail_phase1_observed_receipt
BEFORE INSERT ON outbox_phase1_target_receipt
WHEN NEW.observation_kind = 'accepted-observed'
BEGIN SELECT RAISE(ABORT, 'injected observed receipt failure'); END",