What if

Example MR comment: Sign-out trigger AUTO_CROSS_PROJECT (23 Sep)

A real past change, replayed: the comment the developer would have seen on the merge request that carried it, had the guard existed.

  • Source: site-management-services 20260921031123-alter-attendance-add-cross-project-sign-out.js, auprod merge 998f1423
  • What happened: Real migration only (the release also had the auto sign-out code). The new trigger means the system now signs a worker out automatically when they sign in at another project, so datetime_out gets filled where it used to stay empty or be set later. Hours worked are computed from datetime_out - datetime_in.
  • Verdict: Affected: Affected 3, Safe 47. Expected labels: eval/cases/r02_2026-09-23_sign_out_enum.json.
  • Rerun: uv run mr-check --case r02

Report impact check: Affected. This MR changes data that 3 certified Superset dashboards show. The reports keep working, but their numbers or labels can change.

Why: 20260921031123-alter-attendance-add-cross-project-sign-out.js: new sign_out_trigger value in site_management_services.public.attendances (new value 'AUTO_CROSS_PROJECT'): a sign out can now happen in a new situation, so datetime_out is filled or changed where it wasn't before; reports that use it (e.g. hours worked) can change.

DashboardVerdictCharts it touches
Site AttendanceAffectedTotal Man Hours (Today), Total Man Hours (Today) by Projects
Site Diary (Inductions)AffectedDaily Total Hours Worked by Project, Total Hours Worked
Lost Time InjuriesAffectedLTIFR & TRIFR (12-month rolling frequency rates), LTIFR by Year, Lost Time Injuries Report
How the change reaches each dashboard
  • Site Attendance (Affected, medium confidence): site_management_services.public.attendances → dataset "DATASET_Total Man Hours" → 2 charts: Total Man Hours (Today), Total Man Hours (Today) by Projects
  • Site Diary (Inductions) (Affected, medium confidence): site_management_services.public.attendances → dataset "Site_Diary_hours_worked" → 2 charts: Daily Total Hours Worked by Project, Total Hours Worked
  • Lost Time Injuries (Affected, medium confidence): site_management_services.public.attendances → dataset "DATASET_LTI 3" → 3 charts: LTIFR & TRIFR (12-month rolling frequency rates), LTIFR by Year, Lost Time Injuries Report

Suggested fix (a draft to discuss; nothing is changed automatically):

  1. Please reply with exactly when the new value fills datetime_out, so the owners of these charts can be told from which date their numbers change: Daily Total Hours Worked by Project, LTIFR & TRIFR (12-month rolling frequency rates), LTIFR by Year, Lost Time Injuries Report, Total Hours Worked, Total Man Hours (Today), Total Man Hours (Today) by Projects.

Checked against the 50 published and certified Superset dashboards (map built 2026-11-17) by the Report Impact Checker AI Tool (read-only). Questions: Lucas (BI).