refactor(battle-node): drop old BattleSession; rename V2 -> BattleSession
Old single-WS BattleSession + its dispatch/pump/ClipAckArg tests are obsolete after the Task 9 handler cutover. ClipAckArg overflow + boundary coverage moved into RealParticipantTests. BattleSessionV2 renamed back to BattleSession; the V2 suffix was a placeholder during the parallel -build refactor.
This commit is contained in:
@@ -118,8 +118,8 @@ public sealed class BattleNodeWebSocketHandler
|
||||
var realParticipant = new RealParticipant(ws, viewerId, pending.P1.Context,
|
||||
_loggerFactory.CreateLogger<RealParticipant>());
|
||||
var scriptedBot = new ScriptedBotParticipant();
|
||||
var session = new BattleSessionV2(battleId, pending.Type, realParticipant, scriptedBot,
|
||||
_loggerFactory.CreateLogger<BattleSessionV2>());
|
||||
var session = new BattleSession(battleId, pending.Type, realParticipant, scriptedBot,
|
||||
_loggerFactory.CreateLogger<BattleSession>());
|
||||
await session.RunAsync(ctx.RequestAborted);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user