refactor(views): share bounded parent and report limitations (#14902)

This commit is contained in:
Vincent Koc authored and GitHub committed 2026-11-27 10:55:54 -05:00
1 parent 670e70587a
commit 2874a6e21f
42 files changed
+102 -234

No files matched your search

+2 -6
View File
@@ -13,7 +13,7 @@ import {
import { invalidAnalysisView } from "./analysisViewErrors.js";
import { createAnalysisViewResultReader } from "./analysisViewParent.js";
import {
boundedViewMessages,
boundedViewLimitations,
completeWithinViewCoverage,
pageViewCoverage,
} from "./analysisViewCoverage.js";
@@ -79,11 +79,7 @@ export const projectPythonPycView = (
path: identity.artifact.path,
sha256: identity.artifact.sha256,
},
limitations: boundedViewMessages(
[...parent.limitations, ...limitations],
parent.evidenceId,
"limitations",
),
limitations: boundedViewLimitations(parent, limitations),
unknowns: [],
};
if (view.kind === "summary")