US07-06: Validate Performance and Resource Bounds (#93)

This commit was merged in pull request #93.
This commit is contained in:
2026-08-17 21:52:02 +02:00
parent 9851e112a9
commit 05f34cdda2
14 changed files with 1341 additions and 121 deletions

View File

@@ -47,7 +47,9 @@ class WorkflowService:
active = self._active_job(session)
safety = SafetyService(self._session_factory).counts()
analysis = AnalysisService(self._session_factory).counts()
# Reuse the confirmed-SFW total just computed: resolving the current decision
# of every asset is the expensive part of this page (US07-06).
analysis = AnalysisService(self._session_factory).counts(eligible=safety[_SFW])
undecided_clusters = cluster_states.get("open", 0) + cluster_states.get("reopened", 0)
stages = [