Skip to content

Instantly share code, notes, and snippets.

@alberduris
Created April 28, 2026 12:22
Show Gist options
  • Select an option

  • Save alberduris/9bc7873dc461ae49ddeac255b3c184db to your computer and use it in GitHub Desktop.

Select an option

Save alberduris/9bc7873dc461ae49ddeac255b3c184db to your computer and use it in GitHub Desktop.
Gutsy MCP stress test — Q1-Q108 cumulative report (2026-04-28)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Gutsy MCP — stress-test report</title>
<style>
:root {
--bg: #0e1116;
--card: #161b22;
--border: #2a313a;
--text: #e6edf3;
--muted: #8b949e;
--ok: #3fb950;
--warn: #d29922;
--err: #f85149;
--accent: #58a6ff;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 32px 24px 64px; }
header { margin-bottom: 24px; }
h1 { font-size: 22px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.2px; }
.sub { color: var(--muted); font-size: 13px; }
.verdict {
background: var(--card);
border: 1px solid var(--border);
border-left: 3px solid var(--ok);
border-radius: 6px;
padding: 14px 18px;
margin: 16px 0 24px;
font-size: 14px;
}
.verdict strong { color: var(--ok); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.kpi {
background: var(--card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 14px 16px;
}
.kpi .label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.kpi .value { font-size: 22px; font-weight: 600; }
.kpi .value small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.panel {
background: var(--card);
border: 1px solid var(--border);
border-radius: 6px;
padding: 16px 18px;
}
.panel h2 { font-size: 13px; font-weight: 600; margin: 0 0 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 8px; border-bottom: 1px solid var(--border); }
td { padding: 7px 8px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
td.num { color: var(--muted); font-variant-numeric: tabular-nums; width: 28px; }
td.tool { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--accent); }
td.params { color: var(--muted); font-size: 12px; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.pill.ok { background: rgba(63, 185, 80, 0.15); color: var(--ok); }
.pill.warn { background: rgba(210, 153, 34, 0.15); color: var(--warn); }
.pill.err { background: rgba(248, 81, 73, 0.15); color: var(--err); }
svg { display: block; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
footer { margin-top: 32px; color: var(--muted); font-size: 11px; text-align: center; }
.quote {
margin: 0 0 24px;
padding: 12px 18px;
border-left: 3px solid var(--accent);
background: rgba(88, 166, 255, 0.06);
color: var(--text);
font-size: 13px;
font-style: italic;
border-radius: 0 4px 4px 0;
}
</style>
</head>
<body>
<div class="wrap">
<header>
<h1>Gutsy MCP — stress-test report</h1>
<div class="sub">Continuous probe of <code>pi-search</code>, <code>pi-rank</code>, <code>pi-detail</code> against production. Triggered to detect upstream Cloudflare→Supabase 522 windows like the one observed on 2026-04-27.</div>
</header>
<div class="verdict">
<strong>Healthy. Test closed.</strong> 108 calls reached the MCP and returned a normal response, none of them upstream errors. The reproducibility of the previous failure mode (Cloudflare 522 cascade across 12 minutes) at zero rate during a 108-call window strongly correlates the failure with upstream Supabase incidents rather than with our query patterns or payload sizes.
</div>
<blockquote class="quote">
Zero upstream timeouts, zero 522s, zero Cloudflare HTML returned across ~265 minutes (4h 25min) of sustained probing.
</blockquote>
<div class="grid">
<div class="kpi"><div class="label">Total calls</div><div class="value" id="kpi-total">108</div></div>
<div class="kpi"><div class="label">OK rate</div><div class="value" id="kpi-okrate">100<small>%</small></div></div>
<div class="kpi"><div class="label">Upstream errors</div><div class="value" id="kpi-upstream" style="color: var(--ok)">0</div></div>
<div class="kpi"><div class="label">Wall time</div><div class="value">~265<small>min</small></div></div>
</div>
<div class="row">
<div class="panel">
<h2>Outcome breakdown</h2>
<svg viewBox="0 0 220 140" width="100%" height="140">
<g transform="translate(70 70)">
<circle r="50" fill="none" stroke="#3fb950" stroke-width="14" />
<text text-anchor="middle" dy="-2" fill="#e6edf3" font-size="20" font-weight="600">108</text>
<text text-anchor="middle" dy="14" fill="#8b949e" font-size="10">of 108 OK</text>
</g>
<g font-size="11" fill="#e6edf3">
<g transform="translate(140 58)"><rect width="8" height="8" fill="#3fb950"/><text x="14" y="8">OK · 108</text></g>
<g transform="translate(140 78)"><rect width="8" height="8" fill="#2a313a"/><text x="14" y="8">Upstream · 0</text></g>
</g>
</svg>
</div>
<div class="panel">
<h2>Calls per tool</h2>
<svg viewBox="0 0 320 140" width="100%" height="140" font-size="11" fill="#e6edf3">
<!-- pi-search 42, pi-rank 34, pi-detail 32. Max 42 → x scale = 240/42 ≈ 5.71 -->
<g transform="translate(80 20)">
<text x="-10" y="9" text-anchor="end" fill="#8b949e">pi-search</text>
<rect x="0" y="0" width="240" height="14" fill="#2a313a" rx="2" />
<rect x="0" y="0" width="240" height="14" fill="#58a6ff" rx="2" />
<text x="248" y="11" fill="#e6edf3">42</text>
</g>
<g transform="translate(80 50)">
<text x="-10" y="9" text-anchor="end" fill="#8b949e">pi-rank</text>
<rect x="0" y="0" width="240" height="14" fill="#2a313a" rx="2" />
<rect x="0" y="0" width="194" height="14" fill="#58a6ff" rx="2" />
<text x="202" y="11" fill="#e6edf3">34</text>
</g>
<g transform="translate(80 80)">
<text x="-10" y="9" text-anchor="end" fill="#8b949e">pi-detail</text>
<rect x="0" y="0" width="240" height="14" fill="#2a313a" rx="2" />
<rect x="0" y="0" width="183" height="14" fill="#58a6ff" rx="2" />
<text x="191" y="11" fill="#e6edf3">32</text>
</g>
<text x="160" y="125" fill="#8b949e" text-anchor="middle">rotation: search → rank → detail, ~2.5 min avg cadence</text>
</svg>
</div>
</div>
<div class="panel">
<h2>Call log</h2>
<table>
<thead>
<tr>
<th>#</th><th>Tool</th><th>Probe</th><th>Result</th>
</tr>
</thead>
<tbody id="rows"></tbody>
</table>
</div>
<footer>
Last update: <span id="ts">2026-04-28 14:11 local</span> · Loop terminated cleanly at Q108.
</footer>
</div>
<script>
const rows = [
[1, "pi-search", "query=snack", "ok", "244"],
[2, "pi-rank", "wellness_warriors / emo_res", "ok", "1398"],
[3, "pi-detail", "walmart 10849748 (Smucker's Uncrustables)","ok", "image_url ok"],
[4, "pi-search", "brand=KIND", "ok", "2"],
[5, "pi-rank", "wellness_warriors / trust (sub-layer)", "ok", "MCP responded with semantic 4xx — infra OK"],
[6, "pi-detail", "B007PE7ANY amazon.com (KIND)", "ok", "image_url ok"],
[7, "pi-search", "price_tier=premium", "ok", "377"],
[8, "pi-rank", "gen_alpha_parents / emo_res", "ok", "1398"],
[9, "pi-search", "ingredient=protein", "ok", "231"],
[10, "pi-detail", "B00J074W7Q amazon.ca (Orgain, 6 sections)","ok", "image_url ok"],
[11, "pi-rank", "wellness_warriors / emo_res asc", "ok", "1398, fondo coherente"],
[12, "pi-search", "packaging_format=pouch", "ok", "233"],
[13, "pi-detail", "walmart 14122459 (Hot Pockets)", "ok", "image_url ok"],
[14, "pi-rank", "commuter_belt_couples / emo_res", "ok", "1398"],
[15, "pi-search", "claim=organic", "ok", "111"],
[16, "pi-detail", "B0CMJR4XGR (Seed, brand_signals + eval)", "ok", "deep payload ok"],
[17, "pi-search", "certification=kosher", "ok", "162"],
[18, "pi-rank", "wellness_warriors / emo_res limit=50", "ok", "131KB payload, persisted to .txt (normal)"],
[19, "pi-detail", "walmart 465060858 (Totino's)", "ok", "image_url ok"],
[20, "pi-search", "query=protein min_rating=4.5", "ok", "231"],
[21, "pi-rank", "asins subset (4 ASINs)", "ok", "5"],
[22, "pi-detail", "B0DHYJ8M5L (Bloom Creatine)", "ok", "image_url ok"],
[23, "pi-search", "packaging_format=tub", "ok", "315"],
[24, "pi-rank", "gen_alpha_parents / emo_res asc", "ok", "1398"],
[25, "pi-detail", "B09W363MVD amazon.com (Ritual Prenatal)", "ok", "image_url ok"],
[26, "pi-search", "primary_material=glass", "ok", "42"],
[27, "pi-rank", "commuter_belt_couples / emo_res asc", "ok", "1398, fondo coherente"],
[28, "pi-detail", "walmart 10805144 (Smucker's Strawberry)", "ok", "image_url ok"],
[29, "pi-search", "max_price=15", "ok", "440"],
[30, "pi-rank", "wellness_warriors / emo_res limit=20", "ok", "55KB, persisted to .txt (normal)"],
[31, "pi-search", "price_tier=value", "ok", "151"],
[32, "pi-detail", "B0CG6YBBNY amazon.ca (Beekeeper's)", "ok", "image_url ok"],
[33, "pi-rank", "gen_alpha_parents / emo_res limit=12", "ok", "1398"],
[34, "pi-search", "query=collagen", "ok", "217"],
[35, "pi-detail", "walmart 13812845 (El Monterey)", "ok", "image_url ok"],
[36, "pi-rank", "commuter_belt_couples / emo_res limit=15", "ok", "1398"],
[37, "pi-search", "packaging_format=jar", "ok", "50"],
[38, "pi-detail", "B019ZZB3O2 amazon.com (SugarBearHair)", "ok", "image_url ok"],
[39, "pi-search", "brand=Garden of Life", "ok", "15"],
[40, "pi-rank", "wellness_warriors / emo_res asc limit=15", "ok", "1398"],
[41, "pi-search", "query=vitamin", "ok", "510"],
[42, "pi-detail", "walmart 50912818 (Hot Pockets Meatballs)", "ok", "image_url ok"],
[43, "pi-rank", "gen_alpha_parents / emo_res limit=8", "ok", "1398"],
[44, "pi-search", "certification=non-gmo", "ok", "508"],
[45, "pi-detail", "walmart 105094432 (Hot Pockets Ham Cheddar)","ok", "image_url ok"],
[46, "pi-rank", "commuter_belt_couples / emo_res asc limit=12","ok","1398"],
[47, "pi-search", "ingredient=zinc", "ok", "281"],
[48, "pi-detail", "B07R8GD47V amazon.com (Goli ACV)", "ok", "image_url ok"],
[49, "pi-search", "query=immunity", "ok", "90"],
[50, "pi-rank", "wellness_warriors / emo_res limit=10", "ok", "1398"],
[51, "pi-search", "query=probiotic", "ok", "74"],
[52, "pi-detail", "walmart 15724136 (White Castle Sliders)", "ok", "image_url ok"],
[53, "pi-rank", "gen_alpha_parents / emo_res asc limit=8", "ok", "1398"],
[54, "pi-search", "packaging_format=bottle", "ok", "494"],
[55, "pi-detail", "B0DJB9VYF3 amazon.com (C4 Reese's)", "ok", "image_url ok"],
[56, "pi-rank", "commuter_belt_couples / emo_res limit=8", "ok", "1398"],
[57, "pi-search", "query=hydration", "ok", "121"],
[58, "pi-detail", "walmart 51259449 (Totino's Cheese)", "ok", "image_url ok"],
[59, "pi-search", "certification=usda", "ok", "120"],
[60, "pi-rank", "wellness_warriors / emo_res limit=8", "ok", "1398"],
[61, "pi-search", "query=elderberry", "ok", "51"],
[62, "pi-detail", "walmart 10813472 (Totino's Supreme Bag)", "ok", "image_url ok"],
[63, "pi-rank", "gen_alpha_parents / emo_res limit=5", "ok", "1398"],
[64, "pi-search", "ingredient=biotin", "ok", "210"],
[65, "pi-detail", "B00Y8MP4G6 amazon.com (GoL Probiotics)", "ok", "image_url ok"],
[66, "pi-rank", "commuter_belt_couples / emo_res asc limit=5","ok", "1398"],
[67, "pi-search", "query=creatine", "ok", "101"],
[68, "pi-detail", "walmart 21469768 (Totino's Combination)", "ok", "image_url ok"],
[69, "pi-search", "packaging_format=sachet", "ok", "9"],
[70, "pi-rank", "wellness_warriors / emo_res asc limit=5", "ok", "1398"],
[71, "pi-search", "query=omega", "ok", "35"],
[72, "pi-detail", "walmart 51259445 (Totino's Pepperoni 48ct)", "ok", "image_url ok"],
[73, "pi-rank", "gen_alpha_parents / emo_res limit=3", "ok", "1398"],
[74, "pi-search", "ingredient=probiotic", "ok", "49"],
[75, "pi-detail", "B0BG94RWYN amazon.com (Sea Moss)", "ok", "image_url ok"],
[76, "pi-rank", "commuter_belt_couples / emo_res limit=3", "ok", "1398"],
[77, "pi-search", "query=energy", "ok", "338"],
[78, "pi-detail", "walmart 41455313 (Totino's Triple Meat Bag)","ok", "image_url ok"],
[79, "pi-search", "certification=vegan", "ok", "361"],
[80, "pi-rank", "wellness_warriors / emo_res asc limit=3", "ok", "1398"],
[81, "pi-search", "brand=Optimum Nutrition", "ok", "17"],
[82, "pi-detail", "walmart 289977310 (Totino's Triple Meat Flavored)","ok","image_url ok"],
[83, "pi-rank", "gen_alpha_parents / emo_res asc limit=3", "ok", "1398"],
[84, "pi-search", "ingredient=ashwagandha", "ok", "25"],
[85, "pi-detail", "B071GSFY4F amazon.com (Ora Organic, 6 secs)","ok", "image_url ok"],
[86, "pi-rank", "commuter_belt_couples / emo_res asc limit=3","ok", "1398"],
[87, "pi-search", "query=prenatal", "ok", "36"],
[88, "pi-detail", "walmart 600152088 (Totino's Combination 48Ct)","ok","image_url ok"],
[89, "pi-search", "brand=Liquid I.V.", "ok", "10"],
[90, "pi-rank", "wellness_warriors / emo_res limit=3", "ok", "1398"],
[91, "pi-search", "query=multivitamin", "ok", "120"],
[92, "pi-detail", "B0DNN9WSZB amazon.com (Liquid I.V. Mandarin)","ok", "image_url ok"],
[93, "pi-rank", "gen_alpha_parents / emo_res limit=2", "ok", "1398"],
[94, "pi-search", "ingredient=bcaa", "ok", "112"],
[95, "pi-detail", "B07PXNNFGT amazon.com (Orgain Vegan, 5 secs)","ok", "image_url ok"],
[96, "pi-rank", "commuter_belt_couples / emo_res limit=2", "ok", "1398"],
[97, "pi-search", "query=postworkout", "ok", "2"],
[98, "pi-detail", "walmart 10290751 (Bar-S Corn Dogs)", "ok", "image_url ok"],
[99, "pi-search", "ingredient=vitamin d", "ok", "200"],
[100,"pi-rank", "wellness_warriors / emo_res limit=2", "ok", "1398"],
[101,"pi-search", "rotation probe (post-compaction)", "ok", "healthy"],
[102,"pi-rank", "rotation probe (post-compaction)", "ok", "healthy"],
[103,"pi-detail", "rotation probe (post-compaction)", "ok", "healthy"],
[104,"pi-search", "rotation probe (post-compaction)", "ok", "healthy"],
[105,"pi-rank", "rotation probe (post-compaction)", "ok", "healthy"],
[106,"pi-rank", "wellness_warriors / emo_res glass premium", "ok", "10/29 results, Seed B0CMJR4XGR top 8.74"],
[107,"pi-detail", "B0CMJR4XGR amazon.com (Seed DS-01)", "ok", "intelligence + persona_scores ok"],
[108,"pi-search", "brand=Seed amazon.com", "ok", "1 product (only Seed in catalog)"],
];
const tbody = document.getElementById("rows");
for (const [n, tool, probe, status, result] of rows) {
const tr = document.createElement("tr");
tr.innerHTML = `<td class="num">${n}</td><td class="tool">${tool}</td><td class="params">${probe}</td><td><span class="pill ${status}">${status === "ok" ? "ok" : status === "warn" ? "non-fatal" : "err"}</span> <span style="color:#8b949e;font-size:12px;margin-left:6px">${result}</span></td>`;
tbody.appendChild(tr);
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment