All notable changes to this project will be documented in this file.
The format follows Keep a Changelog. Versions follow Semantic Versioning.
- Unit test suite (pytest) for all core modules
- Concurrent LLM failure analysis using
asyncio AZURE_OPENAI_API_KEYenvironment variable fallback (avoid passing key in tool args)compare_test_runstool for diffing two JUnit XML files
0.2.0 — 2025-02-21
- LLM analysis pipeline — three new tools (
analyze_test_run_with_llm,analyze_failure_root_cause,generate_analysis_report) and an end-to-end tool (run_and_analyze) powered by Azure OpenAI via the Azure OpenAI API lisa_mcp/tools/llm_analyzer.py— structured failure analysis and run-level summary using forcedtool_useJSON output; models:gpt-4olisa_mcp/tools/log_collector.py— memory-safe seek-based tail reader (256 KB cap), error-context extraction with 15-line windows around error signals, full run-directory walkerlisa_mcp/tools/report_generator.py— self-contained HTML report (inline CSS, no CDN) and GitHub-flavored Markdown report;save_report()writes both to diskFailureAnalysis/RunAnalysisSummary/AnalysisReportmodels — Pydantic v2 models for structured LLM output (RootCauseCategory,FailureSeverity, severity sort key)docs/llm-analysis.md— complete guide to the LLM analysis pipelinedocs/running-lisa.md— step-by-step guide covering system setup through end-to-end MCP analysis (12 steps, quick-reference cheatsheet, troubleshooting table)CHANGELOG.md— this fileCONTRIBUTING.md— developer setup, coding standards, PR process
pyproject.toml: addedhttpx>=0.27.0dependencyREADME.md: updated doc map to include all 17 tools,docs/running-lisa.md,docs/llm-analysis.md,CHANGELOG.md,CONTRIBUTING.md- Tool count in README and
docs/tools-reference.mdcorrected from 13 → 17
0.1.0 — 2025-01-15
- FastMCP server (
lisa_mcp/server.py) with 13 tools, 3 resources, 3 prompts lisa_mcp/tools/test_discovery.py— AST-based scanner; discovers LISA test suites and cases without importing LISA modules; filters by area, tier, priority, platform, name patternlisa_mcp/tools/test_generator.py— generates Python test suite source code and runbook YAML from structured parameterslisa_mcp/tools/runbook_builder.py— validates, reads, writes, and modifies LISA runbook YAML files;build_tier_runbook()shortcutlisa_mcp/tools/test_runner.py— subprocess wrapper for thelisaCLI with timeout and variable injectionlisa_mcp/tools/result_parser.py— parses JUnit XML (viajunitparser) and plain console output; auto-detects formatlisa_mcp/models.py— Pydantic v2 models:Priority,Category,Tier,TIER_PRIORITIES,Requirement,TestCaseInfo,TestSuiteInfo,RunbookConfig,TestResult,TestRunSummary- MCP resources:
lisa://test-case-template,lisa://test-suite-template,lisa://runbook-template - MCP prompts:
select_tests_for_scenario,create_new_test,analyze_test_failure - Documentation:
README.md,QUICKSTART.md,INSTALL.md,USAGE.md docs/:tools-reference.md,test-discovery.md,writing-tests.md,runbook-guide.md,automation-guide.md,troubleshooting.mdexamples/:azure_t1_runbook.yml,custom_selection_runbook.yml,new_test_suite_example.py.gitignore,LICENSE(MIT),mcp_config.json