Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,3 +527,4 @@ pre-commit install
```

> **Note**: This manual setup is an alternative to the streamlined Make targets described above. For most development workflows, using `make first-time-setup` or `make first-time-local-setup` is recommended.

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
2 changes: 1 addition & 1 deletion socketsecurity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__author__ = 'socket.dev'
__version__ = '2.2.55'
__version__ = '2.2.56'
USER_AGENT = f'SocketPythonCLI/{__version__}'
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