UpstreetAI / monorepo

Upstreet AI Monorepo
https://upstreet.ai
2 stars 1 forks source link

[Agent] Exception throw on Agent spin up "✘ [ERROR] Uncaught Error: got rollback for nonexistent object" #323

Open AbdurrehmanSubhani opened 1 month ago

AbdurrehmanSubhani commented 1 month ago

Logs:

[wrangler:inf] - http://127.0.0.1:10618
[wrangler:inf] - http://192.168.100.146:10618
⎔ Starting local server...
worker request POST http://localhost:10618/join
initial chat specifications [
  {
    room: 'room:MPEMIQ03',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  }
]
chat specification already exists: {
  id: 'room:MPEMIQ03:wss://multiplayer.isekaichat.workers.dev',
  created_at: '2024-10-15T04:46:32.752539+00:00',
  user_id: '3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
  data: {
    room: 'room:MPEMIQ03',
    endpoint_url: 'wss://multiplayer.isekaichat.workers.dev'
  },
  uid: '21b65a89-c02d-4c82-9bce-99a83cf6d039'
}

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:817:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1223:31)

✘ [ERROR] ErrorEvent {

    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:MPEMIQ03/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:MPEMIQ03/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

[wrangler:inf] POST /join 200 OK (5206ms)

You are "Subhani" [a55342c2-e0c4-4f61-87ae-d1e017b7e687]), chatting in room:erUZPHoN.
In the room (room:erUZPHoN):
* Thalgar the Fearless [3594d3ef-f8a3-4e4d-a076-82081de8ff3b] 
remote player joined: a55342c2-e0c4-4f61-87ae-d1e017b7e687

Subhani (you): yo
Thalgar the Fearless: Greetings, Subhani! I am Thalgar the Fearless, renowned warrior and protector of the realm. How may I be of service to you today?
Subhani (you): 
AbdurrehmanSubhani commented 1 month ago

Another instance caught:

(base) abdurrehmansubhani@Abdurrehmans-MacBook-Pro monorepo % usdk chat '/Users/abdurrehmansubhani/Desktop/agents/testAgent10' -g -r room:Ao
[wrangler:inf] - http://127.0.0.1:10618
[wrangler:inf] - http://192.168.100.146:10618
⎔ Starting local server...
worker request POST http://localhost:10618/join
initial chat specifications [
  {
    room: 'room:MPEMIQ03',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:erUZPHoN',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:gfwUj1Nz',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:sbfhoJoT',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:EPIYJml0',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:eMj0M94D',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:0NxFdQ1L',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:LcUDQoSl',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:1duGzcoY',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:AoUpitPb',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:oMCHB6Za',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:h90w8kE1',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:A5iTZavd',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:cxpdH5kg',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  },
  {
    room: 'room:i6zcQ33N',
    endpointUrl: 'wss://multiplayer.isekaichat.workers.dev'
  }
]

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] ErrorEvent {

    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:erUZPHoN/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:erUZPHoN/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }
  ErrorEvent {
    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:eMj0M94D/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:eMj0M94D/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }
  ErrorEvent {
    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:sbfhoJoT/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:sbfhoJoT/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }
  ErrorEvent {
    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:EPIYJml0/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:EPIYJml0/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }
  ErrorEvent {
    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:gfwUj1Nz/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:gfwUj1Nz/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }
  ErrorEvent {
    filename: '',
    message: 'Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
    lineno: 0,
    colno: 0,
    error: [Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b] {
      [stack]: [Getter/Setter],
      [message]: 'got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b'
    },
    type: 'error',
    eventPhase: 2,
    composed: false,
    bubbles: false,
    cancelable: false,
    defaultPrevented: false,
    returnValue: true,
    currentTarget: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:MPEMIQ03/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    srcElement: WebSocket {
      binaryType: 'arraybuffer',
      readyState: 3,
      url: 'wss://multiplayer.isekaichat.workers.dev/api/room/realm:room:MPEMIQ03/websocket?playerId=3594d3ef-f8a3-4e4d-a076-82081de8ff3b',
      protocol: null,
      extensions: null
    },
    timeStamp: 0,
    isTrusted: true,
    cancelBubble: false,
    NONE: 0,
    CAPTURING_PHASE: 1,
    AT_TARGET: 2,
    BUBBLING_PHASE: 3
  }

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:819:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1225:31)

✘ [ERROR] Uncaught (in promise) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

✘ [ERROR] Uncaught (async) Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

chat already joined previously
[wrangler:inf] POST /join 200 OK (9758ms)

You are "Subhani" [a55342c2-e0c4-4f61-87ae-d1e017b7e687]), chatting in room:AoUpitPb.
In the room (room:AoUpitPb):
* Thalgar the Fearless [3594d3ef-f8a3-4e4d-a076-82081de8ff3b] 
remote player joined: a55342c2-e0c4-4f61-87ae-d1e017b7e687

Subhani (you): yo whats up1
Thalgar the Fearless: Ah, greetings once more, Subhani! Thalgar's spirit remains unwavering, as a dragon's heart in the face of dawn. Has ou
✘ [ERROR] Uncaught TypeError: detachDeletedInstance is not a function

      at detachFiberAfterEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:9801:31)
      at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11433:13)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11332:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV 
(file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11353:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11341:11)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11371:11)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:579:16)
      at flushPassiveEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:12795:13)
      at null.<anonymous> (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:12669:11)
      at performWorkUntilDeadline (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/scheduler/cjs/scheduler.development.js:44:48)

✘ [ERROR] Uncaught (async) TypeError: detachDeletedInstance is not a function

      at detachFiberAfterEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:11675:80)
      at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12921:17)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12832:15)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12852:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at recursivelyTraversePassiveUnmountEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12841:13)
      at commitPassiveUnmountOnFiber (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:12864:13)
      at runWithFiberInDEV (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:5202:18)
      at flushPassiveEffects (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:13942:15)
      at file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:13851:11
      at performWorkUntilDeadline (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:4449:50)

✘ [ERROR] Uncaught Error: Should not already be working.

      at performConcurrentWorkOnRoot (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/react-reconciler/cjs/react-reconciler.development.js:11721:15)
      at performWorkUntilDeadline (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/node_modules/scheduler/cjs/scheduler.development.js:44:48)

✘ [ERROR] Uncaught (async) Error: Should not already be working.

      at performConcurrentWorkOnRoot (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:13131:17)
      at performWorkUntilDeadline (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/.wrangler/tmp/dev-cTr8Zg/main.js:4449:50)
AbdurrehmanSubhani commented 1 day ago

Issue occurred during Hackathon for participants who did abruptly disconnected (internet disconnected abruptly).

Here's a basic reproduction of that scenario:

Te error log:

✘ [ERROR] Uncaught Error: got rollback for nonexistent object: players:3594d3ef-f8a3-4e4d-a076-82081de8ff3b

      at applyUpdateObject (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:817:17)
      at mainMessage (file:///Users/abdurrehmansubhani/Desktop/agents/testAgent10/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/data-client.mjs:1223:31)

would appear crashing the command