Limit how long a gateway tool call can run
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- backend-api-design
Línea de trabajo
Start by tracing the gateway tool call and ordinary MCP client request paths; the issue does not name their files or tests. Read the linked credentials-and-lifecycle.md sections on call duration and pauses, then locate how the client writes requests, reads responses, and holds the send-once claim. Done means bounded call duration and response reads, with timed-out written requests ending as unknown outcomes and never replaying; the scope and fixed-versus-configurable limit still need decisions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Related: #2536, #2564, #2730, #2731
Problem
A gateway tool call has no time limit on Mecatl's side. A gateway that keeps streaming, or never answers, holds the call open until the run is cancelled, and the call's send-once claim stays held the whole time. This is safe (the call is never sent twice), but a stuck call blocks the run until someone cancels it. The MCP client's ordinary path for MCP servers has the same gap.
Design
- credentials-and-lifecycle.md: (9) vMCP decision and provider credential: check 1 gives the vMCP a configured maximum call duration, after which it no longer accepts messages for the call.
- credentials-and-lifecycle.md: Pauses and restart: a call that may have run is an unknown outcome and is not replayed.
What
- A maximum duration for a gateway tool call on the client side, no shorter than the vMCP's. Decide whether it is fixed or an operator setting.
- A call that reaches it ends as an unknown outcome, if the request was written, and keeps its send-once claim.
- A bound on how much of a response the client reads.
- Decide whether the same limit applies to calls to ordinary MCP servers.
Done when
A gateway that never answers, or streams without end, ends the call at the limit as an unknown outcome, and the call is not sent again.
- Lenguaje dominante
- Go
- Estrellas
- 309
- Forks
- 29
- Merge medio
- 15 h 56 min
- PR fusionados (30 d)
- 225
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stacklok/mecatl
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
docs: make local provider configuration discoverable from mecatuiQuizá libre de nuevo @brainsparker la tomó hace 28 días y no hay ningún pull request abierto. Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
stacklok/mecatl#2470 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Flake: MCP handshake cancellation can outlive authorization send deadlinePosiblemente ocupada @jbeda la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
Todos los issues de stacklok/mecatl
Issues similares
-
HTTP probe loses insecureSkipVerify in the generated probe manifestPosiblemente ocupada @BahaaMattar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
litmuschaos/litmus#5745 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
messaging/v1: IsGRPCProtocol and InternalMetadataToGrpcMetadata panic on empty or nil metadata valuesPosiblemente ocupada @patelshivani2283-lab la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
stacklok/toolhive-catalog#2024 ·
Los mantenedores suelen responder en 1 día