Skip to content

feat(webui): Wave 2 trust & ops — health, Turnstile, rate-limit UX - #13

Merged
oldrepublicwizard merged 1 commit into
mainfrom
feat/chat-ui-wave2
Jul 25, 2026
Merged

feat(webui): Wave 2 trust & ops — health, Turnstile, rate-limit UX#13
oldrepublicwizard merged 1 commit into
mainfrom
feat/chat-ui-wave2

Conversation

@oldrepublicwizard

Copy link
Copy Markdown
Contributor

Summary

  • Add live endpoint health probes in the Server panel (reachable / degraded / unreachable) with a Check endpoints control
  • Add a top-bar status strip showing proxy liveness and optional daily chat count from /v1/metrics
  • Add optional Cloudflare Turnstile verification at the Worker (fail-open when secrets unset) plus a client widget gate
  • Improve 429 rate-limit UX with Retry-After / JSON retry hints and a status-strip banner

Plan: docs/plans/2026-07-24-005-feat-chat-ui-wave2-trust-ops-plan.md (Wave B from chat UI brainstorm R9, R15–R16)

Test plan

  • cd webui && npm test (vitest)
  • cd edge && npm test (Turnstile + handler)
  • Playwright: health-panel.spec.ts, turnstile-gate.spec.ts
  • CI deploy-pages e2e (mocked suite includes new specs)
  • After merge: run Deploy Proxies so edge Turnstile + R7 routing headers reach production
  • Optional: set TURNSTILE_SECRET + TURNSTILE_SITE_KEY secrets for production bot gate

Harden the public demo with endpoint health checks, a proxy status strip,
optional Turnstile gating at the Worker, and actionable 429 retry guidance.
@oldrepublicwizard
oldrepublicwizard merged commit 10b6149 into main Jul 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant