Files
bakery-ia/services
Urtzi Alfaro b2de56ead3 Fix additional nested session deadlock in data_processor.py
Root Cause:
After fixing the training_service.py deadlock, training progressed to
data preparation but got stuck there. The data_processor.py creates
another nested session at line 143, updates training_log without
committing, causing another deadlock scenario.

Session Hierarchy:
1. training_service.py: outer session (fixed in e585e9f)
2. trainer.py: creates own session (passes deadlock due to commit)
3. data_processor.py: creates ANOTHER nested session (THIS FIX)

Fix:
Added explicit db_session.commit() after progress update in data_processor
(line 153) to ensure the UPDATE is committed before continuing with data
processing operations that may interact with other sessions.

This completes the chain of nested session fixes:
- caff497: prophet_manager + hybrid_trainer session passing
- e585e9f: training_service commit before trainer call
- THIS: data_processor commit after progress update

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 16:39:05 +01:00
..
2025-11-05 13:34:56 +01:00
2025-10-31 18:57:58 +01:00
2025-10-31 11:54:19 +01:00
2025-11-01 21:35:03 +01:00
2025-11-02 20:24:44 +01:00
2025-11-05 13:34:56 +01:00
2025-11-05 13:34:56 +01:00
2025-11-02 20:24:44 +01:00
2025-11-02 20:24:44 +01:00
2025-11-05 13:34:56 +01:00
2025-11-05 13:34:56 +01:00
2025-11-02 20:24:44 +01:00
2025-11-02 20:24:44 +01:00
2025-11-02 20:24:44 +01:00
2025-11-05 13:34:56 +01:00