Merge branch 'review/wp6' into review/integration

# Conflicts:
#	docs/requirements/Component-StoreAndForward.md
#	src/ZB.MOM.WW.ScadaBridge.ConfigurationDatabase/Repositories/DeploymentManagerRepository.cs
#	src/ZB.MOM.WW.ScadaBridge.StoreAndForward/StoreAndForwardStorage.cs
#	src/ZB.MOM.WW.ScadaBridge.Transport/Import/BundleImporter.cs
#	tests/ZB.MOM.WW.ScadaBridge.StoreAndForward.Tests/StoreAndForwardStorageTests.cs
This commit is contained in:
Joseph Doherty
2026-12-03 11:03:44 -05:00
84 changed files with 4722 additions and 233 deletions
@@ -181,6 +181,14 @@ site-wide push would silently restart every piece of equipment an operator had
deliberately stopped; they are reported in the summary's `SkippedInstances` with
the reason "Disabled — bulk deploy preserves disabled state; deploy individually
to re-enable", and the single-instance deploy remains the explicit re-enable path.
The skip is re-checked once each instance's operation lock is held (DEP-6, 2026-12-03):
the candidate list is read once when the batch starts, so an instance an operator
disables while the batch is still preparing earlier instances is caught by a fresh,
untracked state read (`IDeploymentManagerRepository.GetInstanceStateAsync`) and reported
as skipped with the same reason, instead of being deployed and re-enabled. A failed
staging write detaches its pending changes so it cannot poison the staging writes of
the instances after it on the shared unit of work (DEP-5), and the supersede of a prior
`PendingDeployment` row is a set-based delete rather than tracked key stubs.
**Up-to-date instances are skipped too (unless `force`), at batch cost.** The
pre-filter reads the deployed-hash projection (`GetDeployedRevisionHashesAsync`) and