Skip to content

fix(cli): wait trailing ACP updates before turn complete#356

Closed
xxbbzy wants to merge 2 commits intotiann:mainfrom
xxbbzy:feat-bark-notifications
Closed

fix(cli): wait trailing ACP updates before turn complete#356
xxbbzy wants to merge 2 commits intotiann:mainfrom
xxbbzy:feat-bark-notifications

Conversation

@xxbbzy
Copy link

@xxbbzy xxbbzy commented Mar 24, 2026

Summary

  • reset ACP trailing-update quiet-window timestamp when prompt response returns
  • avoid early turn_complete emission before same-turn trailing tool updates
  • keep AcpSdkBackend test expectation stable in CI race windows

Verification

  • cd cli && PATH=/root/.bun/bin:$PATH bun run test src/agent/backends/acp/AcpSdkBackend.test.ts
  • cd cli && PATH=/root/.bun/bin:$PATH bun run test src/agent/backends/acp/AcpMessageHandler.test.ts src/agent/backends/acp/AcpSdkBackend.test.ts
  • stress check: 20x loop of AcpSdkBackend.test.ts passed

xxbbzy added 2 commits March 24, 2026 20:56
- add Bark delivery + notification channel with retry and timeout handling

- wire Bark settings into hub configuration and startup logs

- add unit tests for Bark delivery/channel and channel-failure isolation in notification hub
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Findings

  • None

Summary

  • Review mode: initial — no issues found in the diff. Residual risks: Bark delivery relies on external service availability and network behavior; only unit-level coverage added here.

Testing

  • Not run (automation). Suggested: bun run test hub/src/notifications/barkDelivery.test.ts hub/src/notifications/barkNotificationChannel.test.ts

HAPI Bot

@xxbbzy xxbbzy closed this Mar 24, 2026
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