Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 2.2.56

- Removed process timeout from reachability analysis subprocess. Timeouts are now only passed to the Coana CLI via the `--analysis-timeout` flag.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"

[project]
name = "socketsecurity"
version = "2.2.55"
version = "2.2.56"
requires-python = ">= 3.10"
license = {"file" = "LICENSE"}
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions socketsecurity/core/tools/reachability.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ def run_reachability_analysis(
cwd=target_directory,
stdout=sys.stderr, # Send stdout to stderr so user sees it
stderr=sys.stderr, # Send stderr to stderr
timeout=timeout + 60 if timeout else None # Add buffer to subprocess timeout
)

if result.returncode != 0:
Expand All @@ -240,9 +239,6 @@ def run_reachability_analysis(
"tar_hash_used": tar_hash
}

except subprocess.TimeoutExpired:
log.error(f"Reachability analysis timed out after {timeout} seconds")
raise Exception(f"Reachability analysis timed out after {timeout} seconds")
except Exception as e:
log.error(f"Failed to run reachability analysis: {str(e)}")
raise Exception(f"Failed to run reachability analysis: {str(e)}")
Expand Down
Loading