From b6882f2dc6856bedec6f73336c3f6abff6d88b85 Mon Sep 17 00:00:00 2001 From: fylorn <249551762+fylorn@users.noreply.github.com> Date: Tue, 20 Oct 2026 21:13:06 +0800 Subject: [PATCH] Core page: the 429 hop is a pause, not a failure Since core 0.79.0 an upstream that answers 429 is paused and the request moves on or waits; it no longer counts as a failure. The failover tile and the terminal log show it as paused, faded instead of struck through. Co-Authored-By: Claude Opus 5.5 --- src/components/pages/CorePage.astro | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/pages/CorePage.astro b/src/components/pages/CorePage.astro index 256dfb0..05c0aba 100644 --- a/src/components/pages/CorePage.astro +++ b/src/components/pages/CorePage.astro @@ -56,7 +56,7 @@ const sourceCommands = [ const serveLog = [ 'ready gateway 127.0.0.1:8788 · control socket', 'POST /v1/messages claude-code → anthropic 200 1.2 s', - 'POST /v1/responses codex → chatgpt 429 → relay 200', + 'POST /v1/responses codex → chatgpt 429 paused 30s → relay 200', ]; const eyebrow = "font-mono text-[11px] uppercase tracking-[0.08em] text-[var(--color-muted)] sm:text-[13px]"; const label = "m-0 font-mono text-[13px] uppercase tracking-[0.08em] text-[var(--color-muted)]"; @@ -130,7 +130,7 @@ const fileLink = "break-all text-[var(--color-brand-1)] transition-colors hover:

{c.does.items[1].title}

@@ -479,10 +479,11 @@ const fileLink = "break-all text-[var(--color-brand-1)] transition-colors hover: margin-left: auto; font-style: normal; } - .hops .fail { - animation: hop-fail 5s ease-in-out infinite; + /* 返回 429 的上游是暂停,不是失败:变淡,不划掉 */ + .hops .held { + animation: hop-held 5s ease-in-out infinite; } - .hops .fail em { + .hops .held em { color: var(--color-accent); } .hops .ok { @@ -491,15 +492,14 @@ const fileLink = "break-all text-[var(--color-brand-1)] transition-colors hover: .hops .ok em { color: #6ee7a8; } - @keyframes hop-fail { + @keyframes hop-held { 0%, 20% { opacity: 1; } 30%, 100% { - opacity: 0.45; - text-decoration: line-through; + opacity: 0.55; } } @keyframes hop-ok { @@ -659,7 +659,7 @@ const fileLink = "break-all text-[var(--color-brand-1)] transition-colors hover: } @media (prefers-reduced-motion: reduce) { .rule, - .hops .fail, + .hops .held, .hops .ok, .swap .from, .swap .to,