mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-27 08:00:17 +00:00
fix(routines): set run.job_id in-memory and revert Cargo.lock drift
Address PR #1470 review feedback: - Set run.job_id = Some(job_id) after link_routine_run_to_job succeeds so send_notification reads the correct value instead of always None. - Revert Cargo.lock to staging baseline: the PR had accumulated unrelated dependency changes (openssl, native-tls, crossterm 0.28.1 downgrade, foreign-types, vcpkg) from a dirty lockfile resolution. [skip-regression-check] Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
@@ -1317,6 +1317,9 @@ async fn execute_full_job(
|
||||
reason: format!("failed to link run to job: {e}"),
|
||||
})?;
|
||||
|
||||
// Keep the in-memory struct in sync so send_notification can read run.job_id.
|
||||
run.job_id = Some(job_id);
|
||||
|
||||
tracing::info!(
|
||||
routine = %routine.name,
|
||||
job_id = %job_id,
|
||||
|
||||
Reference in New Issue
Block a user