Any ideas why my CI pipeline might be failing remotely, but passes locally?
When CI runs on GH, it fails with the following:
+ ./roc_nightly/roc check ./src/Tests.roc
Downloading https://github.com/lukewilliamboswell/roc-ansi/releases/download/0.7.0/NmbsrdwKIOb1DtUIV7L_AhCvTx7nhfaW3KkOpT7VUZg.tar.br
into /home/runner/.cache/roc/packages
[7.8 / 7.8 KB]
Downloading https://github.com/lukewilliamboswell/roc-json/releases/download/0.11.0/z45Wzc-J39TLNweQUoLw3IGZtkQiEN3lTBv3BXErRjQ.tar.br
into /home/runner/.cache/roc/packages
[13.3 / 13.3 KB]
── FILE NOT FOUND in ...0/NmbsrdwKIOb1DtUIV7L_AhCvTx7nhfaW3KkOpT7VUZg/Ansi.roc ─
I am looking for this file, but it's not there:
/home/runner/.cache/roc/packages/github.com/lukewilliamboswell/roc-ansi/releases/download/0.7.0/NmbsrdwKIOb1DtUIV7L_AhCvTx7nhfaW3KkOpT7VUZg/Ansi.roc
Is the file supposed to be there? Maybe there is a typo in the file
name?
If I run the CI script locally though, it passes without issue. I don't have a lot of experience troubleshooting CI issues, so I'm not even sure how to look into what is going on here.
Here is the CI script and last pipeline run.
One thing to check, clear your roc cache and run the script locally
Cleared the cache on my local machine, re-ran -- still passes :thinking:
Think I figured it out - the file is actually called "ANSI.roc". Mac is not case sensitive, and so finds the file, but when running on the Ubuntu test runner, "Ansi.roc" does not resolve.
Ah, that makes naming fun. Can you file a bug? We should make that consistently fail
Make a nice error that says "Did you mean ANSI
?"
Yep, I will file a bug for that! :+1:
I just got burned by OSX case insensitivity with git at work this week... not great, Steve Jobs.
Talk about a footgun! :face_with_raised_eyebrow:
Ian McLerran has marked this topic as resolved.
Issue filed at #7350
Last updated: Jul 06 2025 at 12:14 UTC