feat: add exponential backoff and forceful killing to free occupied p…#5
Closed
shekhardtu wants to merge 1 commit into
Closed
feat: add exponential backoff and forceful killing to free occupied p…#5shekhardtu wants to merge 1 commit into
shekhardtu wants to merge 1 commit into
Conversation
…orts - Implement exponential backoff with 5 retry attempts - Progressive force: SIGTERM → SIGKILL → system-level force kill - Enhanced process detection for TCP/UDP on Unix systems - Kill entire process tree on Windows - Re-check for new processes between attempts - Suggest elevated privileges when needed - Better debug logging throughout the process
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
| let delay = initialDelay; | ||
| let portFreed = false; | ||
|
|
||
| while (attempt < maxAttempts && !portFreed) { |
Check warning
Code scanning / CodeQL
Useless conditional Warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…orts
Pull Request
Description
Type of Change
Related Issues
Fixes #
Changes Made
Core Changes
Additional Changes
Testing
Test Coverage
Test Details
Configuration Changes
Config Example
{ "newOption": "example-value" }Breaking Changes
Migration Guide
Performance Impact
Performance Details
Documentation
Dependencies
Dependency Justification
Checklist
Screenshots
Additional Notes
Reviewer Notes
Please review:
Note for Maintainers: Please ensure this PR is properly labeled and assigned to the appropriate milestone.