rwadurian/backend/mpc-system/services/session-coordinator
hailin 36e1359f43 fix(session-coordinator): pass PartyComposition from gRPC request to use case
Fixed critical bug where PartyComposition (persistent/delegate party counts) was being sent
by account-service in gRPC request but was not being extracted and passed to the CreateSession
use case, causing delegate party selection to fail.

Changes:
- Extract PartyComposition from protobuf request and pass to CreateSessionInput
- Add logging for party composition values in gRPC handler
- Return delegate_party_id and selected_parties in CreateSessionResponse
- Load session after creation to get delegate party ID

This fixes the issue where require_delegate=true had no effect and all parties selected
were persistent parties instead of 2 persistent + 1 delegate.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 05:38:38 -08:00
..
adapters fix(session-coordinator): pass PartyComposition from gRPC request to use case 2025-12-06 05:38:38 -08:00
application fix: remove dynamic participant join to fix concurrent party_index assignment 2025-12-06 04:54:40 -08:00
cmd/server test(logger): add debug log test to verify debug level works 2025-12-06 03:23:24 -08:00
domain fix: remove dynamic participant join to fix concurrent party_index assignment 2025-12-06 04:54:40 -08:00
infrastructure feat(mpc-system): integrate reliability mechanisms and enable party-driven architecture 2025-12-05 20:30:03 -08:00
Dockerfile chore(mpc-system): update Dockerfiles to Go 1.24 and fix line endings 2025-12-05 16:40:32 -08:00