FIX CRITICAL: reload job dict after find_chorus update so reframe gets new start/duration values

This commit is contained in:
Sebastjan Artič 2026-04-28 17:33:11 +00:00
parent 15ef4888a1
commit d36893bf2d

View File

@ -179,6 +179,8 @@ def process_job(job_id):
start=best["start"],
duration=best["duration"],
)
# KLJUČNO: reload local job dict, da nove vrednosti pridejo v reframe call
job = load_job(job_id)
except json.JSONDecodeError:
update_job(job_id, chorus_error="JSON decode failed")
else: