Skip to content

engine: a queue overflow cannot feed a second conveyor #868

Open

Description

@bpowers

Owner decision: close as "won't support", or define and build overflow-to-conveyor.

A queue's secondary or overflow outflow cannot feed a conveyor; only its first outflow can.
Such a model is rejected with QueueSecondaryOutflowToConveyor ("only a queue's first (highest-priority) outflow may feed a conveyor"), so no wrong numbers result.
The semantics are undefined: docs/design/queues.md §4.5 says only that "an overflow to another conveyor is itself constrained by that conveyor", and the XMILE spec says nothing about it.
No real model we have chains a queue's overflow into a second conveyor.
Queues inside modules are a separate limitation (#940).

Fix

Recommended: close, and state the restriction in docs/design/queues.md §4.5 so the sketch there does not read as planned work.
Alternative (M): couple secondary outflows that feed a conveyor in detect_coupling_specs and serve them through QueueState::take_for_conveyor against that conveyor's admission budget, after deciding precedence when the primary and secondary compete.

Pointers

  • src/simlin-engine/src/queue_compile.rs: detect_coupling_specs
  • src/simlin-engine/src/queue.rs: take_for_conveyor

Activity

  1. Repository owner deleted a comment from on Jul 8, 2026
  2. changed the title [-]Queue engine: secondary/overflow outflow into a second conveyor bypasses that conveyor's batch/capacity rules[/-] [+]engine: a queue overflow cannot feed a second conveyor[/+] on Oct 12, 2026
  3. added
    engine
    enhancement
    on Oct 12, 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

    engineenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions