You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix PR creation logic to check PR existence instead of branch
Previously, the socket fix command would only create a PR once and then
never again because it checked for branch existence instead of PR
existence. Since branches persist after PR creation, subsequent runs
would skip PR creation entirely.
Changes:
- Check for open PR existence instead of branch existence
- Add stale branch cleanup before creating new branches
- Move GitHub token check before git operations for early validation
- Integrate cleanup functions for proper branch lifecycle management
- Add comprehensive error handling for all PR creation failure types
- Remove unused gitDeleteRemoteBranch import
This ensures PRs can be recreated after being closed/merged and prevents
branch accumulation from failed PR attempts.
--reach-analysis-memory-limit The maximum memory in MB to use for the reachability analysis. The default is 8192MB.
58
58
--reach-analysis-timeout Set timeout for the reachability analysis. Split analysis runs may cause the total scan time to exceed this timeout significantly.
59
+
--reach-concurrency Set the maximum number of concurrent reachability analysis runs. It is recommended to choose a concurrency level that ensures each analysis run has at least the --reach-analysis-memory-limit amount of memory available. NPM reachability analysis does not support concurrent execution, so the concurrency level is ignored for NPM.
60
+
--reach-disable-analysis-splitting Limits Coana to at most 1 reachability analysis run per workspace.
59
61
--reach-disable-analytics Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.
60
62
--reach-ecosystems List of ecosystems to conduct reachability analysis on, as either a comma separated value or as multiple flags. Defaults to all ecosystems.
61
63
--reach-exclude-paths List of paths to exclude from reachability analysis, as either a comma separated value or as multiple flags.
--reach-analysis-memory-limit The maximum memory in MB to use for the reachability analysis. The default is 8192MB.
40
40
--reach-analysis-timeout Set timeout for the reachability analysis. Split analysis runs may cause the total scan time to exceed this timeout significantly.
41
41
--reach-concurrency Set the maximum number of concurrent reachability analysis runs. It is recommended to choose a concurrency level that ensures each analysis run has at least the --reach-analysis-memory-limit amount of memory available. NPM reachability analysis does not support concurrent execution, so the concurrency level is ignored for NPM.
42
-
--reach-disable-analytics Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.
43
42
--reach-disable-analysis-splitting Limits Coana to at most 1 reachability analysis run per workspace.
43
+
--reach-disable-analytics Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.
44
44
--reach-ecosystems List of ecosystems to conduct reachability analysis on, as either a comma separated value or as multiple flags. Defaults to all ecosystems.
45
45
--reach-exclude-paths List of paths to exclude from reachability analysis, as either a comma separated value or as multiple flags.
46
46
--reach-skip-cache Skip caching-based optimizations. By default, the reachability analysis will use cached configurations from previous runs to speed up the analysis.
0 commit comments