mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 16:01:16 +00:00
3b9d2f3b07
Workers list now computes a health summary client-side from the existing queries and shows a yellow banner with a count when any worker needs attention (errored, offline, or mid-install). Filter chips below the banner narrow the table by problem category so the admin can drill in without opening each worker. Categories surfaced: - errored: install_state = "error" - offline: installed, but no heartbeat in 5+ minutes - in progress: pending / provisioning / uninstalling - stale config: profile.updated_at > worker.config_applied_at - update available: profile.resolved_image_tag != worker.image_version Live polling stays at 15s, so a worker going offline shows up within ~75s of the last missed heartbeat. The list also fetches profiles so the stale-config and update-available chips can compute without extra round-trips.
Warmbly Web App
React + TypeScript frontend for Warmbly.
Stack
- React 19
- Vite (Rolldown)
- TypeScript
- TanStack Query
- Zustand
- Tailwind CSS 4
Prerequisites
- Node.js 20+
- pnpm 10+
Setup
cd web
pnpm install
cp .env.example .env
Run
pnpm dev
Default dev URL: http://localhost:5173
Quality Checks
pnpm lint
pnpm test:run
pnpm build
Project Layout
src/approute pages and layoutssrc/componentsUI and feature componentssrc/lib/apiAPI clients, hooks, and modelssrc/storesZustand store slices