feat: increase auto_fetch_max_depth from 3 to 10

This commit is contained in:
Mondo Diaz
2026-02-04 13:38:57 -06:00
parent 2ea3a39416
commit 23ffbada00
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ class Settings(BaseSettings):
# Auto-fetch configuration for dependency resolution # Auto-fetch configuration for dependency resolution
auto_fetch_dependencies: bool = False # Server default for auto_fetch parameter 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 auto_fetch_timeout: int = 300 # Total timeout for auto-fetch resolution in seconds
# JWT Authentication settings (optional, for external identity providers) # JWT Authentication settings (optional, for external identity providers)

View File

@@ -881,7 +881,7 @@ async def resolve_dependencies_with_fetch(
base_url: str, base_url: str,
storage: "S3Storage", storage: "S3Storage",
registry_clients: Dict[str, "RegistryClient"], registry_clients: Dict[str, "RegistryClient"],
max_fetch_depth: int = 3, max_fetch_depth: int = 10,
) -> DependencyResolutionResponse: ) -> DependencyResolutionResponse:
""" """
Resolve all dependencies for an artifact recursively, fetching missing ones from upstream. Resolve all dependencies for an artifact recursively, fetching missing ones from upstream.