purescript / purescript/spago

Is it safe to cache `output`?

Open
#700 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

document me help wanted
Dominant language
PureScript
Stars
831
Forks
137
PR merge metrics
No merged PRs in 30d

Description

My understanding is that Spago puts all build products into the output sub-directory. This includes both all the dependencies and the project code itself.

I would like to speed up continuous integration by caching this directory. Is it expected by design that exactly the updated code will be re-built in the presence of output filled with earlier build products?

Also, would newer versions of dependencies be downloaded and re-built automatically if such are available?

Contributor guide

Open the contributing guide

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

Start by tracing how Spago handles the output directory, dependency resolution, and CI reuse; the issue names no files or tests. Done means documenting whether cached products are safely reused and whether changed code and newer dependencies are rebuilt or fetched.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.