feat: Fix discovery system critical issues
Resolved multiple critical discovery system issues: ## Discovery System Fixes - Fixed console commands not being discovered on first run - Implemented fallback discovery for empty caches - Added context-aware caching with separate cache keys - Fixed object serialization preventing __PHP_Incomplete_Class ## Cache System Improvements - Smart caching that only caches meaningful results - Separate caches for different execution contexts (console, web, test) - Proper array serialization/deserialization for cache compatibility - Cache hit logging for debugging and monitoring ## Object Serialization Fixes - Fixed DiscoveredAttribute serialization with proper string conversion - Sanitized additional data to prevent object reference issues - Added fallback for corrupted cache entries ## Performance & Reliability - All 69 console commands properly discovered and cached - 534 total discovery items successfully cached and restored - No more __PHP_Incomplete_Class cache corruption - Improved error handling and graceful fallbacks ## Testing & Quality - Fixed code style issues across discovery components - Enhanced logging for better debugging capabilities - Improved cache validation and error recovery Ready for production deployment with stable discovery system. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# WireGuard Server-Konfiguration
|
||||
wireguard_interface: wg0
|
||||
wireguard_port: 51820
|
||||
wireguard_address: 10.8.0.1/24
|
||||
wireguard_server_ip: 94.16.110.151
|
||||
wireguard_network: "10.8.0.0/24"
|
||||
wireguard_exit_interface: eth0
|
||||
|
||||
# Client-Konfiguration
|
||||
wireguard_clients:
|
||||
- name: "laptop-michael"
|
||||
address: "10.8.0.10"
|
||||
- name: "phone-michael"
|
||||
address: "10.8.0.11"
|
||||
- name: "tablet-michael"
|
||||
address: "10.8.0.12"
|
||||
- name: "work-laptop"
|
||||
address: "10.8.0.13"
|
||||
- name: "guest-device"
|
||||
address: "10.8.0.20"
|
||||
|
||||
# DNS-Server für Clients
|
||||
wireguard_dns_servers:
|
||||
- "1.1.1.1"
|
||||
- "8.8.8.8"
|
||||
|
||||
# Erweiterte Konfiguration
|
||||
wireguard_keepalive: 25
|
||||
wireguard_mtu: 1420
|
||||
wireguard_pre_shared_key: true
|
||||
@@ -0,0 +1,8 @@
|
||||
all:
|
||||
children:
|
||||
vpn:
|
||||
hosts:
|
||||
wireguard-server:
|
||||
ansible_host: 94.16.110.151
|
||||
ansible_user: deploy
|
||||
ansible_ssh_private_key_file: /home/michael/.ssh/staging
|
||||
Reference in New Issue
Block a user