From 8a7d42c1fd6947c1d0df5d47483fc69b4037308c Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Sun, 19 Apr 2026 12:09:58 +0100 Subject: [PATCH] ci(scope-resolution): keep MIGRATED_LANGUAGES empty; fix linter auto-uncomment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous commit's example entry got auto-uncommented (linter preferred a type-checkable `SupportedLanguages.Python` over a commented-out reference). That would have triggered the parity CI gate against Python, which today has 82 known flag-on failures — unintended and would block the PR. Use the explicit generic `new Set([])` so an empty set still type-checks without needing an uncommented-out sample member. Example in the comment now has `// SupportedLanguages.Python,` so it remains illustrative without participating in the set. --- gitnexus/src/core/ingestion/registry-primary-flag.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitnexus/src/core/ingestion/registry-primary-flag.ts b/gitnexus/src/core/ingestion/registry-primary-flag.ts index 7d7f56d14..053cd4fc4 100644 --- a/gitnexus/src/core/ingestion/registry-primary-flag.ts +++ b/gitnexus/src/core/ingestion/registry-primary-flag.ts @@ -64,9 +64,9 @@ import { SupportedLanguages } from 'gitnexus-shared'; * not an env lookup) so CI can discover it via `tsx` without a build step * and reviewers see the change inline with the code that consumes it. */ -export const MIGRATED_LANGUAGES: ReadonlySet = new Set([ +export const MIGRATED_LANGUAGES: ReadonlySet = new Set([ // Add languages here when their migration completes. Example: - SupportedLanguages.Python, + // SupportedLanguages.Python, ]); /**