Skip to content

id(ssh): SSH input queue silently drops keystrokes when full #549

Closed

Description

@dezren39

What and why

SSH channel bytes go into a 256-slot mpsc with try_send, so input is dropped under load rather than back-pressured or reported. Decide the policy (back-pressure, count and report, or close). Under load a player's keystrokes vanish with no error, which looks like lag or a broken game.

Source

  • RPT §3 step 1

RPT = doc/2026-10-18T18-40-00Z_report_platform_world_state/2026-10-18T18-40-00Z_report_platform_world_state.md, REF = doc/2026-10-18T00-00-00Z_reference_platform_state/2026-10-18T00-00-00Z_reference_platform_state.md. Both are uncommitted reports in the platform-world-apps-migration worktree.

Current status

Not started. pkgs/id/src/world_ssh.rs:354 input.try_send(SshInputFrame::Bytes(...)) in an if let Err branch, and :285 for resize (let _ =).

Acceptance criteria

  • A policy is chosen: back-pressure, count and report, or close the session
  • Byte input (world_ssh.rs:354 try_send) and resize (:285 let _ =) follow it; nothing is dropped silently
  • A test fills the queue and asserts the policy

Size

S

Prerequisites

None.

Activity

  1. added a commit that references this issue on Oct 22, 2026
    090c356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions