graphiti/.github/workflows
Daniel Chalef 4e949ae175 feat: Add comprehensive FalkorDB integration testing
## FalkorDB Database Integration

### 🗄️ FalkorDB Service Container
- Added **FalkorDB/FalkorDB:latest** service container to GitHub Actions
- **Redis protocol compatibility** with redis-cli health checks
- **Port 6379** exposed for Redis/FalkorDB connectivity
- **Fast startup** with 10s health checks (vs 30s for Neo4j)

### 🧪 Comprehensive FalkorDB Integration Test
- **New test suite**: `test_falkordb_integration.py`
- **MCP stdio client** configured for FalkorDB backend (`--database-provider falkordb`)
- **Test coverage**:
  - Server status verification with FalkorDB
  - Episode addition and storage
  - Search functionality validation
  - Graph clearing operations
  - Complete MCP tool workflow testing

### ⚙️ GitHub Actions Workflow Enhancement
- **Dual database testing**: Both Neo4j AND FalkorDB validation
- **FalkorDB readiness checks**: Redis-cli ping validation with 20 attempts
- **Connection testing**: Redis tools installation and connectivity verification
- **Integration test execution**: 120s timeout for comprehensive FalkorDB testing
- **Server startup validation**: Both database backends tested independently

### 🎯 Test Environment Configuration
```yaml
services:
  falkordb:
    image: falkordb/falkordb:latest
    ports: [6379:6379]
    health-cmd: "redis-cli ping"
```

### 🔧 Database Backend Validation
- **Neo4j Integration**: Bolt protocol, cypher-shell validation
- **FalkorDB Integration**: Redis protocol, redis-cli validation
- **Environment Variables**: Proper credentials and connection strings
- **Server Startup Tests**: Individual validation per database backend
- **MCP Tool Testing**: End-to-end workflow validation per backend

### 📊 Enhanced CI Pipeline
The workflow now provides **complete database backend coverage**:
1. **Syntax & Configuration** - Code quality validation
2. **Neo4j Integration** - Graph database testing (Bolt protocol)
3. **FalkorDB Integration** - Graph database testing (Redis protocol)
4. **Server Startup** - Both database backends validated
5. **MCP Functionality** - Complete tool workflow per backend

This ensures the MCP server works correctly with **both supported graph database backends**, providing confidence in production deployments regardless of database choice.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 08:50:48 -07:00
..
ai-moderator.yml feat: Add GitHub AI Moderator for automated spam detection (#856) 2025-08-25 07:25:07 -07:00
cla.yml Update cla.yml (#884) 2025-08-30 08:23:53 -07:00
claude-code-review.yml Update claude-code-review.yml (#883) 2025-08-30 08:21:46 -07:00
claude.yml Update claude.yml (#877) 2025-08-28 20:58:00 -07:00
codeql.yml Create codeql.yml (#580) 2025-06-12 19:04:34 -07:00
lint.yml depot + cleanup (#22) 2024-08-22 15:16:15 -07:00
mcp-server-docker.yml Add GitHub Actions workflow for building and pushing MCP Server Docker image (#656) 2025-07-01 15:55:08 -07:00
mcp-server-lint.yml fix: Comprehensive MCP server fixes and configuration consolidation 2025-08-30 08:50:48 -07:00
mcp-server-tests.yml feat: Add comprehensive FalkorDB integration testing 2025-08-30 08:50:48 -07:00
release-graphiti-core.yml Update release-graphiti-core.yml to python 3.11 (#639) 2025-06-27 14:27:21 -07:00
typecheck.yml Potential fix for code scanning alert no. 18: Workflow does not contain permissions (#648) 2025-06-30 13:01:42 -07:00
unit_tests.yml Add support for Kuzu as the graph driver (#799) 2025-08-27 11:45:21 -04:00