Skip to content

do not cap migrated setting retry is exception is session conflict#4557

Merged
aiqiaoy merged 6 commits into
mainfrom
session-fix
Jul 15, 2026
Merged

do not cap migrated setting retry is exception is session conflict#4557
aiqiaoy merged 6 commits into
mainfrom
session-fix

Conversation

@aiqiaoy

@aiqiaoy aiqiaoy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2026 18:43
@aiqiaoy
aiqiaoy requested a review from a team as a code owner July 14, 2026 18:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the broker-based listener’s session creation and message-polling error handling, aiming to improve resiliency around session creation and expired-session recovery.

Changes:

  • Removes the migrated-settings-specific retry limit during session creation.
  • Adds a recovery path for TaskAgentSessionExpiredException in GetNextMessageAsync, gated by SkipSessionRecover.
Show a summary per file
File Description
src/Runner.Listener/BrokerMessageListener.cs Adjusts session creation retry behavior and adds session-expired recovery logic during message polling.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment thread src/Runner.Listener/BrokerMessageListener.cs
Comment thread src/Runner.Listener/BrokerMessageListener.cs
Comment thread src/Runner.Listener/BrokerMessageListener.cs Outdated
aiqiaoy added 4 commits July 14, 2026 19:31
Refactor comments for clarity regarding retry limits on migrated settings.
Remove session recovery logic for expired sessions.
@aiqiaoy aiqiaoy changed the title fix a few issue around session creation and validation do not cap migrated setting retry is exception is session conflict Jul 14, 2026
@aiqiaoy
aiqiaoy merged commit 1d0011c into main Jul 15, 2026
12 checks passed
@aiqiaoy
aiqiaoy deleted the session-fix branch July 15, 2026 14:00
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