Skip to content

fix: deliver background results before exit#183

Closed
zerone0x wants to merge 1 commit intoshareAI-lab:mainfrom
zerone0x:fix/issue-46-bg-results
Closed

fix: deliver background results before exit#183
zerone0x wants to merge 1 commit intoshareAI-lab:mainfrom
zerone0x:fix/issue-46-bg-results

Conversation

@zerone0x
Copy link
Copy Markdown

@zerone0x zerone0x commented Apr 6, 2026

Summary

  • keep the s08 background loop alive long enough to inject late background results
  • wait for running tasks and wake the loop when results enqueue
  • avoid dropping notifications after an end_turn response

Fixes #46

Testing

  • not run (logic-only change)

Fixes shareAI-lab#46

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

@zerone0x is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

@zerone0x
Copy link
Copy Markdown
Author

zerone0x commented Apr 6, 2026

closing as duplicate of #149, which already addresses the background notification issue

@zerone0x zerone0x closed this Apr 6, 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.

Background task results may be lost when agent loop exits early

1 participant