fix(seed): repair qa seed so main compiles (actual_end_date + AuditCtx) (PMS-379) #288
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/qa-seed-build-actual-end-date-audit-ctx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
main has not compiled since the PMS-361 (actual_end_date on CreateProjectRequest) and the audit-sweep merges (trailing
ctx: &AuditCtxon create_project/phase/task/task_status + time_tracking create_work_type/create_time_entry). The QA seed (src/modules/seed/qa.rs) was never updated, socargo check --all-targetsfailed with 8 errors (E0063 x2 + E0061 x6), which is why check.yml has been red (PMS-379, run #1755 ond6d16df1).Fix: thread the existing
AuditCtx::system(...)through the seed call sites, add one for the two helper fns viatenant.get(), and setactual_end_date: Noneon both project specs. No behaviour change.Verified in-container (
just pre-commit): fmt + clippy -D warnings + check --all-targets + unit tests + doc tests all green.Fixes PMS-379.