From 80a5eee0f72fcb0d4c9e9ddaae2313bc3ab0b173 Mon Sep 17 00:00:00 2001 From: frostebite Date: Thu, 13 Aug 2026 03:06:49 +0100 Subject: [PATCH] Fix Plugin Architecture Health CI check for the thin-wrapper move MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit orchestrator-plugin.ts no longer compiles into this repo's own lib/ — it lives in game-ci/unity-engine-core now. Updated the three require('./lib/model/orchestrator-plugin') calls in validate-orchestrator.yml and validate-orchestrator-integration.yml to require the dependency's compiled path instead. Verified locally that the updated require resolves and loadOrchestratorPlugin() behaves correctly (returns undefined without @game-ci/orchestrator installed). --- .github/workflows/validate-orchestrator-integration.yml | 2 +- .github/workflows/validate-orchestrator.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate-orchestrator-integration.yml b/.github/workflows/validate-orchestrator-integration.yml index 88bf4850..7268ad62 100644 --- a/.github/workflows/validate-orchestrator-integration.yml +++ b/.github/workflows/validate-orchestrator-integration.yml @@ -115,7 +115,7 @@ jobs: - name: Verify plugin loader returns exports with orchestrator installed run: | node -e " - const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); + const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin'); (async () => { const plugin = await loadOrchestratorPlugin(); if (plugin === undefined) { diff --git a/.github/workflows/validate-orchestrator.yml b/.github/workflows/validate-orchestrator.yml index 61f7a2fa..0b99dfd1 100644 --- a/.github/workflows/validate-orchestrator.yml +++ b/.github/workflows/validate-orchestrator.yml @@ -127,7 +127,7 @@ jobs: run: | echo "Checking plugin loader handles missing @game-ci/orchestrator..." node -e " - const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); + const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin'); (async () => { const plugin = await loadOrchestratorPlugin(); if (plugin !== undefined) { @@ -174,7 +174,7 @@ jobs: run: | echo "Checking plugin loader returns defined exports..." node -e " - const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); + const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin'); (async () => { const plugin = await loadOrchestratorPlugin(); if (plugin === undefined) { @@ -219,7 +219,7 @@ jobs: run: | echo "Verifying orchestrator build wiring end-to-end..." node -e " - const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); + const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin'); (async () => { // Verify plugin loads successfully with orchestrator installed