Fundamental_Analysis/docs/3_project_management/tasks/completed
Lv, Qi 0c975bb8f1 Refactor: Remove legacy analysis results and implement workflow history
- **Common Contracts**: Updated DTOs and models to support workflow history; removed legacy analysis result DTOs.
- **Data Persistence Service**:
    - Removed `analysis_results` table logic and API endpoints.
    - Implemented `workflow_history` API and DB access (`history.rs`).
    - Fixed compilation errors and updated tests.
    - Exposed Postgres port in `docker-compose.yml` for easier debugging/offline checks.
- **API Gateway**:
    - Implemented `history` endpoints (get history list, get by ID).
    - Removed legacy `analysis-results` endpoints.
    - Fixed routing and handler logic in `api.rs`.
- **Report Generator Service**:
    - Removed dependency on legacy `analysis-results` persistence calls.
    - Fixed compilation errors.
- **Workflow Orchestrator**: Fixed warnings and minor logic issues.
- **Providers**: Updated provider services (alphavantage, tushare, finnhub, yfinance, mock) to align with contract changes.
- **Frontend**:
    - Updated `ReportPage` and stores to use new workflow history.
    - Added `RecentReportsDropdown` component.
    - Cleaned up `RealtimeLogs` component.
- **Documentation**: Moved completed design tasks to `completed/` and added refactoring context docs.

Confirmed all services pass `cargo check`.
2025-11-29 14:46:44 +08:00
..
20251109_[Active]_rust_data_service_design.md reorg docs 2025-11-17 00:58:43 +08:00
20251109_[Archived]_microservice_refactoring_plan.md reorg docs 2025-11-17 00:58:43 +08:00
20251109_[Archived]_tasks.md reorg docs 2025-11-17 00:58:43 +08:00
20251109_[Archived]_us_market_integration_tasks.md reorg docs 2025-11-17 00:58:43 +08:00
20251116_[Active]_refactor_llm_provider_architecture.md feat(config): 将服务配置全面迁移至数据库 2025-11-18 05:58:18 +08:00
20251116_[Archived]_rust_microservice_refactoring_plan.md reorg docs 2025-11-17 00:58:43 +08:00
20251117_[Active]_implement_analysis_orchestrator.md feat(analysis): Implement Configurable Analysis Template Engine 2025-11-18 07:47:08 +08:00
20251117_[Active]_refactor_configuration_management.md feat(config): 将服务配置全面迁移至数据库 2025-11-18 05:58:18 +08:00
20251118_[Active]_implement_alphavantage_test_button.md feat: update analysis workflow and fix LLM client connection issues 2025-11-19 17:30:52 +08:00
20251118_analysis_template_integration.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251118_analysis_workflow_optimization.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251119_frontend_refactoring.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251119_provider_cache_design.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251119_report_generation_optimization.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_architecture_refactor_orchestrator.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_architecture_session_isolation.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_dynamic_service_registration_proposal.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_frontend_refactor_plan.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_log_analysis_and_debugging.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_parallel_provider_status_ui.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_system_lifecycle_analysis.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_system_status_and_debugging_guide.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251120_testing_strategy.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251121_backend_api_readiness_report.md feat: finalize backend readiness (config, limits, docs) 2025-11-22 00:57:23 +08:00
20251121_phase4_e2e_plan.md Refactor E2E tests and improve error handling in Orchestrator 2025-11-21 20:44:32 +08:00
20251123_refactor_dynamic_provider_config.md WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
20251125_refactor_data_provider_abstraction.md WIP: Commit all pending changes across services, frontend, and docs 2025-11-27 02:45:56 +08:00
20251126_design_0_overview.md Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
20251126_design_1_vgcs.md Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
20251126_design_2_doc_os.md Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
20251126_design_3_worker_runtime.md Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00
20251126_design_4_orchestrator.md Refactor: Remove legacy analysis results and implement workflow history 2025-11-29 14:46:44 +08:00