mirror of
https://github.com/morluto/rea.git
synced 2026-11-12 01:41:21 +00:00
fix(javascript): bound semantic unknown retention at projection
Admit unknowns before canonical construction and provenance interning. Offer independent per-file and application capacities through CLI, Evidence and the owned analysis worker, and reject over-allocation during streamed decoding. Report examined omitted emission occurrences by family and reason without retaining discarded identities. Preserve omission-free graph identities and distinguish node truncation from overall partial coverage. Fixes #4797
This commit is contained in:
1 parent
926e18b3fc
commit
f4322b15ed
34 files changed
+892
-293
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import type { JavaScriptSemanticProjectionCapacity } from "./javascriptSemanticFileProjection.js";
|
||||
import type { AnalysisError } from "../analysisErrorBase.js";
|
||||
import type { AnalysisResourceConstraintError } from "../analysisErrorCore.js";
|
||||
import type { Result } from "../result.js";
|
||||
@@ -33,7 +34,7 @@ export interface JavaScriptSourceAnalysisLimits {
|
||||
export interface JavaScriptSourceAnalysisPort {
|
||||
analyze(
|
||||
file: JavaScriptArtifactFile,
|
||||
nodeBudget: number,
|
||||
capacity: JavaScriptSemanticProjectionCapacity,
|
||||
signal?: AbortSignal,
|
||||
): Promise<Result<JavaScriptAnalyzedSource, JavaScriptSourceAnalysisFailure>>;
|
||||
close(): Promise<void>;
|
||||
|
||||
Reference in new issue
Block a user