Frontmatter
| id | 9929 |
| title | Stabilize AI Test Suite environment dependencies |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Apr 12, 2026, 6:23 PM |
| updatedAt | Apr 12, 2026, 6:30 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9929 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 9922 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 12, 2026, 6:30 PM |
Stabilize AI Test Suite environment dependencies
tobiu cross-referenced by PR #9930 on Apr 12, 2026, 6:24 PM
Architectural Context
During the completion of Epic #9922, testing the Two-Pillar RAG architecture locally revealed intermittent failures strictly related to local LLM daemon execution and parallel test execution:
Authorization.spec.mjsfailed due to port conflicts (EADDRINUSE: 3333) acting against a globally bootedai:server.Librarian.spec.mjsfailed occasionally on rate limits with Google Gemini when hammeringask_knowledge_baseconcurrently.QA.spec.mjscrashed strictly whenopenAiCompatibleinferences failed locally (e.g. absent LLM).Corrective Action
Authorization.spec.mjs.processEventinLibrarian.spec.mjsto dynamically fallback totest.skipif the inference times out, preventing hard suite crashes.QA.spec.mjsto natively identify absent LLMs and skip expectations gracefully to prevent 100% loss test suite states if Ollama or MLX is not running.