Skip to content

Comments

wave 1.5 error improvements#1839

Open
wentzeld wants to merge 2 commits intomainfrom
silent-failures-wave1.5
Open

wave 1.5 error improvements#1839
wentzeld wants to merge 2 commits intomainfrom
silent-failures-wave1.5

Conversation

@wentzeld
Copy link
Contributor

Changes: Reporting plugin: Debugw elevated to Warnw for insufficient observations
Dependencies: None
See CRE Error Improvements for more details

Copilot AI review requested due to automatic review settings February 15, 2026 17:27
@wentzeld wentzeld requested a review from a team as a code owner February 15, 2026 17:27
@github-actions
Copy link

👋 wentzeld, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link

github-actions bot commented Feb 15, 2026

✅ API Diff Results - No breaking changes


📄 View full apidiff report

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR is part of the "Wave 1.5 Error Improvements" initiative, aimed at improving observability and error reporting in the consensus reporting plugin. The change elevates a log message from Debug level to Warning level and enhances it with more detailed context when insufficient observations prevent consensus from being reached.

Changes:

  • Elevated log level from Debugw to Warnw for insufficient observations condition (< 2f+1 nodes)
  • Enhanced error message with clearer explanation of why consensus was skipped
  • Added structured fields: observationCount, requiredCount, workflowExecutionID, and workflowID

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

if len(obs) < (2*r.config.F + 1) {
lggr.Debugw("insufficient observations for workflow execution id")
lggr.Warnw("Insufficient observations for workflow execution: consensus skipped because fewer than 2f+1 nodes reported observations",
Copy link
Contributor

Choose a reason for hiding this comment

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

This does't make it more visible in any way.

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.

2 participants