feat(shipping-notice): 收敛订单处理状态与履约门禁

This commit is contained in:
hugo committed 2026-09-07 09:42:12 +08:00
1 parent bffcd55b40
commit 70dd0051b8
153 files changed
+10916 -4296

No files matched your search

@@ -281,8 +281,8 @@ def test_unknown_upload_result_hides_retry_and_requires_reconciliation(app):
mark_attempt_result_unknown(attempt)
state = resolve_task_ui_state(task)
assert state.checkpoint == 'upload_result_unknown'
# checkpoint 仅描述内部流程;下载与人工凭据登记必须由 Gate/Artifact 下发。
# 无 Gate 时薄回退不从 upload attempt 投影位置;动作由 Gate/Artifact 下发。
assert state.position is None
assert not hasattr(state, 'human_options')
assert db.session.get(ShippingReservation, reservation.id).status == 'artifact_reserved'