File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
socketsecurity/core/tools Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## 2.2.56
4+
5+ - Removed process timeout from reachability analysis subprocess. Timeouts are now only passed to the Coana CLI via the ` --analysis-timeout ` flag.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
77[project ]
88name = " socketsecurity"
9- version = " 2.2.55 "
9+ version = " 2.2.56 "
1010requires-python = " >= 3.10"
1111license = {"file" = " LICENSE" }
1212dependencies = [
Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ def run_reachability_analysis(
220220 cwd = target_directory ,
221221 stdout = sys .stderr , # Send stdout to stderr so user sees it
222222 stderr = sys .stderr , # Send stderr to stderr
223- timeout = timeout + 60 if timeout else None # Add buffer to subprocess timeout
224223 )
225224
226225 if result .returncode != 0 :
@@ -240,9 +239,6 @@ def run_reachability_analysis(
240239 "tar_hash_used" : tar_hash
241240 }
242241
243- except subprocess .TimeoutExpired :
244- log .error (f"Reachability analysis timed out after { timeout } seconds" )
245- raise Exception (f"Reachability analysis timed out after { timeout } seconds" )
246242 except Exception as e :
247243 log .error (f"Failed to run reachability analysis: { str (e )} " )
248244 raise Exception (f"Failed to run reachability analysis: { str (e )} " )
You can’t perform that action at this time.
0 commit comments