Claude
ec93004502
Fix orchestration saga failure due to schema mismatch and missing pandas
...
Root Causes Fixed:
1. BatchForecastResponse schema mismatch in forecasting service
- Changed 'batch_id' to 'id' (required field name)
- Changed 'products_processed' to 'total_products'
- Changed 'success' to 'status' with "completed" value
- Changed 'message' to 'error_message'
- Added all required fields: batch_name, completed_products, failed_products,
requested_at, completed_at, processing_time_ms, forecasts
- This was causing "11 validation errors for BatchForecastResponse"
which made the forecast service return None, triggering saga failure
2. Missing pandas dependency in orchestrator service
- Added pandas==2.2.2 and numpy==1.26.4 to requirements.txt
- Fixes "No module named 'pandas'" warning when loading AI enhancement
These issues prevented the orchestrator from completing Step 3 (generate_forecasts)
in the daily workflow, causing the entire saga to fail and compensate.
2025-11-05 14:19:28 +00:00
Urtzi Alfaro
394ad3aea4
Improve AI logic
2025-11-05 13:34:56 +01:00
Urtzi Alfaro
5adb0e39c0
Improve the frontend 5
2025-11-02 20:24:44 +01:00
Urtzi Alfaro
0220da1725
Improve the frontend 4
2025-11-01 21:35:03 +01:00
Urtzi Alfaro
269d3b5032
Add user delete process
2025-10-31 11:54:19 +01:00
Urtzi Alfaro
36217a2729
Improve the frontend 2
2025-10-29 06:58:05 +01:00
Urtzi Alfaro
61376b7a9f
Improve the frontend and fix TODOs
2025-10-24 13:05:04 +02:00
Urtzi Alfaro
07c33fa578
Improve the frontend and repository layer
2025-10-23 07:44:54 +02:00
Urtzi Alfaro
312e36c893
Update requirements and insfra versions
2025-10-17 23:09:40 +02:00
Urtzi Alfaro
d4060962e4
Improve demo seed
2025-10-17 07:31:14 +02:00
Urtzi Alfaro
dbb48d8e2c
Improve the sales import
2025-10-15 21:09:42 +02:00
Urtzi Alfaro
8f9e9a7edc
Add role-based filtering and imporve code
2025-10-15 16:12:49 +02:00
Urtzi Alfaro
7556a00db7
Improve the demo feature of the project
2025-10-12 18:47:33 +02:00
Urtzi Alfaro
dbc7f2fa0d
Re-create migrations init tables
2025-10-09 20:47:31 +02:00
Urtzi Alfaro
b420af32c5
REFACTOR production scheduler
2025-10-09 18:01:24 +02:00
Urtzi Alfaro
3c689b4f98
REFACTOR external service and improve websocket training
2025-10-09 14:11:02 +02:00
Urtzi Alfaro
7c72f83c51
REFACTOR ALL APIs fix 1
2025-10-07 07:15:07 +02:00
Urtzi Alfaro
38fb98bc27
REFACTOR ALL APIs
2025-10-06 15:27:01 +02:00
Urtzi Alfaro
dc8221bd2f
Add DEMO feature to the project
2025-10-03 14:09:34 +02:00
Urtzi Alfaro
0fdc3b0211
Fix issues
2025-10-01 16:25:53 +02:00
Urtzi Alfaro
2eeebfc1e0
Fix Alembic issue
2025-10-01 11:24:06 +02:00
Urtzi Alfaro
7cc4b957a5
Fix DB issue 2s
2025-09-30 21:58:10 +02:00
Urtzi Alfaro
147893015e
Fix DB issues
2025-09-30 13:32:51 +02:00
Urtzi Alfaro
ec6bcb4c7d
Add migration services
2025-09-30 08:12:45 +02:00
Urtzi Alfaro
2712a60a2a
Refactor services alembic
2025-09-29 19:16:34 +02:00
Urtzi Alfaro
befcc126b0
Refactor all main.py
2025-09-29 13:13:12 +02:00
Urtzi Alfaro
57f77638cc
Add base kubernetes support final fix 2
2025-09-28 19:48:05 +02:00
Urtzi Alfaro
63a3f9c77a
Add base kubernetes support
2025-09-27 11:18:13 +02:00
Urtzi Alfaro
38d314e28d
Imporve the predicciones page
2025-09-20 22:11:05 +02:00
Urtzi Alfaro
23e088dcb4
Add frontend procurement implementation 2
2025-09-09 17:40:57 +02:00
Urtzi Alfaro
0faaa25e58
Start integrating the onboarding flow with backend 3
2025-09-04 23:19:53 +02:00
Urtzi Alfaro
5178681fac
Fix issues
2025-08-23 19:57:24 +02:00
Urtzi Alfaro
a214617815
Add new alert architecture to forecasting
2025-08-23 15:48:32 +02:00
Urtzi Alfaro
4b4268d640
Add new alert architecture
2025-08-23 10:19:58 +02:00
Urtzi Alfaro
90100a66c6
Delete legacy alerts
2025-08-22 15:31:52 +02:00
Urtzi Alfaro
055ce10c66
Fix new services implementation 8
2025-08-15 23:11:53 +02:00
Urtzi Alfaro
f7de9115d1
Fix new services implementation 5
2025-08-15 17:53:59 +02:00
Urtzi Alfaro
03737430ee
Fix new services implementation 3
2025-08-14 16:47:34 +02:00
Urtzi Alfaro
fbe7470ad9
REFACTOR data service
2025-08-12 18:17:30 +02:00
Urtzi Alfaro
8d125ab0d5
Refactor the traffic fetching system
2025-08-10 18:32:47 +02:00
Urtzi Alfaro
62ca49d4b8
Improve the design of the frontend
2025-08-08 19:21:23 +02:00
Urtzi Alfaro
488bb3ef93
REFACTOR - Database logic
2025-08-08 09:08:41 +02:00
Urtzi Alfaro
3681429e11
Improve user delete flow
2025-08-02 17:09:53 +02:00
Urtzi Alfaro
277e8bec73
Add user role
2025-08-02 09:41:50 +02:00
Urtzi Alfaro
5e3fbc5493
Start fixing forecast service 22
2025-07-30 09:35:01 +02:00
Urtzi Alfaro
19d73f6227
Start fixing forecast service 21
2025-07-30 09:31:42 +02:00
Urtzi Alfaro
e200e03b1c
Start fixing forecast service 20
2025-07-30 09:15:14 +02:00
Urtzi Alfaro
326638b52d
Start fixing forecast service 19
2025-07-30 09:00:17 +02:00
Urtzi Alfaro
024290e4c0
Start fixing forecast service 18
2025-07-30 08:41:47 +02:00
Urtzi Alfaro
c10a745695
Start fixing forecast service 17
2025-07-30 08:29:40 +02:00