QuantEcon / QuantEcon/lecture-tools-techniques
CI has no build cache to restore — every PR's preview fails at the cache-download step
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Found while landing #12 (2026-08-19): the preview job failed with ##[error]no matching workflow run found with any artifacts at its dawidd6 cache-download step, and the cause is structural — this repo has no cache.yml workflow at all (workflows present: ci/publish only), so there is never a build-cache artifact to restore. Every PR's CI is red for this pre-existing reason regardless of the change (the Netlify deploy-preview itself built fine on #12), which trains reviewers to merge over a red check.
Also downstream of this: the site cannot surface #12's fixes (the dataBHS repoint + usetex guards in the downloadable five_preferences.ipynb) until a publish succeeds, so the publish path needs the same look.
Options, roughly in order: add a cache.yml on the family pattern (weekly cron + dispatch, upload _build as build-cache); or make the cache download tolerant (if_no_artifact_found: warn) so CI builds from scratch — slower but honest; or wait for the QuantEcon/actions migration, where restore-jupyter-cache handles the missing-cache case — see QuantEcon/actions#160 for the cache-mode decision that migration should land with.
🤖 Generated with Claude Code
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 comparing the existing ci and publish workflows with the missing cache.yml workflow, then inspect the dawidd6 cache-download step and the referenced QuantEcon/actions#160 decision. The work is done when preview CI no longer fails solely because no build-cache artifact exists and the publish path can succeed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, jupyter-notebook
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100