commit 9c781ab7d16115e5882c16152f05315834930c94
parent e24f234fe34026b157d0ba9d24d03febea7110f8
Author: triesap <tyson@radroots.org>
Date: Fri, 26 Jun 2026 15:15:05 +0000
runtime: align inventory status states
- replace retired accepted state checks with pending_rhi and committed states
- preserve cancelled inventory release handling for lifecycle status enrichment
- keep seller inventory accounting tied to SDK trade projection output
- validate nested CLI nix test suite
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/runtime/order.rs b/src/runtime/order.rs
@@ -1971,7 +1971,7 @@ fn enrich_order_status_inventory(
.cloned()
.collect::<Vec<_>>();
if relevant_issues.is_empty() {
- if matches!(view.state.as_str(), "accepted" | "cancelled") {
+ if matches!(view.state.as_str(), "pending_rhi" | "committed" | "cancelled") {
let inventory_state = if view.state == "cancelled" {
"released"
} else {