diff --git a/gitnexus/test/integration/resolvers/helpers.ts b/gitnexus/test/integration/resolvers/helpers.ts index e92526b19..2fe9de251 100644 --- a/gitnexus/test/integration/resolvers/helpers.ts +++ b/gitnexus/test/integration/resolvers/helpers.ts @@ -9,6 +9,13 @@ import type { PipelineResult } from '../../../src/types/pipeline.js'; import type { GraphRelationship } from 'gitnexus-shared'; const LEGACY_RESOLVER_PARITY_EXPECTED_FAILURES: Readonly>> = { + c: new Set([ + // The legacy DAG path does not resolve the main → create_service call + // because the function prototype in the .h file and the definition in + // the .c file create a dedup ambiguity. The registry-primary path + // resolves it via scope-based wildcard import binding. + 'emits CALLS edges for cross-file function calls', + ]), csharp: new Set([ 'emits the using-import edge App/Program.cs -> Models/User.cs through the scope-resolution path', // Generic type-argument USES edges are emitted by the registry-primary diff --git a/gitnexus/test/unit/registry-primary-flag.test.ts b/gitnexus/test/unit/registry-primary-flag.test.ts index 5f688c732..9e8be3455 100644 --- a/gitnexus/test/unit/registry-primary-flag.test.ts +++ b/gitnexus/test/unit/registry-primary-flag.test.ts @@ -153,6 +153,7 @@ describe('primaryLanguages', () => { process.env['REGISTRY_PRIMARY_CSHARP'] = 'false'; process.env['REGISTRY_PRIMARY_TYPESCRIPT'] = 'false'; process.env['REGISTRY_PRIMARY_GO'] = 'false'; + process.env['REGISTRY_PRIMARY_C'] = 'false'; process.env['REGISTRY_PRIMARY_JAVA'] = '1'; const enabled = primaryLanguages(); expect(enabled.has(SupportedLanguages.Python)).toBe(false);