feat: 대시보드 실행 통합 - CLI + 환경변수 (issue #97) #128

Merged
jihoson merged 1 commits from feature/issue-97-dashboard-integration into main 2026-02-15 00:01:57 +09:00
Collaborator

Summary

  • --dashboard CLI 플래그로 대시보드 백그라운드 스레드 실행
  • DASHBOARD_ENABLED / DASHBOARD_HOST / DASHBOARD_PORT 환경변수 설정
  • daemon 스레드로 메인 프로세스 종료 시 자동 정리
  • lazy import + 에러 처리로 트레이딩 루프 영향 없음
  • uvicorn>=0.29,<1 의존성 추가

Test plan

  • test_apply_dashboard_flag_enables_dashboard — CLI 플래그 오버라이드
  • test_start_dashboard_server_disabled_returns_none — 비활성화 시 None
  • test_start_dashboard_server_enabled_starts_thread — 활성화 시 스레드 시작
  • 538/538 전체 테스트 통과
  • ruff lint 클린

Closes #97

🤖 Generated with Claude Code

## Summary - `--dashboard` CLI 플래그로 대시보드 백그라운드 스레드 실행 - `DASHBOARD_ENABLED` / `DASHBOARD_HOST` / `DASHBOARD_PORT` 환경변수 설정 - daemon 스레드로 메인 프로세스 종료 시 자동 정리 - lazy import + 에러 처리로 트레이딩 루프 영향 없음 - `uvicorn>=0.29,<1` 의존성 추가 ## Test plan - [x] `test_apply_dashboard_flag_enables_dashboard` — CLI 플래그 오버라이드 - [x] `test_start_dashboard_server_disabled_returns_none` — 비활성화 시 None - [x] `test_start_dashboard_server_enabled_starts_thread` — 활성화 시 스레드 시작 - [x] 538/538 전체 테스트 통과 - [x] ruff lint 클린 Closes #97 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agentson added 1 commit 2026-02-15 00:01:46 +09:00
feat: dashboard background thread with CLI flag (issue #97)
Some checks failed
CI / test (pull_request) Has been cancelled
63fa6841a2
Add --dashboard CLI flag and DASHBOARD_ENABLED env var to start
FastAPI dashboard in a daemon thread alongside the trading loop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jihoson merged commit 7522bb7e66 into main 2026-02-15 00:01:57 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#128