Skip to content

ci: fail workflow on FATAL/ERROR/WARNING in Cacti log - #99

Merged
TheWitness merged 2 commits into
mainfrom
ci/check-log-for-issues
Sep 19, 2026
Merged

TheWitness merged 2 commits into
mainfrom
ci/check-log-for-issues

Conversation

@TheWitness

Copy link
Copy Markdown
Member

Adds a new step after View Cacti Logs that greps the full cacti.log for the strings FATAL:, ERROR:, WARNING: and fails the job if any are found.

Copilot AI lite review requested due to automatic review settings September 15, 2026 12:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The log check can silently pass when cacti.log is unreadable.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds CI validation to fail when cacti.log contains fatal, error, or warning entries.

Changes:

  • Adds post-poller log scanning.
  • Searches for FATAL:, ERROR:, and WARNING:.
  • Requires explicit handling of unreadable log errors.
File summaries
File Summary
.github/workflows/plugin-ci-workflow.yml Adds Cacti log error detection; the grep must use appropriate privileges and fail explicitly when the log cannot be read.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/plugin-ci-workflow.yml
xmacan
xmacan previously approved these changes Sep 15, 2026
bmfmancini
bmfmancini previously approved these changes Sep 15, 2026

@bmfmancini bmfmancini left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TheWitness
TheWitness dismissed stale reviews from bmfmancini and xmacan via e6db3b5 September 19, 2026 15:30
@TheWitness
TheWitness merged commit d358dfa into main Sep 19, 2026
3 checks passed
@TheWitness
TheWitness deleted the ci/check-log-for-issues branch September 19, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants