fix(checks): de-duplicate 051 migration prefix and thread AuditCtx through QA seed #286

Closed
David wants to merge 0 commits from chore/checks-workflow-5799c342 into main
Owner

The parallel merges that landed on main collided in two mechanical ways that the check.yml gate caught: three migrations all claimed prefix 051 (sqlx keys its ledger on the prefix, so the applied version was ambiguous), and the operator QA seed (src/modules/seed/qa.rs) had not been updated for the new AuditCtx parameter added to several project/time-tracking service methods nor for the new CreateProjectRequest.actual_end_date field, so the lib failed to compile.

Renumber the two later-added migrations to 052 (mileage_entries) and 053 (tax_rate_widen_column) in creation-time order, leaving 051 for payments_amount_positive, and update the doc comment in mileage_tracking/mod.rs that cited the old filename. Pass the existing system AuditCtx into create_project / create_project_phase / create_task / create_time_entry, construct a local system ctx for the create_work_type / create_task_status helpers, and set actual_end_date: None on both seeded (non-completed) QA projects.

#PMS-375

The parallel merges that landed on main collided in two mechanical ways that the check.yml gate caught: three migrations all claimed prefix 051 (sqlx keys its ledger on the prefix, so the applied version was ambiguous), and the operator QA seed (src/modules/seed/qa.rs) had not been updated for the new AuditCtx parameter added to several project/time-tracking service methods nor for the new CreateProjectRequest.actual_end_date field, so the lib failed to compile. Renumber the two later-added migrations to 052 (mileage_entries) and 053 (tax_rate_widen_column) in creation-time order, leaving 051 for payments_amount_positive, and update the doc comment in mileage_tracking/mod.rs that cited the old filename. Pass the existing system AuditCtx into create_project / create_project_phase / create_task / create_time_entry, construct a local system ctx for the create_work_type / create_task_status helpers, and set actual_end_date: None on both seeded (non-completed) QA projects. #PMS-375
fix(checks): de-duplicate 051 migration prefix and thread AuditCtx through QA seed
All checks were successful
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 2m52s
E2E / Playwright against staging (pull_request) Successful in 1m42s
Integration / integration tests (pull_request) Successful in 7m58s
Create release / Create release from merged PR (pull_request) Has been skipped
47451a9b77
The parallel merges that landed on main collided in two mechanical ways that the check.yml gate caught: three migrations all claimed prefix 051 (sqlx keys its ledger on the prefix, so the applied version was ambiguous), and the operator QA seed (src/modules/seed/qa.rs) had not been updated for the new AuditCtx parameter added to several project/time-tracking service methods nor for the new CreateProjectRequest.actual_end_date field, so the lib failed to compile.

Renumber the two later-added migrations to 052 (mileage_entries) and 053 (tax_rate_widen_column) in creation-time order, leaving 051 for payments_amount_positive, and update the doc comment in mileage_tracking/mod.rs that cited the old filename. Pass the existing system AuditCtx into create_project / create_project_phase / create_task / create_time_entry, construct a local system ctx for the create_work_type / create_task_status helpers, and set actual_end_date: None on both seeded (non-completed) QA projects.

#PMS-375
Owner

Superseded: the qa-seed compile fix + 051 migration-prefix de-duplication landed on main via #288 (kept 051_mileage_entries at 051, renumbered the two never-deployed migrations). Closing this duplicate.

Superseded: the qa-seed compile fix + 051 migration-prefix de-duplication landed on main via #288 (kept 051_mileage_entries at 051, renumbered the two never-deployed migrations). Closing this duplicate.
vas2000-work closed this pull request 2026-06-17 02:13:58 +02:00
David deleted branch chore/checks-workflow-5799c342 2026-06-17 12:24:42 +02:00
All checks were successful
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 2m52s
Required
Details
E2E / Playwright against staging (pull_request) Successful in 1m42s
Required
Details
Integration / integration tests (pull_request) Successful in 7m58s
Create release / Create release from merged PR (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!286
No description provided.