Files
Genarrative/server-rs/crates/api-server/src
kdletters 458371a73d
Project CI / Repository checks (push) Successful in 4m11s
Project CI / Frontend tests (push) Successful in 8m38s
Project CI / Backend tests (push) Successful in 10m42s
Project CI / Native shell tests (push) Successful in 32m11s
将退款 outbox 主路径迁入 SpacetimeDB (#204)
## 变更内容

- 新增 `profile_wallet_refund_outbox` 表与 enqueue/process procedure,退款主路径进入 SpacetimeDB。
- 外部生成失败事务、inline 资产失败和跨节点 worker 统一使用库内 outbox,按 ledger 幂等并在事务内完成退款与删除。
- SpacetimeDB 完全不可达时才写本机 emergency spool,恢复时重新入库;兼容旧 spool 文件并保留 attempt 追踪。
- 更新 SpacetimeDB migration、生成 bindings、架构文档、运维恢复说明和项目决策记录。

## 验证

- `cargo check -p spacetime-module -p spacetime-client -p api-server --manifest-path server-rs/Cargo.toml`
- api-server / spacetime-client / spacetime-module / module-runtime 定向测试
- `npm run check:spacetime-schema`
- `npm run check:spacetime-runtime-access`
- `npm run check:server-rs-ddd`
- `npm run check:encoding`
- `git diff --check`

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/204
Co-authored-by: kdletters <kdletters@qq.com>
Co-committed-by: kdletters <kdletters@qq.com>
2026-08-27 22:04:50 +08:00
..
2026-06-25 20:10:18 +08:00
2026-06-07 22:20:58 +08:00
2026-07-27 18:28:26 +08:00
2026-07-18 21:17:35 +08:00
2026-08-12 10:54:16 +08:00
1
2026-06-05 23:41:24 +08:00
2026-06-11 15:55:23 +08:00
1
2026-04-28 19:36:39 +08:00
2026-06-25 20:10:18 +08:00
1
2026-04-28 10:57:40 +08:00
1
2026-05-08 11:44:42 +08:00
1
2026-04-27 14:23:19 +08:00
2026-06-08 21:05:37 +08:00
2026-08-06 17:54:40 +08:00
2026-07-17 22:07:52 +08:00
2026-06-25 20:10:18 +08:00
1
2026-04-30 17:49:07 +08:00
2026-07-16 17:07:13 +08:00
1
2026-05-14 14:21:17 +08:00
2026-07-17 16:56:46 +08:00
2026-07-21 19:40:38 +08:00
2026-07-21 19:40:38 +08:00
2026-07-23 18:06:29 +08:00
2026-07-01 14:40:27 +08:00
2026-07-17 22:07:52 +08:00
2026-07-16 17:07:13 +08:00
2026-07-17 22:07:52 +08:00