Skip to content

Commit df7394c

Browse files
authored
fix(native): lower version gate for native orchestrator (#867)
* fix(native): lower version gate to allow native orchestrator for ≥3.9.0 PR #865 fixed the Rust incremental purge (join-based SQL, correct deletion order, scoped removal detection). The version gate in shouldSkipNativeOrchestrator was set to <= 3.9.0 as a safety measure. Now that the purge is correct, lower the gate to < 3.9.0 so that addon v3.9.0+ uses the native orchestrator path. Closes #866 * fix: raise version gate to 3.10.0 to match next addon release (#867) The published v3.9.0 native addon binaries were built before PR #865 merged the Rust incremental purge fixes. Gate on < 3.10.0 so the native orchestrator stays disabled until addon binaries that include the fixes are published.
1 parent 0c97928 commit df7394c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/domain/graph/builder/pipeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ interface NativeOrchestratorResult {
275275
function shouldSkipNativeOrchestrator(ctx: PipelineContext): string | null {
276276
if (process.env.CODEGRAPH_FORCE_JS_PIPELINE === '1') return 'CODEGRAPH_FORCE_JS_PIPELINE=1';
277277
if (ctx.forceFullRebuild) return 'forceFullRebuild';
278-
const orchestratorBuggy = !!ctx.engineVersion && semverCompare(ctx.engineVersion, '3.9.0') <= 0;
278+
const orchestratorBuggy = !!ctx.engineVersion && semverCompare(ctx.engineVersion, '3.10.0') < 0;
279279
if (orchestratorBuggy) return `buggy addon ${ctx.engineVersion}`;
280280
if (ctx.engineName !== 'native') return `engine=${ctx.engineName}`;
281281
return null;

0 commit comments

Comments
 (0)