展示 HN:用于代理的 GitHub Actions

1作者: pistoriusp大约 2 小时前原帖
大家好, 我非常不喜欢持续集成(CI)中涉及的修复、提交和等待的循环。为了解决这个问题,我决定缩短这个循环。我通过模拟 GitHub Actions 控制面板来实现这一点:运行器使用的是官方的 GitHub 运行器,但 API 是一个模拟的。 你将获得大约 0 毫秒的缓存时间。在失败时暂停。让你的代理修复问题并重试,而无需提交代码! 这对人类来说很简单,但对 AI 来说更容易验证你是否真的会通过 CI——结果是,如果 CI 没有通过,代理不会告诉你它已经完成。 <a href="https://github.com/redwoodjs/agent-ci" rel="nofollow">https://github.com/redwoodjs/agent-ci</a>
查看原文
Hi everyone,<p>I really dislike the fix, commit, and wait loop that is involved with CI. I decided to fix that by shortening the loop. I did that by mocking the GH Actions control pane: the runner is the official GH runner, but the API is a mock.<p>What you get is caching in ~0 ms. Pause on failure. Let your agent fix it and retry, without pushing!<p>It&#x27;s easy for humans, but even easier to AI to validate that your actually going to pass CI - the result is that an agent won&#x27;t tell you it&#x27;s done if CI doesn&#x27;t pass.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;redwoodjs&#x2F;agent-ci" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;redwoodjs&#x2F;agent-ci</a>