GitHub is having trouble counting things

(chuckgreenman.com)

61 points | by chuckgreenman 2 hours ago

23 comments

  • nxc18 38 minutes ago
    GitHub, including Enterprise (so not just Azure’s fault), has become unreliable, low quality software.

    I say unreliable because I cannot rely on it to accurately do what it claims to do. I cannot trust any number. I cannot trust that actions I invoke will actually happen. I cannot trust that taking action will not have mysterious side effects (e.g. re-opening an issue my boss’s boss closed in 2017 without explanation). I think I trust the underlying git infra but at this point I’m not sure why I do.

    I say low quality because it is extremely slow at random moments, gets into broken inconsistent UI states, has baffling UX choices that make it harder to navigate than it should be (particularly with new UIs), and overall just doesn’t have the fit and finish we should expect from software in 1996 - or 2026, or literally any time in between.

    • plasma_beam 27 minutes ago
      For months now I've had scheduled GH Actions workflows that don't run on time, sometimes not at all. Like we're talking 4-8 hours later than the cron statement. Yesterday I finally gave up and just moved the trigger to AWS EventBridge Scheduler/Lambda. Maddening, but also we're talking code repos that are $0 for me. Not production level. I can't imagine people running Production pipelines on github.com.
      • paradox460 0 minutes ago
        At a previous gig we had a simple "reset staging" task on gha, that ran once a week on Tuesday

        It ran fine for years, then around November just stopped and never ran again. Tried moving it around for which time it would trigger, and it just never started again. Opened a ticket, and got nowhere

      • DetroitThrow 7 minutes ago
        I've switched off to runners and event scheduling inside AWS, and am working on moving my company off of GitHub. I know engineers inside GitHub and it doesn't sound like the talk they've been putting out about reliability is actually being addressed with many resources internally; the best people in the company are chasing AI product features (which are apparently quite profitable).
  • Droobfest 18 minutes ago
    I was having the problem yesterday that the GitHub API sometimes simply doesn't list an in progress workflow run in the output when I specifically filter for it:

    "api.github.com/repos/{owner}/{repo}/actions/runs?status=in_progress" -> outputs 3 workflow runs

    5 seconds later -> outputs 2 workflow runs

    5 seconds later -> outputs same 3 workflow runs again

    Apparently they make no guarantees of any type of consistency or continuity in output, which has the side effect of also making it completely useless.

  • zX41ZdbW 55 minutes ago
    Some of the oldest PRs could no longer be found.

    For example, when I decided to continue my eight-year-old PR https://github.com/ClickHouse/ClickHouse/pull/104948, I couldn't see it - neither in search nor while navigating through pages.

    Direct links still work.

  • huurtehoog 58 minutes ago
    The fact that there's so much indirection between what happens in the registers and memory in the machine, the underlying reality being modeled by software, and the information displayed semantically to the users, is a travesty.

    Software could be so much simpler and more reliable. There's so much bloat that is necessary to solve problems created by bloat. I hope we find our way out of this mess sooner rather than later. I'd hate for entire generations to suffer the current state of software whereas the theoretical understanding necessary to make things better was produced very early in the history of programmable computers.

  • vanyauhalin 6 minutes ago
    I have been seeing this for one-two years already. They cannot count how many packages I have.

    https://github.com/vanyauhalin?tab=packages

  • datadrivenangel 1 hour ago
    Dirty reads is a classic symptom of scaling poorly. Eventually consistent database writes are fine, but it's a bad look if a user takes an action and then doesn't see the results of their action.
    • wren6991 45 minutes ago
      Similar to how every description of relaxed consistency for CPUs starts out by pointing out your own reads always observe your own writes in program order, as if to say, "don't worry, we're not insane."
  • bob1029 10 minutes ago
    This appears to be a security problem in some contexts. I've been able to see issue counts for repositories that I have not been granted access to yet (the view with the invite accept button). I can't actually get to the issues but I can see how many there are.
  • Rooster61 52 minutes ago
    > Really curious as to what’s going on over there, if you’ve got any insight let me know!

    Microsoft. That's the answer. Microsoft is happening over there.

  • meerita 7 minutes ago
    I know this pain because, right now, I have zero PRs opens, yet the PR tab is always saying I have 1. It's plainly stupid.
    • busymom0 5 minutes ago
      The chat notifications count badge on Reddit website has the same problem for me. Tells me I have messages when I don't. Or won't tell me I have messages when I do.
  • hanspagel 1 hour ago
    I think they struggle with two things

    1) counting

    • eugenekay 1 hour ago
      2) cache validation

      3) off-by-one errors

      • kibwen 59 minutes ago
        According to the documentation there are four things:

        4) naming things

        5) keeping the documentation up-to-date

      • Gander5739 1 hour ago
        There are solutions: https://xkcd.com/3062/
      • lbanchio 1 hour ago
        4) naming things
    • stateoff 1 hour ago
      "Since we forced our engineers to agentic workflows our efficiency doubled. Just look at the numbers!"
  • stabbles 18 minutes ago
    The reason is that their primary source of truth (traditional database) and their search index (elasticsearch) are out of sync.

    The issues/pulls pages used to be showing the data from the primary data source, and then they changed it so everything is search, including the basic props is:pr and state:open.

    • oxidant 8 minutes ago
      Experienced this using the API. Got told it's a "wontfix"
    • ako 14 minutes ago
      Don't worry, it will be consistent eventually.
  • stack_framer 15 minutes ago
    The same counting problem exists with GitHub issues. I notice this every time I close an issue, and the count of open issues is still one higher than the actual number (until I reload the page).
  • thetnaingnyc 17 minutes ago
    GitHub's downfall must be studied. At the same time as all of these reliability issues, they've been introducing a variety of small UI updates that don't make any meaningful updates either...
  • cedws 1 hour ago
    There's tonnes of UI bugs. A more severe one I've experienced is that my approved PRs have been shown as still waiting on review, leading some of them to be delayed by weeks.
    • esafak 1 hour ago
      I'm partial to the one where the workflow completes but the its summary on the PR does not get updated, so it appears to be running.

      How many companies engender taste in bugs, eh??

  • apocalyptic0n3 1 hour ago
    Calling this "severe" feels overblown. It's a UI mismatch likely caused by using multiple caches that are out of sync. I feel like every engineer on this site has encountered this exact bug at one point or another. It's an easy one to run into, especially in bigger orgs.
    • layer8 1 hour ago
      The second screenshot with “1 3 Next” seems pretty hard to justify.

      Taking care that such incongruent representations can’t happen even in the face of inconsistent backend caches is part of proper UI state management.

    • thibaut_barrere 1 hour ago
      Yes but in the case of GH, it also happens in cases where the data is old: not just a temporary drift.
  • disko 45 minutes ago
    I have got an insight alright. Microsoft took it over.
    • herbst 8 minutes ago
      Soon most will have forgotten how essential and stable github was at some point in the past.
  • nubinetwork 53 minutes ago
    My phone consistently says that I have one more update than they'll actually let me download... what that one phantom app is, I'll never know...
    • 1718627440 47 minutes ago
      CIA Information Services.
  • mococa 49 minutes ago
    AI will solve this
  • booi 54 minutes ago
    Press "Next"
  • mickael-kerjean 1 hour ago
    This got to be the extinguish phase from the EEE Microsoft playbook. Prior acquisition, Github was very liked and very focus, then Microsoft happened in their embrace phase, telling us EEE was something of the past. While trying to show good faith they extended the platform and this is now the very last phase
    • yodon 1 hour ago
      >EEE

      My god what an ancient trope.

      Presumably you realize most current Microsoft employees were not even alive when the EEE memo was written.

      Must we also talk about some decision Henry Ford made in 1906 every time the automaker is mentioned, or something the Gauls did in 200 BC every time England is mentioned?

      • pessimizer 56 minutes ago
        You don't want to talk about it because either 1) you don't know it, or 2) you were downplaying it at the time, too.

        The only time we talk about Henry Ford, unless it's about his anti-Semitism, is about decisions he made in 1906. If we go by your arbitrary standard, why would we talk about Henry Ford at all when we could talk about this year's Tesla model?

        > See also Netscape v2.0 and 3.0, which were badass browsers back in 1996, but are similarly irrelevant today.

        Why are you talking about Netscape? What does that have to do with anything happening right now?

    • chuckgreenman 1 hour ago
      Maybe, but does Team Foundation Server even exist anymore? What is the MS branded service that degrading GitHub is supposed to drive people to?
      • isolay 54 minutes ago
        Copilot, of course. Helpfully, every Microslop product is named Copilot Something now. Take your pick.
    • herpdyderp 1 hour ago
      I don't believe this is true of the past, but it'd be quite the twist if the extinguish phase was really just pure incompetence this whole time. It certainly seems that way right now with GitHub.
  • whalesalad 55 minutes ago
    rails + russian doll style caching + large engineering team + azure as a platform = recipe for this exact problem.
  • crote 1 hour ago
    [dead]