Skip to content

feat: scheduled evaluations + network resilience (Wave 2)#51

Merged
yamyr merged 2 commits into
mainfrom
feat/mvp-wave2-schedule-network
Apr 1, 2026
Merged

feat: scheduled evaluations + network resilience (Wave 2)#51
yamyr merged 2 commits into
mainfrom
feat/mvp-wave2-schedule-network

Conversation

@yamyr
Copy link
Copy Markdown
Owner

@yamyr yamyr commented Apr 1, 2026

Summary — Wave 2 of MVP Completeness

1. Scheduled Evaluations

Backend:

  • EvalSchedule model with interval-based scheduling (5min to 7 days)
  • New scheduler.py module with async background loop (checks every 60s)
  • CRUD endpoints: GET/POST/DELETE schedules, PATCH toggle enable/disable
  • JSON persistence under results_dir/schedules/
  • Scheduler starts in app lifespan, loads persisted schedules on startup

Frontend:

  • SchedulePanel component with create form + schedule list
  • Interval presets (30min, 1h, 6h, 12h, 24h, 7d)
  • Toggle switch, delete button per schedule
  • Shows last run time, run count, provider count

2. Network Resilience

  • NetworkStatus banner appears when API is unreachable
  • React Query retry config: 3 attempts with exponential backoff (max 10s)
  • Auto-dismisses when connection restored

Test plan

  • 114 Python tests pass
  • ruff check + format clean
  • TypeScript compiles clean
  • Vite build succeeds

🤖 Generated with Claude Code

Ajentik Myr and others added 2 commits April 2, 2026 07:46
Scheduled evaluations:
- Backend: EvalSchedule model, scheduler.py with async background loop,
  CRUD endpoints (GET/POST/DELETE/PATCH toggle), JSON persistence
- Frontend: SchedulePanel with create form (name, dataset, interval,
  providers), schedule list with toggle/delete, added to Dashboard

Network resilience:
- NetworkStatus banner component shows when API unreachable
- React Query retry config: 3 attempts with exponential backoff
- Added to App.tsx inside ErrorBoundary

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 tests for create, toggle, delete, persistence, and edge cases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yamyr yamyr merged commit 80bbccb into main Apr 1, 2026
17 checks passed
@yamyr yamyr deleted the feat/mvp-wave2-schedule-network branch April 1, 2026 23:49
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