haskell-actions / haskell-actions/setup

Package installation hits frequent 404s

Open
#150 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
91
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I'm seeing a lot of 404s when trying to install packages in CI using this action.

The mirror gives up with errors such as:

Unexpected response 404for http://objects-us-east-1.dream.io/hackage-mirror/package/StateVar-1.2.2.tar.gz

Error: Process completed with exit code 1.

It's not always the same package.

If I re-build, it may eventually succeed, but it can sometimes take dozens of re-tries and hours or days to build successfully.

Is it possible to set this up so that it doesn't use that mirror?

Context and suggestions: https://mailman.haskell.org/archives/list/haskell-cafe@haskell.org/thread/PU7X6PMAJ3S4VO747HBKR2R7BCMPVXL4/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named. Start by tracing how the action configures package downloads and the Hackage mirror, then reproduce the CI installation failure; done means package installation no longer depends on the unreliable mirror and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, haskell
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.