(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43419701

Hacker News 上的一个帖子讨论了使用 GitHub Actions 相比 GitLab CI 和 Buildkite 等替代方案的诸多不便。原帖作者拥有丰富的 GitLab runner 使用经验,对 GitHub Actions 的用户体验、不透明性和难以理解的文档感到失望。其他评论者也表达了类似的观点,提到了诸如复杂的权限模型、缺乏本地开发 runner 以及整体不可靠性等问题。一些人分享了使用 Azure DevOps 的经验,指出它与 GitHub Actions 类似,也存在一系列问题。一些人建议了其他替代方案。一位评论者特别提到了作者的经验水平以及所链接文章中提出的挑战的合理性。总体而言,人们普遍认为 GitHub Actions 虽然方便,但却常常令人痛苦,一些人将其广泛采用比作 Microsoft Teams——由于可用性而非优越性而被使用。

相关文章
  • GitHub Actions 的痛点 2025-03-20
  • (评论) 2023-11-24
  • (评论) 2024-08-04
  • (评论) 2025-03-01
  • (评论) 2024-03-25

  • 原文
    Hacker News new | past | comments | ask | show | jobs | submit login
    The Pain That Is GitHub Actions (feldera.com)
    35 points by qianli_cs 1 hour ago | hide | past | favorite | 15 comments










    I worked at companies using Gitlab for a decade, and got familiar with runners.

    Recently switched to a company using Github, and assumed I'd be blown away by their offering because of their size.

    Well, I was, but not in the way I'd hoped. They're absolutely awful in comparison, and I'm beyond confused how it got to that state.

    If I were running a company and had to choose between the two, I'd pick Gitlab every time just because of Github actions.



    These are all real pains, author definitely has done a lot of work in Github Actions; respect. I'm sure these notes will save a lot of people a lot of frustration in the future, since Github Actions isn't going away --- it's too damn convenient.

    I wonder why they chose to move back to Github Actions rather than evaluate something like Buildkite? At least they didn't choose Cloud Build.



    Used to use GH actions quite a bit. At my current company we set up RWX Mint (rwx.com/mint) and haven't looked back. (disclaimer: used to work at rwx but no longer affiliated)


    After using Gitlab CI for years and setting up some pretty complex scenarios, when I switched over to GitHub I found the UX to be pretty rough. Seems very opaque and I find the documentation to be at best hard to navigate.

    Maybe it was just the pain of switching but that was my initial impression.



    Should have been zero permissions by default. The current model is a mess of global settings, workflow permissions, and job tokens that nobody understands.


    Also an Earthly casualty here. Now having to look at Dagger.


    Azure DevOps is nearly identical, but with slightly different zoo of issues that are less well documented in public sources.

    It also has the problem of not having a local dev runner for actions. The "inner loop" is atrociously slow and involves spamming your colleagues with "build failed" about a thousand times, whether you like it or not.

    IMHO, a future DevOps runner system must be an open-source, local-first. Anything else is madness.

    Right now we're in the "mainframe era" of DevOps, where we edit text files in baroque formats with virtually no tooling assistance, "submit" that to a proprietary batch system on a remote server that puts it into a queue... then come back after our coffee to read through the log printout.

    I should buy a dot matrix printer to really immerse myself into the paradigm.



    They are so identical, there's code in the GitHub runner to search and replace "Azure DevOps" with "GitHub Actions" in log output on the fly.

    The entire code is a wonderful mess. We found that when we early-adopted ephemeral runners, that the control flow is full of races and the status code you get at the end is indicative of exactly nothing. So even if the backend is just having a hickup picking up a job with an obscure Azure error code, you better just throw that entire VM away, because you can't know if that runner will ever recover or has already done things to break the next run.





    tldr but: don't use GitHub Actions. Its a mess, the availability is often atrocious, and the UI around it is _still_ as clunky as when they first rolled it out many years ago.

    There are better solutions out there.



    GitHub Actions is like Microsoft Teams. Nobody who knows better wants to use it, but it's better than what most did before (email/jenkins/nothing) and came with the thing you're already using.


    [flagged]



    It would be more helpful for you to provide the solution rather than just boast about your intelligence.


    The solution was found by the author, and is covered in GitHub actions documentation.


    Definitely not a skill issue if you read the details in their post - https://www.feldera.com/blog/the-pain-that-is-github-actions - they're clearly very experienced with using GitHub Actions and have run into legitimate challenges due to the complexity of what they're using it for.


    I did read the post. The documentation of the product does explain how to use it, so it is unfair to blame the product in my opinion.






    Join us for AI Startup School this June 16-17 in San Francisco!


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



    Search:
    联系我们 contact @ memedata.com