HLS check fails by trying to access the network
Open
Nobody has claimed this yet.
bug
DX
help wanted
- Dominant language
- Nix
- Stars
- 240
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
The check works on my local machine but not on Github Actions runner or Garnix CI.
https://github.com/srid/haskell-template/runs/8060856223?check_suite_focus=true
default-hls-check> Severity: DsError
default-hls-check> Message:
default-hls-check> Error when calling cabal exec -v0 -- ghc --print-libdir
default-hls-check> dieVerbatim: user error (cabal: Couldn't establish HTTP connection. Possible cause: HTTP proxy
default-hls-check> server
default-hls-check> is down.
default-hls-check> )
Very strange.
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
Review the default-hls-check entry point and the GitHub Actions or Garnix CI configuration, then reproduce the cabal exec -v0 -- ghc --print-libdir failure in a CI runner. Done means the HLS check no longer requires an unavailable network connection and passes in the affected CI environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100