Repository navigation
Cover Syslog database loader paths - #427
Merged
Merged
Conversation
Co-authored-by: TheWitness <1439914+TheWitness@users.noreply.github.com>
Co-authored-by: TheWitness <1439914+TheWitness@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix coverage and CI failures related to PR #425
Cover Syslog database loader paths
Oct 16, 2026
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Pest execution and Clover coverage of the targeted loader statements remain unverified.
0 open findings
What changed in this PR
Adds focused tests for the Syslog database loader compatibility changes from PR #425 without modifying production code.
Changes:
- Exercises both supported library paths and missing-library logging in all four affected functions.
- Adds configurable plugin-enabled behavior and restores modified test state.
| File | Description |
|---|---|
| tests/Unit/SyslogDatabaseLoaderTest.php | Tests library loading and error logging across four Syslog callbacks. |
| tests/bootstrap-unit.php | Adds a configurable plugin-enabled stub. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
xmacan
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #425’s Syslog library loader changes lacked coverage for the changed lines, failing the CI coverage gate. Add focused tests for both supported library locations and the missing-library log path in each affected function.
plugin_syslog_trend,plugin_syslog_levels_trend,plugin_syslog_devices, andplugin_syslog_devices_detailwith:Original prompt