Files
ScadaBridge/tests
Joseph Doherty 2e194f4eac fix(centralui): run long/concurrent page actions in their own DI scope (UI-2, UI-3, UI-8, WP5 task 5.2)
- Deployments: every LoadDataAsync flight reads through its own scope, so
  overlapping flights (push reload, debounce, page/tile click) no longer
  collide on the circuit DbContext; the generation guard still orders results.
- Sites: Deploy Artifacts (per site and to all sites) resolves
  ArtifactDeploymentService from a fresh scope, so the post-fan-out record,
  audit rows and revision stamp neither share the circuit context nor die
  with the circuit.
- Topology: Diff and Enable/Disable/Delete resolve DeploymentService from
  their own scope (like Deploy/Deploy all), so they cannot overlap the 15 s
  live tick; drops the unused AreaService/InstanceService injections.
- New ScopedServiceExtensions.InNewScopeAsync helper.

Tests: DeploymentsPerFlightScopeTests, SitesPageTests
DeployToAllSites_RunsInItsOwnScope_DisposedAfterTheAction, TopologyPageTests
UI8_InstanceActions_RunOnTheirOwnScope (all fail on the pre-fix pages).
2026-12-03 09:47:43 -05:00
..