c5cd280739
UI-6: Save overrides diffs the working values against the stored rows (OverrideSaveDiff) and applies only the changed ones inside ONE ExecuteInstanceAsync transaction; any row failure throws inside it so nothing commits (no partial apply). InstanceService.SetAttributeOverrideAsync skips the write and the UpdateOverride audit row when the value is unchanged. ~260 overrides, one edited: 260 transactions / ~1,300 round trips / 260 audit rows -> 1 transaction / 1 SetAttributeOverride / 1 audit row. UI-12: ParkedMessages bulk retry/discard authorise once per action (role + site scope + site list) instead of per message (bunit: 5 messages -> 1 site read, was 5; each also saved two forced session revalidations). Deployments.LoadDataAsync resolves the scope once (new SiteScopeService.ResolveScopeAsync) instead of IsSystemWide + PermittedSiteIds (2 -> 1 revalidation per 500 ms reload). SecuredWrites loads connections with one GetAllDataConnectionsAsync instead of one query per site. Not changed: ConnectionHealthQueryService's per-tick site/connection reads. UI-13 (decided: split deadline): the script deadline is armed when the worker sends a new 'running' frame (RunInWorkerAsync's userCodeStarting hook, after compile + trust check + gate); admission, process start-up and compile are bounded by a separate StartupCeiling (30 s + the script budget) with its own message. Test QueuedAndColdStartTime_IsNotChargedToTheScriptBudget (TimeoutSeconds=1, queued ~2 s behind four busy workers + a cold worker start): before: 'Script execution exceeded the 1-second sandbox timeout' after: succeeds, returns 7.