Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

test: bump guidance-provider 60s → 180s for cold HF embedding model load

Reuvend59ad3cc4ca2
diff --git a/v3/@claude-flow/hooks/src/__tests__/guidance-provider.test.ts b/v3/@claude-flow/hooks/src/__tests__/guidance-provider.test.ts
index 8d8b5d6b59..b38f9f4d07 100644
--- a/v3/@claude-flow/hooks/src/__tests__/guidance-provider.test.ts
+++ b/v3/@claude-flow/hooks/src/__tests__/guidance-provider.test.ts
@@ -405,9 +405,12 @@ describe('GuidanceProvider', () => {
expect(result.shouldStop).toBe(true);
});
- it('should block stopping when too many unconsolidated patterns', { timeout: 60000 }, async () => {
- // Bumped 15s → 60s: storing 12 patterns triggers HuggingFace embedding
- // generation; cold-cache CI runs exceed 15s without warm models.
+ it('should block stopping when too many unconsolidated patterns', { timeout: 180000 }, async () => {
+ // Bumped 15s → 180s: storing 12 patterns triggers HuggingFace
+ // embedding generation. Cold-cache CI runs spend 30-60s downloading
+ // the model itself, then ~3-5s per pattern inference (12×). 60s
+ // wasn't enough; 180s gives headroom for slow runners. Local warm
+ // runs still finish in <2s.
// Store more than 10 patterns to trigger the check
for (let i = 0; i < 12; i++) {
await reasoningBank.storePattern(`Pattern ${i}`, 'general');