You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin-ownership-import.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,6 +281,8 @@ If you already saved mapping profiles for the same files, pass them with `-Mappi
281
281
282
282
During a multi-source join, ShareSurfer now prints progress in phases: selected CSVs, source rows being processed, merged ownership rows, OBS context merge, AD lookup attempts, output files, and the final matched/source-only/ambiguous counts. Long AD-backed imports should continue to print a heartbeat instead of sitting silently after the header interview.
283
283
284
+
Large project, OBS, path, or group context files can legitimately create many `ownership_context.csv` and `ownership_relationships.csv` rows. Current optimized builds aggregate OBS-only context and apply it by OBS bucket instead of merging every context row into every matching identity as the file is read. If a large context import is crawling for hours, stop the older run and move to the optimized release before trying again.
285
+
284
286
If an older ShareSurfer run has been silent for a long time, it is safe to stop it with `Ctrl+C` and rerun with the saved `ownership-import.definition.json` or `ownership-enrichment-rerun.ps1`. The import reads CSVs and AD, then writes local output files; it does not modify AD, shares, or permissions.
Assert-Equal $summary.RowCount 5 'Strong identity rows should remain the output ownership rows.'
2768
+
Assert-Equal $summary.ObsContextStrongRowMergeCount 5 'OBS context should be applied once per matching strong row, not once per context row per strong row.'
2769
+
Assert-Equal $summary.ObsContextOrphanRowCount 0 'Matching OBS context should not create orphan ownership rows.'
2770
+
Assert-True (@($rows | Where-Object { $_.ProjectCode -eq 'AP-0001' }).Count -eq 5) 'Strong rows should still receive aggregated OBS context.'
2771
+
}
2772
+
},
2724
2773
@{
2725
2774
Name = 'Join-ShareSurferOwnershipSources reruns from ownership import definition'
0 commit comments