Skip to content

Keep cold-start slots until the game is ready and let placeable wakes progress past blocked starts #967

Open

Description

@Baylem

With operator.wakeStartLimit enabled, a starting process can release its slot before it can accept a player. Conversely, a start that cannot schedule can retain the last slot indefinitely, blocking a different game that fits on an available worker.

Audited master 7c71eca7bcdf20c2a3f634277d0005e2b9221ea0. This finding was traced through the source. The cluster scenario below is a proposed regression test. The chart default is zero (unlimited). Its positive limit applies to native idle wakes and prewarming. Chart defaults

The admission ledger retains a slot while a StatefulSet is unready and releases it on ReadyReplicas > 0. Service-backed wake routing also retires the sentinel on StatefulSet readiness. The operator copies optional template/server probes into the game container. Eleven of 29 game templates at module pin a660997ca02987d3ff3ea0f2c635d2e29f074cdb have no game readiness probe. Rust, for example, exposes a player list over RCON and advertises a UDP game port. Satisfactory explicitly documents that its default Pod reports Ready when the process runs. Admission ledger · Slot completion · Waker retirement · Probe selection · Rust ports · Satisfactory startup

Reproduce on a disposable cluster

  1. Set the limit to one. Wake two previously sleeping games simultaneously. Have the first start its container immediately and delay its game listener/world load. Observe whether the second workload starts and whether first-wave traffic leaves the waker before a real join succeeds.
  2. Make only the first admitted game permanently unschedulable, such as by removing its sole eligible worker. Keep capacity for the other game. Observe the second game's pending wake token and queue status as the first remains Pending.

Acceptance criteria

  • Account for actual startup work using a module-qualified signal, including UDP games. Record the first successful game join separately from Kubernetes readiness. Verify the configured concurrency bound while a world is loading.
  • Expose the reason an admitted game is blocked. A placeable queued game can make progress when a blocked attempt is safely withdrawn or parked. Fence the withdrawn attempt so it cannot start outside the cap if its worker returns.
  • Preserve reservations over operator restarts and exercise slow-but-healthy, permanently unplaceable, recovered and recently restarted games with concurrent real clients. Avoid releasing a healthy slow start solely on its elapsed age.

#878 and merged #904 introduced durable admission and a real-client qualification drill. The two cases above exercise different release conditions within that same ledger.

Activity

  1. added
    type: fix
    area: operator
    area: modules
    area: e2e
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: e2earea: modulesarea: operatortype: fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions