fix(analysis): bind overview document identity to the active target (#1094)

* fix(analysis): bind overview document identity to the active target

* fix(analysis): refresh legacy overview snapshot results
This commit is contained in:
Ysopwnable
2026-10-09 00:57:28 +08:00
committed by GitHub
parent 4a1837d9d5
commit 81b5104276
10 changed files with 292 additions and 129 deletions
+2 -1
View File
@@ -455,7 +455,8 @@ const analysisProfileForRoute = (
): AnalysisProfileCommitment | undefined => {
const profile = route.profile;
if (profile === null || profile === undefined) return undefined;
if (isWorkflowEvidenceTool(tool)) return workflowAnalysisProfile(profile);
if (isWorkflowEvidenceTool(tool))
return workflowAnalysisProfile(profile, tool);
const provider = providerIdentityForRoute(route, tool);
return provider.id === profile.provider.id ? profile : undefined;
};