-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"git lfs pull" step is silent? #2
Comments
If all LFS is already there, that is expected I think. Seems to work correctly. |
But doesn't the cache miss imply that the lfs is not there? I can't find a single build where https://github.com/napari/napari/runs/5211449270?check_suite_focus=true#step:2:484 Do you have an example build using this action where |
Perhaps something is amiss then. If you have a good idea for a fix, I'll be happy to review a PR. |
Not sure if related, but I seem to be missing LFS files in the checked out repository. Looking through the logs I couldn't find any listings of downloaded files either: https://github.com/ModischFabrications/CutSolverFrontend/actions/runs/3340768601/jobs/5531240857 |
I'm noticing the same behavior as @jni. My quotas keep rising even though the I can see that @jni you're not using this github action anymore, do you mind sharing which workaroud you ended up using? |
We ended up nuking lfs because we concluded it's a scam by GitHub to get us to spend money. 😂 Less flippantly:
In the interim, I've discovered git-annex, which is similar to lfs but allows you to configure where your files are stored, and one of the options is Cloudflare R2 which has no egress fees. So I would recommend git-annex + cloudflare as the large-file solution for anyone starting on the problem today. From napari/napari#6049:
So that is what I would recommend — I suspect changing the setup will be easier than figuring out where your bandwidth is going and plugging leaks, which happen all the time and are often beyond your control. |
Github's pricing is too steep and the free tier is surprisingly hard to work around. See: nschloe/action-cached-lfs-checkout#2 Fixes NPT-101
Thank you very much for the detailed write up! |
Github's pricing is too steep and the free tier is surprisingly hard to work around. See: nschloe/action-cached-lfs-checkout#2 Fixes NPT-101
How are you finding this approach almost a year on? Is it as simple as cloning/checking out the binaries from the submodule to pull the large files in? |
Works good enough for me, using a submodule is not as smooth as just using a versioned folder, but you get used to it quickly. |
Hello, and thank you for your incredibly useful action! 😊
As you know from Twitter, we are using your action and still bleeding about 20GB per day, and having trouble tracking down where it's happening. I was trying to understand how often we have cache misses and how much each cache miss costs, but even in a cache miss, it looks like
git lfs pull
doesn't have any output? (Example here.) Is that expected? I would have expected to see a line like:But I notice on my own terminal that lfs does not add a newline/carriage return after that line, and it gets overwritten. Is that what is going wrong with the action? Could it be fixed by appending
&& echo
after the command?Thank you! 🙏
The text was updated successfully, but these errors were encountered: