this post was submitted on 05 Sep 2025
96 points (97.1% liked)
Technology
74873 readers
2845 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A bit of banging away later
I haven't touched Linux traffic shaping in some years
I've got a quick-and-dirty script to set a machine up to temporarily simulate a slow inbound interface for testing.
slow.sh test script
I'm going to see whether I can still reproduce that git failure for Cataclysm on git 2.47.2, which is what's in Debian trixie. As I recall, it got a fair bit of the way into the download before bailing out. Including the script here, since I think that the article makes a good point that there probably should be more slow-network testing, and maybe someone else wants to test something themselves on a slow network.
Probably be better to have something a little fancier to only slow traffic for one particular application
maybe create a "slow Podman container" and match on traffic going to that?
but this is good enough for a quick-and-dirty test.
Nice! Scientific data!
Also looks like its still an issue with GH: https://github.com/orgs/community/discussions/135808 in slower countries. so yeah nvm its still a huge issue even today.
Thanks. Yeah, I'm pretty sure that that was what I was hitting. Hmm. Okay, that's actually good
so it's not a git bug, then, but something problematic in GitHub's infrastructure.
EDIT: On that bug, they say that they fixed it a couple months ago:
So hopefully it's dead even specifically for GitHub. Excellent. Man, that was obnoxious.
I wonder if there is a retry or something on git? I know there is if you create a basic bash script, but we can assume someone is having the same issue, right?
I did see some depth=1 or something like that to get only a certain depth of git commits but thats about it.
I cant find the curl workaround I used a long time ago. It might have been just pulling the code as a zip or something like some GH repos let you do.
Yeah, that's a shallow clone. That reduces what it pulls down, and I did try that (you most-likely want a bit more, probably to also ask to only pull down data from a single branch) but back when I was crashing into it, that wasn't enough for the Cataclysm repo.
It looks like it's fixed as of early this year; I updated my comment above.