preflight checks can hang if backend is unreachable
Open
Nobody has claimed this yet.
Aspect: UX
Component: omnibus packaging
Status: To be prioritized
Triage: Confirmed
Type: Chore
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
It appears that we don't set a connect_timeout in our call to PGConn.open. This can result in a number of the preflight validators hanging for a considerable amount of time (in my case it hung forever) with no user feedback.
Contributor guide
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 locating the preflight validators and their calls to PGConn.open. Check how connection attempts behave when the backend is unreachable and identify the existing validation tests or entry points. Done means preflight checks return within a bounded time with user feedback instead of hanging indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang, postgresql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100