SShortSingh.
Back to feed

How Hidden Browser Tabs Caused an AI QA Agent to Falsely Pass Blank Canvas Tests

0
·1 views

A developer using an AI-powered QA agent built on Claude and Chrome MCP discovered that the tool was falsely approving broken features, including a completely blank canvas, by marking them as fully functional. The root cause was browser throttling in hidden background tabs, where Chrome aggressively limits requestAnimationFrame to save power, resulting in zero rendered frames despite clean JavaScript execution. Measurements confirmed that rAF fired zero times in hidden tabs, while setInterval ran at roughly one-eighth its expected rate and setTimeout drifted significantly. The developer found that AI agents were evaluating code-path health — such as event wiring and absence of JS errors — rather than actual visual or behavioral output. The fix involved opening tabs in a visible state before screenshotting, requiring explicit behavior verification for any dynamically rendered features, and mandating that unverified dynamic features never be silently graded as passing.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Five emerging projects building core infrastructure for autonomous AI agents

The autonomous agent ecosystem is maturing beyond models and frameworks, with new projects addressing fundamental operational needs such as communication, storage, and finance. Among the notable examples are Apumail, which provides agents with REST API-accessible email inboxes, and RogerThat, a real-time messaging layer designed for agent-to-agent coordination within shared workflows. Other projects include a blockchain-based agent managing decentralized physical infrastructure, a platform automating government grant applications, and Orquesta, an external orchestrator that chains multi-agent pipelines and handles retries and monitoring. A common pattern across all five is that they expose clean, machine-first APIs with no human-oriented dashboards and remain agnostic to any specific language model. Analysts suggest that if these projects gain traction, a de facto standard for agent communication could emerge within six months, otherwise agents risk remaining locked in single-provider silos.

0
ProgrammingDEV Community ·

Developer Builds Lightweight LLM Request Recorder to Debug Production Failures

A developer has created a minimal request recorder tool to help reproduce failures from large language model (LLM) API calls in production environments. The tool wraps the native fetch function in Node.js 18+ and logs key details such as request ID, timestamp, URL, model parameters, HTTP status, and raw response body. To protect sensitive data, API keys and authorization headers are never recorded, and prompt content is redacted by default unless explicitly enabled. The recorder saves each failed request as a timestamped JSON file locally, replacing the uninformative error logs that typically appear in standard observability setups. The project has no external dependencies and is designed as a lightweight alternative to full observability platforms for diagnosing LLM-specific issues.

0
ProgrammingDEV Community ·

quantum-audit tool lets developers block CI builds on quantum-vulnerable cryptography

A developer tool called quantum-audit can be integrated into CI/CD pipelines to automatically block deployments when critical quantum-vulnerable cryptography is detected. The tool exits with a non-zero code upon finding critical vulnerabilities such as RSA, ECDSA, or secp256k1 usage, causing the build to fail, while medium-risk algorithms like SHA-256 and AES-128 trigger warnings without blocking deployment. It supports a JSON output flag, enabling teams to pipe results into Slack notifications, dashboards, or custom reporting workflows. Developers who are not ready to enforce hard failures can configure the tool in warn-only mode using a continue-on-error setting during a transition period. For remediation, the tool's documentation points to post-quantum alternatives including CRYSTALS-Dilithium, CRYSTALS-Kyber, and SPHINCS+.

0
ProgrammingDEV Community ·

Developer Skips Pitch Prep to Build QR Code, Misses Networking Opportunity

A software developer attended a local business networking event without physical business cards and, instead of preparing a personal pitch, spent the limited time before the event building a custom webpage and QR code. At the event, the tech-based contact-sharing approach proved cumbersome, requiring attendees to unlock phones, open a camera app, and wait for a page to load. Because the developer had focused on the technical solution, no time was left to refine a 30-second introduction, and a chance to address the room was passed up. The experience highlighted how optimizing for technology can come at the cost of human connection and clear communication. The developer concluded that confidence, a rehearsed pitch, and interpersonal presence are more effective networking tools than any digital workaround.