Skip to content

Ando - #4

Merged
HsGalaxy merged 32 commits into
mainfrom
Ando
Jun 15, 2026
Merged

HsGalaxy merged 32 commits into
mainfrom
Ando

Conversation

@HsGalaxy

Copy link
Copy Markdown
Owner

No description provided.

HsGalaxy and others added 30 commits June 12, 2026 08:03
Cargo.lock is now tracked so CI builds are reproducible.
tmp/ holds local bench/mock scripts and is excluded from repo.

Co-Authored-By: Claude <noreply@anthropic.com>
- rust.yml: add Cargo.lock, adjust caching strategy
- rust_release.yml: refine build matrix and release steps

Co-Authored-By: Claude <noreply@anthropic.com>
Use EnvFilter::try_from_default_env so the process doesn't panic
when RUST_LOG is unset or malformed; falls back to info level.

Co-Authored-By: Claude <noreply@anthropic.com>
…uard

- adjust_balance() uses compare_exchange for concurrent-safe balance updates
- returns AdjustResult enum: Ok / Missing / NegativeBalance
- enforces non-negative balance invariant

Co-Authored-By: Claude <noreply@anthropic.com>
- select_for_model_excluding(): pick next key while excluding a specific one (for retries)
- select_key(): respects max_concurrent_per_key, skips keys at capacity

Co-Authored-By: Claude <noreply@anthropic.com>
Remove Content-Length and Content-Encoding headers from proxied
streaming responses to avoid client parsing errors.

Co-Authored-By: Claude <noreply@anthropic.com>
- RequestGuard tracks inflight count and latency per request
- 429 cooldown: keys enter cooldown on rate-limit, auto-release via timer
- queue rejection: returns structured error when queue is full
- access logging: structured emit() with status, latency, model, key info
- CORS: preflight handling and response header injection

Co-Authored-By: Claude <noreply@anthropic.com>
- serve /admin/* as SPA: index.html for unknown sub-paths
- queue_notify: wake blocked waiters when config changes
- refresh_models_by_id: fetch and update models for a specific upstream

Co-Authored-By: Claude <noreply@anthropic.com>
CSS:
- single accent color, hairline borders, minimal depth
- refined dark-mode palette, tabular numerals
- removes all gradient bars/buttons and heavy shadows

HTML:
- inline SVG icons per nav item (lucide-style, semantic)
- flat SVG nodes logo mark
- KPI card grid container #statsGrid
- collapsible raw JSON (details/summary)

JS:
- renderStats(): KPI metric cards from live snapshot
- response distribution bar (2xx/3xx/4xx/5xx)
- connection status live-dot indicator
- status columns: pill badges (ok/bad/warn)
- chart: area-fill accent, red failure line, grid aligned
- scroll-spy: IntersectionObserver highlights active nav
- skeleton loading state for KPI cards
- sun/moon theme toggle icon
- prefers-reduced-motion support

All 78 DOM id references verified present. No functional regressions.

Co-Authored-By: Claude <noreply@anthropic.com>
@HsGalaxy
HsGalaxy merged commit f9d2690 into main Jun 15, 2026
5 of 6 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