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

推荐订阅源

G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
I
InfoQ
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
P
Proofpoint News Feed
WordPress大学
WordPress大学
小众软件
小众软件
B
Blog
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
量子位
Hugging Face - Blog
Hugging Face - Blog
月光博客
月光博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
200 OK Is Not the Same as "It Works"
wilfridterry · 2026-06-18 · via DEV Community

A few months ago a team I know shipped a routine Friday deploy. Every monitor stayed green all weekend. On Monday they discovered the signup form had been throwing a JavaScript error since Friday afternoon. The server was returning 200 OK the whole time. The page loaded. The HTML was valid. And not a single person could create an account for three days.

Nobody filed a bug. Customers don't file bugs. They hit a wall and leave.

This is the uncomfortable truth about most monitoring setups: they answer "is the server responding?" when the question that actually matters is "can a customer do the thing they came to do?" Those are not the same question, and the gap between them is where revenue quietly leaks out.

Why 200 OK lies

A classic uptime check does roughly this:

curl -s -o /dev/null -w "%{http_code}" https://yoursite.com/
# 200

Green. Ship it. But 200 only tells you the origin returned something. It says nothing about whether that something is usable. All of the following return 200 while being completely broken for a real human:

  • A page that renders blank because a JS bundle 404'd and the framework never hydrated.
  • A checkout button that disappeared after a CSS refactor changed a class name.
  • A login form that submits to an endpoint now returning 500, but the page itself loads fine.
  • A third-party script (payments, analytics, a chat widget) that fails and takes the rest of the page down with it.
  • A layout that "works" but pushes the CTA below a broken hero image, so conversions crater.

The server is healthy. The experience is dead. And the longer your front end leans on client-side rendering, third-party scripts, and multi-step flows, the wider this gap gets.

Three layers, not one

Closing the gap means monitoring at three levels, each catching a class of failure the others miss.

1. Health — but the deep kind

Pinging a URL is table stakes. A genuinely useful health check on a single request should also surface:

  • HTTP, SSL, DNS, redirects — the boring stuff that still takes you down at 2 a.m. when a cert expires.
  • Blank-page / empty-render detection — did the DOM actually paint meaningful content, or did you ship an empty <div id="app">?
  • Broken resources — any sub-resource (JS, CSS, images, fonts) that failed to load.
  • Console JavaScript errors — the silent killers, since a thrown error can break interactivity without changing the status code.
  • First-party API calls — did the XHR/fetch calls the page depends on actually succeed?
  • Core Web Vitals, security headers, basic a11y and SEO — slower-moving signals, but cheap to grab in the same pass.

The key shift: stop treating "responded" as "healthy." Healthy means rendered and interactive.

2. Visual regression — catch what you can't assert

Some breakage has no clean assertion. A button moved. The hero image is 404ing so the layout collapsed. A font swap pushed everything 40px down. You can't easily expect() your way to "the page looks right."

So you do what humans do — you look. Programmatically:

  1. Capture a screenshot on a schedule (daily/weekly for stable pages).
  2. Diff it pixel-by-pixel against the previous baseline.
  3. Surface the changed percentage and the diff image so a human can glance and decide: intended change, or regression?

This is the same idea behind tools like Percy or BackstopJS, applied continuously to production rather than only in CI. A 2% diff after a deploy you didn't ship is a great early-warning signal.

3. Journey monitoring — test the verbs

Health checks test nouns (the page). Journeys test verbs (the actions). This is where real money lives:

  • Search → add to cart → checkout for ecommerce.
  • Signup → verify → onboard for SaaS.
  • Login → load dashboard → key action for everything.

A journey monitor drives a real (headless) browser through these steps on a schedule and reports failure at the step level — so you don't just learn "checkout is broken," you learn "step 4, clicking 'Place order,' timed out." Historically this meant maintaining brittle Playwright/Cypress scripts that break every time a selector changes. The newer approach is to describe the flow in plain language and let the tooling resolve the steps, which dramatically lowers the maintenance cost that kills most synthetic-monitoring efforts.

Where this lands in practice

You can absolutely assemble this yourself: a cron'd headless-Chrome script for health, BackstopJS for visual diffs, Playwright for journeys, and something to route alerts. I've gone down that road; the wiring and the upkeep are the expensive parts. Selectors rot, baselines drift, and the alerting glue becomes its own side project.

The other option is a tool that bundles the three layers. NorthDuty is one I looked at recently that's built squarely around this "up but broken" thesis — it runs health checks (every 5 minutes by default), screenshot-based visual diffs, and user-journey checks on the same project, and notably lets you define journeys as plain text instead of scripts, plus AI-suggests a handful of likely happy-path flows per site. It's free to use right now, so it's easy to point it at a site and see what your current monitoring has been missing. There are others in adjacent space (Checkly leans script-first and developer-heavy, Better Stack and Pingdom lean uptime-first, Visualping is visual-only). The point isn't the brand — it's that you should be covering all three layers, however you get there.

A pragmatic starting point

If you want to close the biggest part of the gap with the least effort, in order:

  1. Upgrade your health check to detect blank renders, console errors, and failed sub-resources — not just status codes. This alone catches a surprising share of "green but broken" incidents.
  2. Add one journey for your single most revenue-critical flow (checkout or signup). One good journey beats ten URL pings.
  3. Add visual diffs on your 3–5 highest-traffic, rarely-changing pages, where an unexpected diff is almost always a regression.
  4. Set thresholds, not just on/off — alert on response time, health score, SSL expiry, and journey failure, and route them somewhere your team already reads (Slack/Discord/Teams), with maintenance windows to mute planned-work noise.

The takeaway

200 OK is a promise from your server, not from your product. The deploys that hurt most are rarely the ones that take the site down — they're the ones that leave it up and quietly broken, where every dashboard is green and your customers are the only ones who know the truth.

Monitor the experience, not just the endpoint.


How does your team catch "up but broken" today — custom scripts, a hosted tool, or do you find out from support tickets? Curious what's actually working for people.