Skip to main content
Glama
debug-ac23-file-management.test.tsโ€ข2.59 kB
/** * Debug AC 2.3 - File Management Workflow * * Debug test to identify why AC 2.3 is failing */ import { TestEnvironmentConfig } from './test-environment-config'; describe('Debug AC 2.3 - File Management Workflow', () => { const username = TestEnvironmentConfig.getTestUsername(); const sshKeyPath = TestEnvironmentConfig.getTestSSHKeyPath(); it('should debug file management workflow execution', async () => { try { const { ProductionScenarioValidator } = require('../src/production-scenario-validator'); const validator = new ProductionScenarioValidator({ username, sshKeyPath, enableProfessionalDisplayValidation: true, enablePerformanceMonitoring: true, enableDetailedLogging: true // Enable detailed logging }); // Simplified file management scenario for debugging const fileManagementScenario = { name: 'debug-file-management', description: 'Debug file management workflow', commands: [ { initiator: 'browser', command: 'ls -la' }, { initiator: 'browser', command: 'pwd' }, { initiator: 'browser', command: 'whoami' } ], expectedDuration: 20000 }; console.log('๐Ÿ” Starting debug of AC 2.3 file management workflow...'); const result = await validator.executeProductionScenario(fileManagementScenario); console.log('๐Ÿ“Š Debug Result Full Details:', JSON.stringify(result, null, 2)); if (result.errors.length > 0) { console.log('โŒ Errors found:', result.errors); } if (result.warnings.length > 0) { console.log('โš ๏ธ Warnings found:', result.warnings); } if (result.rawWorkflowResult) { console.log('๐Ÿ” Raw workflow success:', result.rawWorkflowResult.success); console.log('๐Ÿ” Raw workflow error:', result.rawWorkflowResult.error); console.log('๐Ÿ” Raw workflow execution time:', result.rawWorkflowResult.totalExecutionTime); console.log('๐Ÿ” Raw workflow responses length:', result.rawWorkflowResult.concatenatedResponses.length); if (result.rawWorkflowResult.concatenatedResponses.length < 500) { console.log('๐Ÿ” Raw workflow responses preview:', JSON.stringify(result.rawWorkflowResult.concatenatedResponses.substring(0, 200))); } } // Don't fail the test - we're debugging console.log('๐Ÿ” Debug completed - analyzing results...'); } catch (error) { console.error('โŒ Debug test failed:', error); throw error; } }, 60000); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LightspeedDMS/ssh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server