Skip to content

Commit e604053

Browse files
frostebiteclaude
andcommitted
fix(ci): update workflow references from loadEnterpriseServices to loadPluginServices
CI workflows still referenced the old function name after the rename. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7cbdefc commit e604053

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/validate-orchestrator-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- name: Verify all services and lazy loaders
9191
run: |
9292
node -e "
93-
const { loadOrchestrator, loadEnterpriseServices } = require('./lib/model/orchestrator-plugin');
93+
const { loadOrchestrator, loadPluginServices } = require('./lib/model/orchestrator-plugin');
9494
(async () => {
9595
const orch = await loadOrchestrator();
9696
if (!orch || typeof orch.run !== 'function') {
@@ -99,8 +99,8 @@ jobs:
9999
}
100100
console.log('✓ loadOrchestrator().run is a function');
101101
102-
const services = await loadEnterpriseServices();
103-
if (!services) { console.error('ERROR: loadEnterpriseServices failed'); process.exit(1); }
102+
const services = await loadPluginServices();
103+
if (!services) { console.error('ERROR: loadPluginServices failed'); process.exit(1); }
104104
105105
const eager = ['BuildReliabilityService','TestWorkflowService','HotRunnerService','OutputService','OutputTypeRegistry','ArtifactUploadHandler','IncrementalSyncService'];
106106
for (const s of eager) { if (!services[s]) { console.error('Missing: ' + s); process.exit(1); } }

.github/workflows/validate-orchestrator.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
run: |
100100
echo "Checking plugin loader handles missing @game-ci/orchestrator..."
101101
node -e "
102-
const { loadOrchestrator, loadEnterpriseServices } = require('./lib/model/orchestrator-plugin');
102+
const { loadOrchestrator, loadPluginServices } = require('./lib/model/orchestrator-plugin');
103103
(async () => {
104104
const orch = await loadOrchestrator();
105105
if (orch !== undefined) {
@@ -108,12 +108,12 @@ jobs:
108108
}
109109
console.log('✓ loadOrchestrator() returns undefined when package not installed');
110110
111-
const services = await loadEnterpriseServices();
111+
const services = await loadPluginServices();
112112
if (services !== undefined) {
113-
console.error('ERROR: loadEnterpriseServices should return undefined when package not installed');
113+
console.error('ERROR: loadPluginServices should return undefined when package not installed');
114114
process.exit(1);
115115
}
116-
console.log('✓ loadEnterpriseServices() returns undefined when package not installed');
116+
console.log('✓ loadPluginServices() returns undefined when package not installed');
117117
})();
118118
"
119119
@@ -153,7 +153,7 @@ jobs:
153153
run: |
154154
echo "Checking plugin loader returns defined exports..."
155155
node -e "
156-
const { loadOrchestrator, loadEnterpriseServices } = require('./lib/model/orchestrator-plugin');
156+
const { loadOrchestrator, loadPluginServices } = require('./lib/model/orchestrator-plugin');
157157
(async () => {
158158
const orch = await loadOrchestrator();
159159
if (orch === undefined) {
@@ -166,9 +166,9 @@ jobs:
166166
}
167167
console.log('✓ loadOrchestrator() returns defined exports with orchestrator installed');
168168
169-
const services = await loadEnterpriseServices();
169+
const services = await loadPluginServices();
170170
if (services === undefined) {
171-
console.error('ERROR: loadEnterpriseServices should return defined exports when package is installed');
171+
console.error('ERROR: loadPluginServices should return defined exports when package is installed');
172172
process.exit(1);
173173
}
174174
const expectedServices = [
@@ -182,7 +182,7 @@ jobs:
182182
process.exit(1);
183183
}
184184
}
185-
console.log('✓ loadEnterpriseServices() returns all ' + expectedServices.length + ' services');
185+
console.log('✓ loadPluginServices() returns all ' + expectedServices.length + ' services');
186186
187187
const lazyLoaders = [
188188
'loadChildWorkspaceService', 'loadLocalCacheService',

0 commit comments

Comments
 (0)