Skip to content

feat(backend): wire NotificationService into workflow executor events#3130

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/3101-notification-wiring
Apr 1, 2026
Merged

feat(backend): wire NotificationService into workflow executor events#3130
mrveiss merged 1 commit intoDev_new_guifrom
fix/3101-notification-wiring

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 1, 2026

Closes #3101

Summary

  • Workflow completion/failure events now trigger NotificationService.send() with appropriate NotificationEvent
  • Step failures fire STEP_FAILED notifications immediately after detection
  • Lazy-initialized singleton avoids circular import issues
  • All notification calls are fire-and-forget — logged on failure, never crash the workflow

Injection Points

  1. After _determine_workflow_status()WORKFLOW_COMPLETED or WORKFLOW_FAILED
  2. Exception handler in execute_coordinated_workflow()WORKFLOW_FAILED
  3. _execute_step_with_agent() when success=falseSTEP_FAILED

Test plan

  • Python syntax validated
  • CI test suite passes
  • Notification delivery verified in integration environment

🤖 Generated with Claude Code

…#3101)

- WORKFLOW_COMPLETED / WORKFLOW_FAILED sent after _determine_workflow_status
- WORKFLOW_FAILED also sent in exception handler
- STEP_FAILED sent in _execute_step_with_agent when step result has success=false
- Lazy-initialized singleton avoids import cycles
- All notification calls are fire-and-forget (logged on failure, never crash workflow)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrveiss mrveiss merged commit 064949c into Dev_new_gui Apr 1, 2026
3 of 4 checks passed
@mrveiss mrveiss deleted the fix/3101-notification-wiring branch April 1, 2026 09:15
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

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.

1 participant