From 23ffbada003acd608a38370856618f3cb65cc986 Mon Sep 17 00:00:00 2001 From: Mondo Diaz Date: Wed, 4 Feb 2026 13:38:57 -0600 Subject: [PATCH] feat: increase auto_fetch_max_depth from 3 to 10 --- backend/app/config.py | 2 +- backend/app/dependencies.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/config.py b/backend/app/config.py index f97f7fb..312f29b 100644 --- a/backend/app/config.py +++ b/backend/app/config.py @@ -91,7 +91,7 @@ class Settings(BaseSettings): # Auto-fetch configuration for dependency resolution auto_fetch_dependencies: bool = False # Server default for auto_fetch parameter - auto_fetch_max_depth: int = 3 # Maximum fetch recursion depth to prevent runaway fetching + auto_fetch_max_depth: int = 10 # Maximum fetch recursion depth to prevent runaway fetching auto_fetch_timeout: int = 300 # Total timeout for auto-fetch resolution in seconds # JWT Authentication settings (optional, for external identity providers) diff --git a/backend/app/dependencies.py b/backend/app/dependencies.py index c3c4b06..8cbd42e 100644 --- a/backend/app/dependencies.py +++ b/backend/app/dependencies.py @@ -881,7 +881,7 @@ async def resolve_dependencies_with_fetch( base_url: str, storage: "S3Storage", registry_clients: Dict[str, "RegistryClient"], - max_fetch_depth: int = 3, + max_fetch_depth: int = 10, ) -> DependencyResolutionResponse: """ Resolve all dependencies for an artifact recursively, fetching missing ones from upstream.