Skip to content

fix: Ensure agent wakes up on A2A task completion#384

Merged
edenreich merged 2 commits intomainfrom
fix/a2a-monitoring-notification
Jan 26, 2026
Merged

fix: Ensure agent wakes up on A2A task completion#384
edenreich merged 2 commits intomainfrom
fix/a2a-monitoring-notification

Conversation

@edenreich
Copy link
Copy Markdown
Contributor

Enabled A2A monitoring in config and fixed agent event channel integration. Agent now properly receives wake-up events when A2A tasks complete. Fixed task state handling with case-insensitive comparisons and prevented premature agent exit.

Changes Made:

  1. Enabled A2A monitoring in .infer/config.yaml
  2. Fixed import ordering in multiple files for consistency
  3. Added agent event channel integration to wake up the agent when A2A tasks complete
  4. Fixed A2A task state handling with case-insensitive state comparisons
  5. Prevented agent from exiting while A2A tasks are pending in idle state

Key Benefits:

  • A2A monitoring is now enabled by default
  • Agent stays alive while A2A tasks are pending
  • Proper event notification when tasks complete
  • Robust state handling for various task status formats
  • Improved reliability of A2A task execution

@edenreich edenreich merged commit a35a5e9 into main Jan 26, 2026
5 checks passed
@edenreich edenreich deleted the fix/a2a-monitoring-notification branch January 26, 2026 01:54
ig-semantic-release-bot bot pushed a commit that referenced this pull request Jan 26, 2026
## [0.100.2](v0.100.1...v0.100.2) (2026-01-26)

### 🐛 Bug Fixes

* Ensure agent wakes up on A2A task completion ([#384](#384)) ([a35a5e9](a35a5e9))
@ig-semantic-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 0.100.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant