3b623e7afb
feat(Deployment): Integrate Ansible deployment via PHP deployment pipeline
...
- Create AnsibleDeployStage using framework's Process module for secure command execution
- Integrate AnsibleDeployStage into DeploymentPipelineCommands for production deployments
- Add force_deploy flag support in Ansible playbook to override stale locks
- Use PHP deployment module as orchestrator (php console.php deploy:production)
- Fix ErrorAggregationInitializer to use Environment class instead of $_ENV superglobal
Architecture:
- BuildStage → AnsibleDeployStage → HealthCheckStage for production
- Process module provides timeout, error handling, and output capture
- Ansible playbook supports rollback via rollback-git-based.yml
- Zero-downtime deployments with health checks
2025-10-26 14:08:07 +01:00
fc3d7e6357
feat(Production): Complete production deployment infrastructure
...
- Add comprehensive health check system with multiple endpoints
- Add Prometheus metrics endpoint
- Add production logging configurations (5 strategies)
- Add complete deployment documentation suite:
* QUICKSTART.md - 30-minute deployment guide
* DEPLOYMENT_CHECKLIST.md - Printable verification checklist
* DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle
* PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference
* production-logging.md - Logging configuration guide
* ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation
* README.md - Navigation hub
* DEPLOYMENT_SUMMARY.md - Executive summary
- Add deployment scripts and automation
- Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment
- Update README with production-ready features
All production infrastructure is now complete and ready for deployment.
2025-10-25 19:18:37 +02:00
5050c7d73a
docs: consolidate documentation into organized structure
...
- Move 12 markdown files from root to docs/ subdirectories
- Organize documentation by category:
• docs/troubleshooting/ (1 file) - Technical troubleshooting guides
• docs/deployment/ (4 files) - Deployment and security documentation
• docs/guides/ (3 files) - Feature-specific guides
• docs/planning/ (4 files) - Planning and improvement proposals
Root directory cleanup:
- Reduced from 16 to 4 markdown files in root
- Only essential project files remain:
• CLAUDE.md (AI instructions)
• README.md (Main project readme)
• CLEANUP_PLAN.md (Current cleanup plan)
• SRC_STRUCTURE_IMPROVEMENTS.md (Structure improvements)
This improves:
✅ Documentation discoverability
✅ Logical organization by purpose
✅ Clean root directory
✅ Better maintainability
2025-10-05 11:05:04 +02:00
887847dde6
refactor: reorganize project structure for better maintainability
...
- Move 45 debug/test files from root to organized scripts/ directories
- Secure public/ directory by removing debug files (security improvement)
- Create structured scripts organization:
• scripts/debug/ (20 files) - Framework debugging tools
• scripts/test/ (18 files) - Test and validation scripts
• scripts/maintenance/ (5 files) - Maintenance utilities
• scripts/dev/ (2 files) - Development tools
Security improvements:
- Removed all debug/test files from public/ directory
- Only production files remain: index.php, health.php
Root directory cleanup:
- Reduced from 47 to 2 PHP files in root
- Only essential production files: console.php, worker.php
This improves:
✅ Security (no debug code in public/)
✅ Organization (clear separation of concerns)
✅ Maintainability (easy to find and manage scripts)
✅ Professional structure (clean root directory)
2025-10-05 10:59:15 +02:00
e30753ba0e
fix: resolve RedisCache array offset error and improve discovery diagnostics
...
- Fix RedisCache driver to handle MGET failures gracefully with fallback
- Add comprehensive discovery context comparison debug tools
- Identify root cause: WEB context discovery missing 166 items vs CLI
- WEB context missing RequestFactory class entirely (52 vs 69 commands)
- Improved exception handling with detailed binding diagnostics
2025-09-12 20:05:18 +02:00
55a330b223
Enable Discovery debug logging for production troubleshooting
...
- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
2025-08-11 20:13:26 +02:00
64a7051137
chore: complete update
2025-07-17 16:24:20 +02:00