feat(fulfillment): 增加签名 Webhook 事务 Outbox
- 新增直播履约状态事务 Outbox 与签名投递 worker - 增加 order_site 状态回传、重试和低频对账兜底 - 补充 Outbox、签名校验与集成接口测试
This commit is contained in:
@@ -468,8 +468,8 @@ class TestBindingAndCompletion(_Base):
|
||||
notified: list[int] = []
|
||||
monkeypatch.setattr(
|
||||
service,
|
||||
"notify_order_site_binding_state_async",
|
||||
lambda task_id: notified.append(task_id),
|
||||
"_emit_order_site_binding_state",
|
||||
lambda _db, task_id: notified.append(task_id) or True,
|
||||
)
|
||||
task = self._allocated()
|
||||
notified.clear()
|
||||
|
||||
Reference in New Issue
Block a user