mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-06 02:49:56 +00:00
fix: update registry-primary-flag test and add C legacy parity expected failures
Agent-Logs-Url: https://github.com/abhigyanpatwari/GitNexus/sessions/ddcbc075-2999-492c-a0ac-47cddd401a4b Co-authored-by: magyargergo <11230420+magyargergo@users.noreply.github.com>
This commit is contained in:
parent
96e500512f
commit
14c4639c36
2 changed files with 8 additions and 0 deletions
|
|
@ -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<Record<string, ReadonlySet<string>>> = {
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue