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:
Zaki
2026-03-28 19:16:03 +00:00
committed by Claude
co-authored by Claude Opus 4.6
parent 7881998d93
commit ce193ff2d2
+3
View File
@@ -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,