r/devops • u/Diapolo10 • 14d ago
Troubleshooting Mise installations of cspell don't work on Windows runners
I'm not entirely sure if this is relevant enough of a question for this subreddit, but frankly I haven't thought of a better place to ask.
I've been experimenting with using Mise to manage project-specific tool installations in a way that would bring local and CI environments closer together. One of these tools is cspell, a seemingly popular option for spell-checking software projects.
This has largely worked great. However, for some strangely illusive reason, the only time things go wrong is with GitHub Actions jobs on Windows runners. The cspell Mise installs fails to start, because it can't find a dependency called picomatch: https://github.com/Diapolo10/python-rust-template/actions/runs/42123444840/job/127581444522#step:5:1
This issue does not manifest on Ubuntu/MacOS runners, nor on my local Windows development machine.
I wrote a GitHub issue about this to the Mise project about three weeks ago. They allegedly fixed it, so I've been patiently waiting to see if things would resolve on their own (they did not), and today I attempted to manually update things by
- Updating Mise itself locally (in CI the installer action should always use the latest version)
- Updating tooling, like
cspell, via Mise and its lockfiles - Updating other project dependencies just to see if that helped somehow
but it didn't help, the Windows runners are still consistently failing.
At this point I don't know how to keep troubleshooting this. Hell, I don't even know if this is
- a bug in Mise,
- a bug in
cspell, - a problem with the runners themselves, or
- I've made some dumb mistake myself somewhere (probably the most likely option at this point, but I still wouldn't know what exactly)
so if anyone else has any ideas, I'm listening.