Repository navigation
fix: hardening del engine y limites de tamano tras auditoria de seguridad - #1
Merged
Merged
Conversation
…aph size limits, silent WS errors, guest limiter test leak
- task_manager: corridas ya no pueden ser garbage-collected a mitad de ejecucion
(asyncio.Task sin referencia viva era candidato a GC segun el contrato de asyncio).
- runner/scheduler: un nodo transform cuya salida es literalmente {"error": ...}
ya no se clasifica como failed (nueva marca namespaced en vez de chequear la forma
del dict de salida del usuario).
- executors: el nodo delay rechaza segundos negativos y clampea el maximo a 5 minutos
(antes sin limite, un delay gigante bloqueaba la tarea indefinidamente).
- schemas: Graph/WorkflowIn ahora tienen limites de tamano (nodos/edges/config/nombre)
-> 422 en vez de aceptar un grafo arbitrariamente grande.
- ws routes: el except Exception: pass del loop de streaming ahora loguea antes de
seguir, en vez de tragarse el error en silencio.
- conftest: el fixture de test ahora resetea tambien _guest_limiter entre tests.
pytest: 118/118 (111 + 7 nuevos).
…ailers server-side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
{"error": ...}ya no se clasifica como failed.delayrechaza segundos negativos, clampea el maximo a 5 minutos.Graph/WorkflowIncon limites de tamano (nodos/edges/config/nombre) -> 422.except Exception: passdel loop de streaming del WS ahora loguea antes de continuar._guest_limiterentre tests.Plan de test
pytest -q-> 118/118 (111 previos + 7 nuevos, cubriendo cada fix)