Skip to content

Commit 1f933bc

Browse files
committed
CRITICAL FIX: Add 500ms delays after ALL file generation commands
- Add 500ms delays after EVERY execSync that generates files - This ensures files are visible in CI before tests try to read them - Fixes timing issues where files exist but aren't immediately visible - Should resolve ALL remaining CI failures
1 parent 8571369 commit 1f933bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

claude-config-composer/tests/cli.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ describe('CLI Core Commands', () => {
185185
encoding: 'utf-8',
186186
});
187187

188+
// Add delay for CI file system sync
189+
await new Promise(resolve => setTimeout(resolve, 500));
190+
188191
// Then validate it
189192
const output = execSync(`node ${CLI_PATH} validate ${testProjectDir}`, { encoding: 'utf-8' });
190193

0 commit comments

Comments
 (0)