fix(discord): force clean reconnect after resumed session#1239
Merged
Conversation
Aaronontheweb
commented
May 30, 2026
Comment on lines
+331
to
+335
| catch (Exception ex) | ||
| { | ||
| self.Tell(new DiscordStartFailed(attempt, ex)); | ||
| return; | ||
| } |
Comment on lines
+412
to
+416
| catch (Exception ex) | ||
| { | ||
| self.Tell(new DiscordStopFailed(replyTo, ex)); | ||
| return; | ||
| } |
Comment on lines
+557
to
+561
| catch (Exception ex) | ||
| { | ||
| self.Tell(new DispatchFailed("Discord fatal-close stop", ex)); | ||
| return; | ||
| } |
Comment on lines
+670
to
+674
| catch (Exception ex) | ||
| { | ||
| Self.Tell(new DiscordButtonDeferFailed(component.Id, ex)); | ||
| return; | ||
| } |
Comment on lines
+943
to
+947
| catch (Exception ex) | ||
| { | ||
| _logger.LogError(ex, "Error handling {Operation}", operation); | ||
| return; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Connectednetclaw-operationsguidance for Discord degraded channel diagnosticsFixes #1238.
Verification
dotnet test src/Netclaw.Actors.Tests/Netclaw.Actors.Tests.csproj --filter "FullyQualifiedName~Discord"dotnet build Netclaw.slnx --no-restoredotnet slopwatch analyzepwsh ./scripts/Add-FileHeaders.ps1 -Verifygit diff --checkNotes
./evals/run-evals.shwas attempted earlier but could not run in this shell becauseNETCLAW_EVAL_PROVIDER_TYPE,NETCLAW_EVAL_PROVIDER_ENDPOINT, andNETCLAW_EVAL_MODEL_IDare not set.