refactor(javascript)!: remove obsolete scope truncation statistic

BREAKING CHANGE: remove the never-incremented truncated_scopes statistic from JavaScript application analysis results and schemas.
This commit is contained in:
morluto
2026-10-10 02:15:51 +08:00
parent b4a19193fe
commit 449d57075e
13 changed files with 7 additions and 38 deletions
@@ -132,8 +132,6 @@ const graphCoverage = (context: JavaScriptArtifactGraphContext) => {
sourceMapPolicyGap ||
malformedStructuredData ||
partialJavaScript;
if (context.analysis.truncated_scopes > 0)
return partialApplicationCoverage([], null);
if (resourceLimits.length > 0)
return partialApplicationCoverage(
semanticResourceLimitCoverage(resourceLimits),