Skip to content

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

Merged
ekzhu merged 8 commits into
microsoft:stagingfrom
MohMaz:mohmaz-remove-subscription-worker-client-disconnect
Oct 5, 2024
Merged

fix: remove subscription on client disconnect in worker runtime#3653
ekzhu merged 8 commits into
microsoft:stagingfrom
MohMaz:mohmaz-remove-subscription-worker-client-disconnect

Conversation

@MohMaz

@MohMaz MohMaz commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

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

MohMaz commented Oct 4, 2024

Copy link
Copy Markdown
Contributor Author

@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

Comment thread python/packages/autogen-core/tests/test_worker_runtime.py Outdated
Comment thread python/packages/autogen-core/src/autogen_core/application/_helpers.py Outdated
Comment thread python/packages/autogen-core/src/autogen_core/application/_worker_runtime_host.py Outdated
Comment thread python/packages/autogen-core/tests/test_worker_runtime.py Outdated
@MohMaz MohMaz requested a review from ekzhu October 4, 2024 21:38
@MohMaz

MohMaz commented Oct 5, 2024

Copy link
Copy Markdown
Contributor Author

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
@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 <ekzhu@users.noreply.github.com>

* 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 <jackgerrits@users.noreply.github.com>

* 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 <ekzhu@users.noreply.github.com>

---------

Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
Co-authored-by: Adam Fourney <adamfo@microsoft.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
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