rwadurian/backend/mpc-system/services
hailin ee59d1c0b1 fix(service-party-app): 方案B修复最后加入者错过session_started事件的竞态条件
问题: 最后一个加入者调用JoinSession时,session_started事件可能在RPC返回前
就已通过流式gRPC到达,此时activeKeygenSession尚未设置,事件被忽略

方案B: 在JoinSession返回后检查session状态,如果status已经是in_progress,
说明自己是最后一个加入的,直接触发keygen而不等待session_started事件

- 幂等性保护确保不会重复触发keygen
- 同时适用于发起方和普通加入方

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 01:15:33 -08:00
..
account fix(mpc-system): GetSessionStatus API 返回 threshold_t 和 threshold_n 2025-12-29 12:43:59 -08:00
message-router fix(mpc-system): GetSessionStatus 返回实际的 threshold_n 和 threshold_t 2025-12-29 11:59:53 -08:00
server-party feat(server-party): add ExecuteWithSessionInfo for co-managed keygen 2025-12-30 00:43:09 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
server-party-co-managed fix(server-party-co-managed): use session_started event for participants list 2025-12-30 00:52:28 -08:00
service-party-app fix(service-party-app): 方案B修复最后加入者错过session_started事件的竞态条件 2025-12-30 01:15:33 -08:00
session-coordinator feat(mpc-system): add server-party-co-managed for co_managed_keygen sessions 2025-12-29 23:54:45 -08:00
tss-wasm feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00