Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't be the only one that feels that GitLab has extended downtime at least weekly, sometimes bi-weekly.


Not downtime, but some kind of issue, yes [1]. However github is not much better [2] and gives much less detail and fewer updates. Bitbucket is more solid recently [3] (but wasn't really better than the others in 2020)

1: https://status.gitlab.com/pages/history/5b36dc6502d06804c083...

2: https://www.githubstatus.com/history (don't get fooled by them collapsing the incident list after three per month)

2: https://bitbucket.status.atlassian.com/history (also collapses after three per month)


I use gitlab daily and have not experienced any outage in last 6 months probably.


It is usually their shared runners. I experience outages with them a couple times a month. It isn't a big deal since we maintain our own private pool, so I just move jobs to them. (They make you pay for CI minutes so we use them for certain jobs.)


For me even our private runners stopped worked over the last few weeks


Ouch. We haven't seen that, but we don't run them all the time either.


I use GitLab for my side project (source control only; don't have any kind of CI set up just at the moment) and it's been years since there was any really noticeable slowness for me. I can't say I use it daily, but fairly frequently.


6 months is a pretty low bar for a SCM tool.


Github has had frequent downtime too in the last 6 months too. For a low bar, it seems to be fairly hard to clear.


Same - I've had zero issues.


Our self-hosted GitLab instance is running fine!


Yup; I just updated ours to 13.9.4 and it was seamless as always (EE version).


Pitty its licensing cost will go up ten fold next year.


How so? Pics or it didn’t happen.




Only for the paid tiers, free tier stays free.


0 ten times fold = 0


Github seems to be doing worse


Yes. They (GitHub) have been doing a lot worse. Last time I checked, they where completely down 2 days ago. [0] Before that, GitHub Actions was down 14 days ago: [1].

At least with GitLab, you can set up a self-hosted solution for free as a backup, unlike GitHub (Unless you want to pay a lot for GH Enterprise) where some have 'gone all in on GitHub Actions' and then some couldn't push that critical change [2] before the start of the weekend. Oh dear.

Maybe its time to setup a self-hosted backup VCS and not depend entirely on GitHub/GitLab web.

[0] https://news.ycombinator.com/item?id=26439075

[1] https://news.ycombinator.com/item?id=26301659

[2] https://news.ycombinator.com/item?id=26439213


> Maybe its time to setup a self-hosted backup VCS and not depend entirely on GitHub/GitLab web.

I've been wanting to do this for some time purely for git hosting (don't care about CI at all) but wasn't sure about how to make it failover...

Personally i'd be happy with a headless git server, but that's not fair on everyone else who wants the GUI to browse and organise stuff, so I want gitlab etc to deal with that. What would be nice is to have a headless backup server that allowed everyone to continue pulling/pushing from the CLI with their existing repos when gitlab is down. I can't see a smooth way of doing that since it would require messing with the git remotes, unless the solution is inverted and uses a single remote pointing at the "backup" server which then replicates to gitlab, but I don't think gitlab can be configured to change the default remote when people clone it from the UI.

I suppose this is why people just end up self hosting gitlab instead.


If you want transparent failover you need to use your own domain for the repo URL. In case of a failure you (or some automatic job) would have to change the DNS record.

Gitlab has a repo mirroring feature [1]. But of course you'd also need to sync users public keys.

Downtimes are so infrequent and relatively short that this isn't worth the effort for me.

You can instead set up a read-only mirror so people can at least still pull and browse the code.. Gitea [2] might be a better choice than Gitlab, since it's much more lightweight and easier to host.

[1] https://docs.gitlab.com/ce/user/project/repository/repositor...

[2] https://gitea.io


Thanks this is useful to know

> Downtimes are so infrequent and relatively short that this isn't worth the effort for me.

That's essentially the same conclusion I keep coming too, occasionally it has hit me when I go to push something but rarely has it blocked me or anyone else from continuing to work.

> You can instead set up a read-only mirror so people can at least still pull and browse the code

Yeah, this I need to do eventually just for peace of mind as a more automated backup solution. At least I don't have to care about failover.


Maybe some kind of pre/post-push hook to automatically push to a secondary repo? Not entirely sure if this is possible, I’ve never written a Git hook before.

https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks


Gitlab is completely down until just now, similar happened not that long ago. Over the last three weeks continuously had issues with the Gitlab runners (even not shared ones) were it wouldn't jobs or only after a second or third retry attempt.

I think the flakiness of jobs succeeding is also related whether you use their package registry. I can't say I had similar issues with Github.


Well, they are stretching and extending gitlab with more and more functions.. With a... Not so great code base..


Is there any code base in this world that developers would not complain about? ;)


The only perfect code is the one you write, all others are crap


The one that will never be deployed on production. Real world unfortunately corrupts beautiful code with it's pesky complications.


Xmonad


Hi, what could be improved in GitLab's code base in your opinion? :)


In the past people have suggested we rewrite GitLab in Scala, Haskell, Node.js, and IIRC also regular Java.

I think it mostly comes down to "I didn't write it, so it's bad" :)


Nah, i don't care which language. Like, at all. I just think that gitlab outgrow ruby.


Suprised no rust or elixir there.


Do you have info on how different providers stack up?


*any non self-hosted git provider


Obligatory "is bi-weekly 2 or 0.5 times a week" confusion comment ;)

Though from the context it's 2.


This is why we have "fortnightly" in the English language.


TIL:

"A fortnight is a unit of time equal to 14 days (2 weeks). The word derives from the Old English term fēowertyne niht, meaning "fourteen nights".

https://en.wikipedia.org/wiki/Fortnight


Or just say "twice a week" and "once every two weeks" and not leave everyone in a meeting thinking you're talking about popular video game.


ok


Like it or not, fortnightly and “once every two weeks” are your only unambiguous choices.

We actually had a programming interview question using biweekly at a previous job. It was about thorough requirements definition and understanding/agreeing to measurements.


The word fortnight is in common parlance. Four score is not. But for the record the term bi-weekly is still confusing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: