Git Hangs On Invalid/Unreachable Host [Enhancement]
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
Paket version 5.227.0
When the paket.dependencies file has a host that resolves but is unreachable on port 22, paket install seems to wait forever to connect.
Repro steps
$ paket init && echo git git@unreachable.host:test/this.git >> paket.dependencies && paket install
Expected behavior
While the underlying behaviour of git is probably to blame here, sub commands should probably have a timeout. It would be useful to see something in verbose mode such as 'Failure to connect to XXYY, retrying (1/5)'
Actual behavior
$ paket install -v
Paket version 5.227.0
found: /tmp/repro/paket.dependencies
Parsing /tmp/repro/paket.dependencies
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hang with paket init and the unreachable Git host from the issue, then trace the paket install -v command and its Git subprocess handling. Done means an unreachable host no longer waits indefinitely and verbose output reports connection failures and retries as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, git
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100