Skip to content

Phase 2: LarqlRunner — process supervision #157

Description

@ttupper92618

Parent: #173
Phase: 2 — LARQL runner + MoE sweet spot
Depends on: #153, #155
Blocks: #159, #161

Goal

Add LarqlRunner process supervision in isolation, without MLX-side delegation or slice placement.

Scope

  • Add a worker runner path that starts larql-server <vindex-path> --port <p> --ffn-only.
  • Support MoE expert range arguments when a slice assignment provides them.
  • Stream child stdout/stderr into Skulk logging.
  • Restart on ordinary crash and fail the worker/runner after a bounded crash loop.
  • Report lifecycle through existing event-sourcing and runner-status paths.

Acceptance criteria

  • larql-server command construction is deterministic and covered by tests.
  • Crash-loop behavior has a clear terminal failure state.
  • Child process is terminated on runner shutdown.
  • Existing MLX runner behavior is unchanged.

Validation

  • Focused unit tests for process spawn, shutdown, restart, and crash-loop failure.
  • Existing worker runner lifecycle tests still pass.

Activity

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

    enhancementNew feature or requestlarqlLARQL-backed slice placement and vindex workproduction-readinessGaps blocking production workload use

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions