Topology page: right-click "Deploy all" on a site/area node (that layer and below) #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Request
On the Central UI Topology page, add a context-menu (right-click) action Deploy all on a site or area node. It deploys every instance in that node and its descendants: sub-areas recursively, plus instances directly in the node.
Example (QA): right-click
Aisle001→ Deploy all → deploys every instance under Aisle001.Considerations
DeploymentService.DeploySiteAsync) and keep its semantics:SkippedInstances.This likely needs an area-scoped variant (or an instance-id filter) on that path.
deploy site --force.deploy area --id <areaId> [--force].Implemented on main (b9751473..e029dc1c, local — not yet pushed). Right-click a site or area on Topology → "Deploy all…" → dialog with in-scope / disabled counts and a Force checkbox → summary toast (deployed / skipped / failed). Backend: DeploymentService.DeployAreaAsync runs the same DeploySiteAsync core narrowed to the area + all descendant areas (Disabled always skipped, up-to-date skipped unless forced, bounded-parallel send, not all-or-nothing, SkippedInstances in the summary). MgmtDeployArea is Deployer-only and authorised by the area's owning site; CLI: scadabridge deploy area --id [--force] (exit 1 on any failure). Instances with no area are only reachable via a site deploy. Live-gated on the docker rig: a parent-area deploy picked up the child area's instance, a second run skipped it as up-to-date, --force redeployed it, an unknown id exits 1; Playwright DeployAll_OnArea_ShowsSummaryToast passes. Not deployed to QA/prod.