Skip to content

Decide whether P6 needs batch execution (/v1/batches) now that KEDA fan-out is going away #537

Closed

Description

@pdettori

Problem

Batch execution (many independent prompts or leaves submitted together, run with bounded concurrency, results collected later) has no home on P6 and no issue. On the deprecated path the closest thing is async: true fan-out drained by KEDA leaf-worker pods. The #279 resolution decided there is no run noun and no second /v1/runs: user-owned async dispatch is async: true on a session, "or /v1/batches if a real batch appears". That condition is currently undecided, and removing Knative/KEDA removes the only batch-shaped capacity.

Scope

A decision first, then build only if the answer is yes.

  1. Is there a real batch need? Collect evidence from the Knative/KEDA deprecation: tell us when you have migrated (or what blocks you) #490 responses and from the subagents epic (Epic: Coding-agent subagents on MOCA — detached, gated, collectable leaf sessions #378): is fan-out of N independent leaves from one submission enough, or is a batch resource with its own lifecycle needed?
  2. If a client-side loop over async sessions is enough: document it and close this issue, noting the limits (admission, per-subject quota).
  3. If a batch resource is needed: design /v1/batches.

Acceptance

Related

#279 (resolution), #386, #389, #390, #391, #401, #360, #490, #378

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions