fix(platform): preserve recoverable outcomes and terminal sessions

This commit is contained in:
2026-09-05 10:50:55 +08:00
parent 1e3a21b476
commit 8eae3258ca
16 changed files with 500 additions and 48 deletions
@@ -82,6 +82,7 @@ function makeHandlers() {
const session = new RuntimeSession({
store,
gameSession,
onServerDenial() { assert.fail('Unexpected server denial'); },
createGameHostLease: () => ({
host: {
seat: { toView: (seat) => seat, toServer: (seat) => seat },
@@ -156,6 +157,7 @@ function makeReentrantRouterFixture(log: string[]) {
const session = new RuntimeSession({
store,
gameSession,
onServerDenial() { assert.fail('Unexpected server denial'); },
createGameHostLease: () => ({
host: {
seat: { toView: (seat) => seat, toServer: (seat) => seat },