Agentic Testing: Where Agents Fit in the E2E Testing Stack

Sergii Gorbachov · 2026年6月11日

AI 摘要 AI 生成,可能有误

作者运行了200多个代理式(agentic)E2E 测试工作流,对比了 Playwright MCP、Playwright CLI 和代理生成的 Playwright 测试,发现代理与传统测试存在根本差异:代理通过自适应地验证目标而非强制执行固定旅程,只有约 20% 的运行遵循了相同的操作序列。Playwright MCP 被证明是最可靠的方法(失败率为 0–12%),而生成的测试速度最快,但在复杂流程上表现急剧下降;所有代理驱动的运行都伴随着每次执行 15–30 美元的高昂成本,这主要源于轮次数量和上下文累积,而非模型输出。作者得出结论,代理式测试目前更适合针对性调试或探索性测试,而非高频 CI 执行,不过随着未来模型和工具的发展,成本可能会有所改善。

Abstract

Agent-driven end-to-end (E2E) tests add a new exploratory layer to testing, but should they replace traditional deterministic tests? We ran more than 200 agentic E2E workflows using the Playwright MCP, Playwright CLI, and agent-generated Playwright tests in test workspaces using non-production data to find out how agentic testing could fit into both our and your testing stacks.

1. From Journeys to Goals

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Slack Engineering

Shipyard: How We Built Slack’s Next-Generation EC2 Platform

AI 摘要Shipyard is Slack's next-generation EC2 platform that treats infrastructure as immutable, deployable artifacts rather than long-lived, continuously updated instances. It uses layered AMIs built on a shared golden base image (slack-zero), applies configuration during baking and provisioning phases, and enables metric-driven progressive rollouts with automated rollbacks through its Gondola orchestrator. The platform also provides real-time fleet visibility via a new inventory system called Peekaboo and keeps instances short-lived and regularly rotated for security and consistency.

Slack AI: The Path to Multi-Cloud

AI 摘要This article traces Slack AI's three-year evolution in serving LLMs at enterprise scale, moving from a self-managed AWS SageMaker setup to Amazon Bedrock Provisioned Throughput to eliminate operational overhead and model feature lag, executed via a zero-incident migration with rigorous load testing and gradual traffic shifts. Facing over-provisioning costs and commitment lock-in, the team then adopted a hybrid strategy combining Provisioned Throughput for latency-sensitive features with On-Demand capacity and a spillover pattern for bursty workloads. Finally, it built an intelligent platform abstraction with model hierarchies and real-time failover to mitigate service variability and concentration risk, setting the stage for a resilient multi-cloud architecture.

From SSH to REST: A Security-Driven Modernization of Slack’s EMR Data Pipelines

AI 摘要By 2024, Slack's data platform relied on 700+ SSH-based Airflow operators running jobs directly on AWS EMR clusters, creating security risks, operational reliability issues, and blocking infrastructure modernization initiatives. The team migrated all jobs to a REST-based architecture using Quarry, their job submission gateway, leveraging YARN Distributed Shell to run arbitrary shell commands in properly managed YARN containers with server-side job tracking and service-to-service authentication. The migration spanned 8 data regions and 7 operator types, completed in three quarters with zero downtime for critical services like search indexing, and fully eliminated SSH access.

Managing context in long-run agentic applications

AI 摘要This second article in a series on an agentic security investigation service addresses how to maintain coherence in long-running multi-agent systems, where stateless language model APIs and finite context windows make continuity challenging. The authors present three complementary context channels—the Director's Journal (a structured working memory with six entry types), the Critic's Review (an annotated findings report), and the Critic's Timeline (consolidated chronological findings with credibility scores)—which together give each agent a tailored view without overwhelming it or stifling creativity. The Critic uses specialized tools to inspect Experts' evidence and methodology, scoring findings on a five-level credibility rubric, with data from 170,000 reviewed findings showing roughly a quarter fall below the plausibility threshold.

From Custom to Open: Scalable Network Probing and HTTP/3 Readiness with Prometheus

AI 摘要Slack lacked client-side observability for its new HTTP/3 endpoints because existing SaaS tools and the Prometheus Blackbox Exporter did not support QUIC probing. An intern, Sebastian Feliciano, implemented QUIC support using quic-go and open-sourced it to the Prometheus Blackbox Exporter, while also building an in-house system to probe Slack's HTTP/3 endpoints. This gave Slack unified HTTP/1.1, HTTP/2, and HTTP/3 metrics in Grafana with better alerts and easier correlation, while benefiting the wider Prometheus community.