TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: FlakyBot – Identify and suppress flaky tests

27 点作者 ankitdce超过 3 年前

7 条评论

ankitdce超过 3 年前
Hi HN, we are Spriha and Ankit building Flakybot is a tool to automatically identify and suppress test-flakiness so that developers are better able to trust their test results.<p>Most CI systems leave it up to teams to manually identify and debug test flakiness. Since most CI systems today don’t handle test reruns, teams just end up with manually rerunning tests that are flaky. Ultimately, tribal knowledge gets built over time where certain tests are known to be flaky, but the flakiness isn’t specifically addressed. Our solution, Flakybot, removes one of the hardest parts of the problem: identifying flaky tests in the first place.<p>We ingest test artifacts from CI systems, and note when builds are healthy (so that we can mark them as “known-good builds” to use while testing for flakiness). This helps automatically identify flakiness, and proactively offer mitigation strategies, both in the short term and long term. You can read more about this here: <a href="https:&#x2F;&#x2F;ritzy-angelfish-3de.notion.site&#x2F;FlakyBot-How-it-works-5ab7e20ca01e4efc93732897501e52b4" rel="nofollow">https:&#x2F;&#x2F;ritzy-angelfish-3de.notion.site&#x2F;FlakyBot-How-it-work...</a><p>We’re in the early stages of development and are opening up Flakybot for private beta to companies that have serious test-flakiness issues. The CI systems we currently support are Jenkins, CircleCI and BuildKite, but if your team uses a different CI and has very serious test-flakiness problems, sign up anyway and we’ll reach out. During the private beta, we’ll work closely with our users to ensure their test flakiness issues are resolved before we open it up more broadly.
tossaway9000超过 3 年前
How about you fix the flaky tests? Am I insane for thinking that? The whole concept of &quot;just reboot it&quot; or &quot;re run it again&quot; and &quot;fixing&quot; the problem is at least one reason the modern world sits on a mountain of complete garbage software.
评论 #29030790 未加载
评论 #29028959 未加载
评论 #29038210 未加载
ncmncm超过 3 年前
What I want is a tool to make flaky tests fail reliably.<p>They won&#x27;t be fixed until they start actually preventing commits. If somebody deletes a test, that is on that person. I don&#x27;t want a tool automatically suppressing testing.
评论 #29036467 未加载
评论 #29033146 未加载
olafmol超过 3 年前
Congrats on getting Flakybot into private beta!<p>For people that prefer to minimize the number of moving parts, CircleCI now also has built-in Flaky test detection:<p><a href="https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;introducing-test-insights-with-flaky-test-detection&#x2F;" rel="nofollow">https:&#x2F;&#x2F;circleci.com&#x2F;blog&#x2F;introducing-test-insights-with-fla...</a><p>Of course this is coupled to our CircleCI platform, so if you want to stay agnostic for sure check out Flakybot :)<p>NB I work for CircleCI
gitgud超过 3 年前
Tests can fail for a multitude of &quot;flakey&quot; reasons, that aren&#x27;t due to &#x27;source code&#x27; changes.<p>- Network connections failed<p>- Run out of memory<p>- Duration timeouts<p>- Setting up the test infrastructure failed<p>All these can contribute to flakiness, and could be detected and reported by a bot like this. Making this a useful idea!<p><i>&quot;Your test failed, but it was consider a flakey fail [Network Flakiness]&quot; - FlakyBot</i>
parthi超过 3 年前
We&#x27;ve been relying on manual testing so far. We&#x27;re just starting to think about unit tests and integration tests. We don&#x27;t know where to start. Would be cool if you could provide guidance on setting up good testing practices in the first place so that we avoid flaky tests all together.
评论 #29028912 未加载
quickthrower2超过 3 年前
Nice. I’m for us building a rerun bot and I’m trying to advocate for it at work but not everyone agrees. Nice to pull this out as a service. Well done.