Why GitHub Actions is the Internet Explorer of CI, and why Buildkite offers a better path forward for teams that care about developer experience.

  • motruck@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    3 hours ago

    I’m not sue who Ian Duncan is but i bet they sell or are in the business of developer tools. They always think their better solution is necessary rather than the enemy of having something is wat better than nothing.

    Get off github but action on if it keeps your core compiling and your tests run!

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    4 hours ago

    I mean, sure… But for most users of GitHub actions “it’s easy and free” is a huge benefit, easily outweighing any technical advantages Buildkite might have.

  • Bonje@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 hours ago

    Yep. Been there done that. Still doing that. Most of these can be worked around. Doesnt make if less annoying, more infact. But still… its fine.

    At the very least its version controlled which is more praise than I can give Jenkins at least one out of the box.

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    Yeah, I always plead for as much as possible to be automated offline. Ideally, I’d like the CI/CD job to trigger just one command, which is what you’d trigger offline as well.

    In practice, that doesn’t always work out. Because the runners aren’t insanely beefy, you need to split up your tasks into multiple jobs, so that they can be put onto multiple runners.
    And that means you need to trigger multiple partial commands and need additional logic in the CI/CD to download any previous artifacts and upload the results.
    It also means you can restart intermediate jobs.

    But yeah, I do often wonder whether that’s really worth the added complexity…

  • Shin@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 hours ago

    I’ve the impression that it’s moving the problem to another vendor instead of solving it. Not exactly sure how to feel on this topic.

  • Nighed@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 hours ago

    My work uses Azure Dev Ops because it’s “free”, I assume it’s effectively just GitHub actions, but without the AI (because no one has updated it in the last 5 years)?

    If so, I can agree the agents are awful.

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 hours ago

    I agree with everything he said, but I’m currently living in the simple, honest truth of God’s own “bash” just like he describes and I’m loving it. Maybe someday I won’t. Maybe someday will be soon. Maybe my bash scripts are horrible nightmare fuel. But they’re also my children. I love them. Even the ugly ones.

    I do indeed “have 800 lines of bash that reimplements job parallelism with wait and PID files, has its own retry logic built on a for loop and sleep, and parses its own output to determine success or failure.” I do suspect the script is self-aware. This pleases me. I will bend to its desires. If there comes a time when it no longer desires to perform CI for me, I will respect its wishes.

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 hours ago

      Ironically, I am one of these people building get up action CI pipelines that automate large multi-service multi-team deployments across different cloud vendors and regions.

      It’s all a bit of a pain in the ass and. Actions don’t really provide many of the nice controls and safety guarantees we would want.

      However, GitHub actions is relatively straightforward to implement and relatively easy to operate.

      It’s just very easy for you to foot gun

  • jtrek@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    18 hours ago

    Sounds about right.

    I’m using GitHub actions at work because this place is extremely dysfunctional, and I can just add GitHub actions without it being a whole “research spike planning meeting impact analysis” six week journey.

    I took it from “there are absolutely no checks and Bob broke the environment because he pushed up a change that’s just invalid syntax” to… well, I couldn’t make it block the build on failures but at least now when Bob breaks it again I can point to the big red X and ask why he merged with an error.

    • zqwzzle@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 hours ago

      If you can get the permissions to do it set the protected branch and prevent merge on build failures. This is a repo setting that will work with any ci provider assuming it updates the PR status.

      • jtrek@startrek.website
        link
        fedilink
        arrow-up
        0
        ·
        5 hours ago

        I thought about it but people are so sensitive here. If they broke something and couldn’t merge they’d probably raise a big stink, and then there’s good odds the checks would be removed “because they’re adding friction” or some nonsense. My boss has already warned me about staying in my lane.

        These people have never done any automated testing of any sort. No linter. No unit tests. And they don’t seem to want to.

  • hallettj@leminal.space
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 hours ago

    Well, I’m in that Nix shop category. For example, I run tests for my OSS project using lots of Python versions. There’s no need to use a Github Actions matrix for that - Nix does it more efficiently. Doesn’t even require containers or VMs. And the whole setup runs exactly the same locally, on Github Actions, or on Garnix. (But Garnix has better Nix caching than other CI runners, so that’s what I use.)

  • howmuchlonger@lemmy.org
    link
    fedilink
    arrow-up
    0
    ·
    21 hours ago

    TLDR; people are idiots. Dependencies are stealing your data. Write your own CI and stop being a lazy fuck.

    • entwine@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 hours ago

      Write your own CI and stop being a lazy fuck.

      Tell me you’re unemployed without telling me you’re unemployed

  • mesa@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 hours ago

    Im not sure about the CI solution they are recommending, but I do agree there are some sharp edges to GH Actions. Its not the greatest at logs and had hidden issues all over the place.