Fix JSON re-export StackOverflow and dedupe enricher canonicalization.

Scope project-root discovery to the nearest module, skip call-chain refresh when source lacks machine classes, harden ConstantResolver cycle detection, and remove redundant trigger canonicalization passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-12 15:39:48 +02:00
parent 58d0701df5
commit 873e2c91f3
10 changed files with 107 additions and 186 deletions

View File

@@ -77,6 +77,7 @@ class DispatcherExternalFalseMatchedTransitionsRegressionTest {
.metadata(CodebaseMetadata.builder().callChains(List.of(chain)).build())
.build();
new TriggerCanonicalizationEnricher().enrich(result, null, null);
enricher.enrich(result, null, null);
assertThat(result.getMetadata().getCallChains().get(0).getMatchedTransitions())