Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Pull Request Template ### Prerequisites <!-- Take a couple of minutes to help our maintainers work faster by checking of the pre-requisites. --> <!-- To tick the checkboxes replace the space with an 'x', so [ ] becomes [x] . --> - [x] I have [searched](https://github.com/DefinetlyNotAI/Logicytics/pulls) for duplicate or closed issues. - [x] I have read the [contributing guidelines](https://github.com/DefinetlyNotAI/Logicytics/blob/main/CONTRIBUTING.md). - [x] I have followed the instructions in the [wiki](https://github.com/DefinetlyNotAI/Logicytics/wiki) about contributions. - [ ] I have updated the documentation accordingly, if required. - [ ] I have tested my code with the `--dev` flag, if required. ### PR Type <!-- Take a couple of minutes to help our maintainers work faster by telling us what is the PR guided on. --> <!-- To tick the checkboxes replace the space with an 'x', so [ ] becomes [x] . --> - [ ] Bug fix <!-- Non-Breaking Bug Fix - Usually relates to fixing an issue --> - [x] New feature <!-- Non-Breaking Change that adds a new feature --> - [ ] Refactoring <!-- Non-Breaking Change that modifies existing code to refactor it to become more organised --> - [ ] Documentation update <!-- Non-Breaking Change that modifies existing documentation to refactor it or add extra comments - either wiki, md files or code is included here --> - [ ]⚠️ Breaking change⚠️ <!-- Breaking Bug Fix / New Addition that changes how Logicytics works --> ### Description This pull request introduces several new GitHub workflows for ClusterFuzzLite and refactors the `CODE/_debug.py` file to improve logging and error handling. The most important changes include adding new workflows for batch fuzzing, continuous builds, and cron tasks, as well as refactoring methods in `_debug.py` to enhance readability and functionality. #### New GitHub Workflows: * [`.github/workflows/cflite_batch.yml`](diffhunk://#diff-949fc2996b2e6e5c6eaba884cacc65e708f97a3863d9c1771a9977bb900c0562R1-R37): Added a workflow for batch fuzzing with ClusterFuzzLite, scheduled to run every 6 hours. * [`.github/workflows/cflite_build.yml`](diffhunk://#diff-6a380eaf4eb765b7f8021b58c945424b0cef11356e166e1a5b223e6792572bacR1-R28): Added a workflow for continuous builds with ClusterFuzzLite, triggered on pushes to the main branch. * [`.github/workflows/cflite_cron.yml`](diffhunk://#diff-eeb1dc17caf046b9bba9036c2503d3884a1ed2fde3e7c832e9f5d26d3397a8d4R1-R27): Added a workflow for daily cron tasks with ClusterFuzzLite, scheduled to run once a day at midnight. #### Refactoring in `CODE/_debug.py`: * Improved logging and error handling in `HealthCheck` and `DebugCheck` classes, including adding detailed docstrings and restructuring methods for better readability. [[1]](diffhunk://#diff-cddd7a4c003554a2fce729e954458aa39d397bf2910c94cdd093f39747848061L6-L36) [[2]](diffhunk://#diff-cddd7a4c003554a2fce729e954458aa39d397bf2910c94cdd093f39747848061L71-L135) [[3]](diffhunk://#diff-cddd7a4c003554a2fce729e954458aa39d397bf2910c94cdd093f39747848061L148-R163) [[4]](diffhunk://#diff-cddd7a4c003554a2fce729e954458aa39d397bf2910c94cdd093f39747848061R180-R233) [[5]](diffhunk://#diff-cddd7a4c003554a2fce729e954458aa39d397bf2910c94cdd093f39747848061L225-R247) * Moved the `execution_policy` method from `DebugCheck` to `Check` class in `CODE/logicytics/Checks.py` for better organization. [[1]](diffhunk://#diff-83131f7977935512c18a758ef3ff85db0152c6f8277d99eb94b0bb6830c70a08R5) [[2]](diffhunk://#diff-83131f7977935512c18a758ef3ff85db0152c6f8277d99eb94b0bb6830c70a08R25-R47) ### Motivation and Context <!-- REQUIRED: Why is this PR required? What problem does it solve? Why do you want to do it? --> CI Testing, added fuzzing and fixed bugs ### Credit <!-- If this PR is a contribution, please mention the contributors here using the appropriate syntax. --> <!-- ### File-Created/CONTRIBUTION by MAIN-Username What you did, created, removed, refactored, fixed, or discovered. - [Your GitHub Username](https://github.com/YourGitHubLink) - [Your GitHub Username](https://github.com/YourGitHubLink) etc... --> ### Issues Fixed <!-- REQUIRED: What issues will be fixed? (Format: "#50, #23" etc.) if none exist type _N/A_ --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced three new GitHub Actions workflows for automated tasks: - Batch fuzzing - Continuous integration builds - Daily cron tasks for fuzz testing - **Bug Fixes** - Enhanced logging in health and debug checks to streamline error tracking. - **Documentation** - Updated method signatures and added new methods for improved functionality and clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information