From 2212d922609b1ccad087ac514870640e808f8546 Mon Sep 17 00:00:00 2001 From: Dicky Moore Date: Thu, 5 Feb 2026 16:27:54 +0000 Subject: [PATCH] Remove workflow.xml runner and update CLI wording --- test/test-installation-components.js | 14 -------------- .../cli/installers/lib/core/manifest-generator.js | 2 +- tools/cli/installers/lib/ide/_base-ide.js | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/test/test-installation-components.js b/test/test-installation-components.js index 6efee44e8..2ce332df4 100644 --- a/test/test-installation-components.js +++ b/test/test-installation-components.js @@ -195,7 +195,6 @@ async function runTests() { const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs')]; const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']); const forbiddenRef = 'advanced-elicitation/workflow.xml'; - const excludedFile = path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml'); const offenders = []; const walk = async (dir) => { @@ -209,9 +208,6 @@ async function runTests() { if (!allowedExtensions.has(path.extname(entry.name))) { continue; } - if (fullPath === excludedFile) { - continue; - } const content = await fs.readFile(fullPath, 'utf8'); if (content.includes(forbiddenRef)) { offenders.push(path.relative(projectRoot, fullPath)); @@ -257,9 +253,6 @@ async function runTests() { if (!allowedExtensions.has(path.extname(entry.name))) { continue; } - if (fullPath === excludedFile) { - continue; - } const content = await fs.readFile(fullPath, 'utf8'); if (content.includes(forbiddenRef)) { offenders.push(path.relative(projectRoot, fullPath)); @@ -291,10 +284,6 @@ async function runTests() { const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs'), path.join(projectRoot, 'tools')]; const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']); const forbiddenRef = 'workflow.xml'; - const excludedFiles = new Set([ - path.join(projectRoot, 'src', 'core', 'tasks', 'workflow.xml'), - path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml'), - ]); const offenders = []; const walk = async (dir) => { @@ -308,9 +297,6 @@ async function runTests() { if (!allowedExtensions.has(path.extname(entry.name))) { continue; } - if (excludedFiles.has(fullPath)) { - continue; - } const content = await fs.readFile(fullPath, 'utf8'); if (content.includes(forbiddenRef)) { offenders.push(path.relative(projectRoot, fullPath)); diff --git a/tools/cli/installers/lib/core/manifest-generator.js b/tools/cli/installers/lib/core/manifest-generator.js index c0b5c655a..eefc12b69 100644 --- a/tools/cli/installers/lib/core/manifest-generator.js +++ b/tools/cli/installers/lib/core/manifest-generator.js @@ -130,7 +130,7 @@ class ManifestGenerator { } /** - * Recursively find and parse workflow.yaml and workflow.md files + * Recursively find and parse workflow definition files */ async getWorkflowsFromPath(basePath, moduleName) { const workflows = []; diff --git a/tools/cli/installers/lib/ide/_base-ide.js b/tools/cli/installers/lib/ide/_base-ide.js index a43ef8263..7f8b1573e 100644 --- a/tools/cli/installers/lib/ide/_base-ide.js +++ b/tools/cli/installers/lib/ide/_base-ide.js @@ -324,7 +324,7 @@ class BaseIdeSetup { } /** - * Recursively find workflow files (workflow.yaml or workflow.md) + * Recursively find workflow definition files * @param {string} dir - Directory to search * @returns {Array} List of workflow file info objects */