rwadurian/backend/mpc-system/services
hailin 4e14212147 fix(coordinator): auto-transition participant to Ready before Completed
ReportCompletion was failing with "cannot transition to completed status"
because participants were in Joined state trying to transition directly to
Completed, which violates the state machine flow: Joined -> Ready -> Completed.

Changes:
- Check participant status before marking as Completed
- Auto-transition Joined -> Ready if needed
- Then transition Ready -> Completed
- Add debug logging for auto-transition

This fixes the error seen during keygen completion.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 00:33:22 -08:00
..
account feat(mpc-system): add event sourcing for session tracking 2025-12-05 23:31:04 -08:00
message-router fix(proto): add party_index to JoinSessionResponse for correct index assignment 2025-12-06 00:08:47 -08:00
server-party fix(server-party): include self in participants list for keygen 2025-12-06 00:01:14 -08:00
server-party-api feat(mpc-system): add signing parties configuration and delegate signing support 2025-12-05 22:47:55 -08:00
session-coordinator fix(coordinator): auto-transition participant to Ready before Completed 2025-12-06 00:33:22 -08:00