惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
博客园_首页
Jina AI
Jina AI
WordPress大学
WordPress大学
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
美团技术团队
IT之家
IT之家
爱范儿
爱范儿
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Automate flaky test fixes with the Bits AI Dev Agent and ...
2026-01-12 · via Datadog | The Monitor blog

Flaky tests are a significant source of inefficiency that impacts many engineering teams. Along with failing your build, they interrupt your entire development flow, generate excessive CI/CD noise, and, critically, compromise developer trust in the test suite itself.

Datadog Test Optimization enables you to manage test suites at scale by pinpointing the flakiest tests, analyzing their history across hundreds of runs, and automatically surfacing the root cause. But identifying the problem is only the first step. Fixing the root cause still requires dedicated developer time to debug and rewrite the test code, and this iterative maintenance debt is time that could be spent on building.

That’s why the Bits AI Dev Agent deeply integrates with the rich observability data and historical test context of Test Optimization. When a flaky test is detected, the Bits AI Dev Agent categorizes the problem and autonomously generates a verified code fix packaged as a production-ready pull request (PR) for immediate review.

In this post, we’ll cover how the Bits AI Dev Agent and Datadog Test Optimization integrate directly within your existing development workflow to reduce the repetitive, time-consuming work of fixing flaky tests.

Integrate quality context into your workflows for reliable AI-driven fixes

While a generalized AI model may suggest a simple change based on common problems, it can’t understand why your specific test failed intermittently across different CI runs. Datadog Test Optimization already collects deep, high-signal data from your pipelines—such as historical run information, execution traces, and logs from the exact moment of failure—that allows our agents to do more than guess.

By taking context further, Datadog’s AI-powered Flaky Test Management handles the initial categorization by grouping failures by type. The Bits AI Dev Agent then uses this categorization to autonomously triage the issues, focusing only on high-value types where a code fix is highly probable. It consumes rich historical data and full execution traces to accurately diagnose the root cause, allowing it to generate a robust, targeted code resolution. Because the Bits AI Dev Agent works continuously in the background, these fixes are pre-generated as soon as a test flakes, so developers get verified pull requests immediately, without waiting for an on-demand AI to respond.

A screenshot showing a flaky test and a suggested fix from the Bits AI Dev Agent.

Instead of just generating code, the Bits AI Dev Agent helps you generate reliable fixes that are trusted, verified, and embedded into existing workflows.

Build trust with proactive verification into every PR

For any AI-generated code, verification is critical. We know a fix is only useful if you can trust that it won’t introduce any new uncertainty. The Bits AI Dev Agent is engineered for developer confidence by proactively verifying fixes before they enter the merge queue. It focuses its scope on only high-confidence flakiness issues to minimize noise and unnecessary PRs.

A screenshot showing a PR automatically generated from a flaky test discovered by Bits AI.

This confidence stems from pre-merge validation, where the Bits AI Dev Agent runs an internal process using existing CI logic to check the generated fix against historical flakiness data. The Bits AI Dev Agent delivers this verified patch as an actionable draft PR, transparently labeled as an “Attempt to Fix,” complete with a contextual summary detailing the diagnosis, the fix applied, and the successful verification result (e.g., passing multiple consecutive runs).

A screenshot showing the settings to enable auto-push for Bits AI Dev Agent PRs.

Teams can enable auto-push settings that allow the Bits AI Dev Agent to send merge-ready PRs, push updates based on PR comments, and automatically resolve failed CI jobs. This process saves developer time, so you no longer need to annotate fixes, paste code, or manually retry CI jobs. You simply review a verified solution and merge.

Start fixing flaky tests with the Bits AI Dev Agent

By integrating the autonomous resolution capabilities of the Bits AI Dev Agent with the flakiness detection of Test Optimization, Datadog delivers a full-cycle solution to test instability. This means you can finally stop the reactive cycle of maintenance and reclaim your time for building.

You can try out the Bits AI Dev Agent by signing up for the Preview. To learn more about setting up your repository and enabling the agent, check out our documentation. Once enabled, the Bits AI Dev Agent will automatically identify flaky tests, generate validated fixes, and draft PRs for your team to review.

Start using the Bits AI Dev Agent today to spend less time triaging flaky tests and more time building. If you’re new to Datadog, sign up for a 14-day free trial to get started.