Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove subscription on client disconnect in worker runtime #3653

Conversation

MohMaz
Copy link
Contributor

@MohMaz MohMaz commented Oct 4, 2024

Why are these changes needed?

Potential conflict on subscriptions when agents disconnect on worker runtime.
See explanations in #3628

Related issue number

Closes #3628

Checks

@MohMaz MohMaz marked this pull request as ready for review October 4, 2024 07:27
@MohMaz
Copy link
Contributor Author

MohMaz commented Oct 4, 2024

@ekzhu re-created the PR.

I'm not sure about I've made sure all auto checks have passed., it seems the current staging branch doesn't pass poe check. I did not fix things to keep the PR clean ...

I can create another PR to fix things to pass the staging pipelines once you have merged #3651

@MohMaz MohMaz requested a review from ekzhu October 4, 2024 21:38
@MohMaz
Copy link
Contributor Author

MohMaz commented Oct 5, 2024

cc: @jackgerrits in case you want to take a look following the conversation with had today

@MohMaz MohMaz requested a review from ekzhu October 5, 2024 10:07
@ekzhu ekzhu merged commit be5c0b5 into microsoft:staging Oct 5, 2024
26 of 27 checks passed
@MohMaz MohMaz deleted the mohmaz-remove-subscription-worker-client-disconnect branch October 5, 2024 17:23
rysweet added a commit that referenced this pull request Oct 8, 2024
* add logging to agentchat

* Update magentic-one readme with the latest numbers (a complete set of results on WebArena, and updated results for GAIA)

* make logging independent module

* move logging module to root of agent_chat

* Add staging to workflow target; fix circular imports in autogen_agentchat (#3651)

* Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat

* add staging to target in checks

* add staging to target in checks for dotnet

* Fix circular imports

* Add all redirect links (#3659)

* generate docs on push, deploy on main

* Remove accidentally added files from 0.2 (#3661)

* try fix docs CI (#3660)

Co-authored-by: Eric Zhu <[email protected]>

* fix: remove subscription on client disconnect in worker runtime (#3653)

* remove subscription on client disconnect in worker runtime

* address PR feedback

* remove outdated comment

* remove public properties

* fix mypy issue

* address PR feedback

---------

Co-authored-by: Jack Gerrits <[email protected]>

* Move tools to agent in `agentchat`; refactored logging to support tool events (#3665)

* Move tool to agent; refactor logging in agentchat

* Update notebook

* [.Net] Remove merging primitive from .editorconfig and gitignore (#3676)

* remove merging primitive from .editorconfig and gitignore

* use file scope namespace

* remove file-scope name

* fix format

* Add poethepoet to dev deps (#3675)

Co-authored-by: Eric Zhu <[email protected]>

---------

Co-authored-by: Victor Dibia <[email protected]>
Co-authored-by: Adam Fourney <[email protected]>
Co-authored-by: gagb <[email protected]>
Co-authored-by: Eric Zhu <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>
Co-authored-by: Mohammad Mazraeh <[email protected]>
Co-authored-by: Xiaoyun Zhang <[email protected]>
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.

3 participants