• Joined on 2023-08-07
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:35:01 +03:00
246e073092 Update subscription pattern in check_logs function of checker.py to improve error message handling. Enhanced regex to capture error types more accurately, ensuring whitespace is stripped from error messages. This change refines log analysis and improves clarity in health check reporting.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:34:20 +03:00
43dbcd0a17 Refactor check_logs function in checker.py to enhance subscription message handling. Updated regex to capture error types alongside subscription IDs, improving log analysis. Added logging for cases with no matches and refined status messages based on error type, enhancing clarity in health check reporting.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:32:57 +03:00
c062ad8e66 Enhance package management in checker.py by implementing version control for required packages. Added warnings filter to suppress warning messages. The script now checks for specific package versions and installs them accordingly, improving dependency management and ensuring compatibility. This change enhances the robustness of the environment setup for the checker process.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:31:56 +03:00
da56ef57f0 Comment out random sleep functionality in checker.py to simplify execution flow. This change removes unnecessary delays, enhancing the responsiveness of the checker process while maintaining existing logging and error handling mechanisms.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:29:52 +03:00
b89e6c20ce Refactor self_update function in checker.py to accept a logger parameter for improved logging. This change enhances the update process by providing consistent logging messages for update checks, successes, and errors, thereby improving the clarity and maintainability of the script's update functionality.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 11:11:43 +03:00
b93e5f890a Refactor check_logs function in checker.py to improve subscription message detection. Changed from single match to iterating over all matches, allowing retrieval of the last subscription ID found in logs. Updated logging to reflect the last subscription message or indicate absence, enhancing clarity in log analysis.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 09:54:52 +03:00
625a8f71ae Update subscription pattern in check_logs function of checker.py to include a wildcard for error messages. This change enhances the regex matching for subscription completion, improving the accuracy of log analysis in health checks.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 09:48:59 +03:00
8acb4768e3 Reduce random sleep duration in checker.py from 10 minutes to 1 minute to improve responsiveness of the checker process. This change enhances the overall efficiency of the health check execution.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 09:45:21 +03:00
b9d966ff90 Update check_logs function in checker.py to retrieve logs from the 'infernet-node' container instead of using 'docker compose'. This change improves log retrieval efficiency by reducing the time window from 2 hours to 10 minutes, while also updating error handling to reflect the new command. Enhances clarity in log management for health checks.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 09:44:22 +03:00
1e38b5aca6 Refactor check_logs function in checker.py to focus on subscription completion detection. Removed dynamic error and proof speed logging, simplifying the health check process. Now returns a status based on subscription completion, enhancing clarity and maintainability of the health check logic.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-19 09:26:33 +03:00
3abc4e0a81 Update playbook.yml to add journalctl command for node-checker service and comment out grpcbalancer service installation steps. This change enhances logging capabilities while simplifying the playbook by removing unnecessary service setup commands.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-18 17:57:33 +03:00
49c13d9e42 Enhance health check in checker.py by adding a print statement for the fixed message "test ok". This improves visibility of the health status during execution while maintaining the existing error handling structure.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-18 15:03:08 +03:00
4e50ee554b Comment out dynamic log data retrieval in checker.py, maintaining a fixed health status callback message "test ok". This change simplifies the health check process while preserving error handling functionality.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-18 14:53:03 +03:00
f5706ac887 Update health status callback in checker.py to return a fixed message "test ok" instead of dynamic log data
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-18 13:59:48 +03:00
da787935df Add node-checker service
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-17 07:21:00 +03:00
77a5f1a071 Refactor upload_stats_to_grist function in grpc-balancer.py to consolidate server statistics into a single dictionary, improving clarity and maintainability. Update error logging to include exception details.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-16 09:16:31 +03:00
8425114abf Refactor update_contracts.sh to remove unnecessary directory change and streamline contract address handling
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-16 09:05:46 +03:00
92f6cdcd40 Update playbook.yml to remove unnecessary '--no-dependencies' argument from grpcbalancer installation command
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-16 08:51:10 +03:00
f2cce2f592 Refactor grpcbalancer installation in playbook.yml to use shell commands for copying and setting permissions; update service file path in grpc-balancer.service; remove deprecated grpcbalancer.py file.
vvzvlad pushed to main-22aug at vvzvlad/ritual 2025-01-16 08:32:21 +03:00
5d8a2cfdd6 Refactor update.sh to simplify usage by removing wallet address, private key, and RPC URL parameters; streamline script for improved clarity and maintainability.