Skip to content

Tracing async-exceptions #5116

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Tracing async-exceptions #5116

wants to merge 4 commits into from

Conversation

coot
Copy link
Contributor

@coot coot commented Apr 25, 2025

Description

  • outbound-governor: don't trace async-exceptions
  • server: don't trace async-exceptions
  • connection-manager: don't trace async-exceptions
  • connection-manager: counters

Checklist

Quality

  • Commit sequence makes sense and have useful messages, see ref.
  • New tests are added and existing tests are updated.
  • Self-reviewed the PR.

Maintenance

  • Linked an issue or added the PR to the current sprint of ouroboros-network project.
  • Added labels.
  • Updated changelog files.
  • The documentation has been properly updated, see ref.

@coot coot requested a review from a team as a code owner April 25, 2025 11:38
@github-project-automation github-project-automation bot moved this to In Progress in Ouroboros Network Apr 25, 2025
@coot coot added connection-manager Issues / PRs related to connection-manager outbound-governor Issues / PRs related to outbound-governor labels Apr 25, 2025
@coot coot force-pushed the coot/async-exceptions-handling branch from bc51d09 to 3383d4a Compare April 25, 2025 11:39
coot added 4 commits April 25, 2025 14:08
The outbound-governor can be killed by an `AsyncException`, we shouldn't
trace such cases as `TraceOutboundGovernorCriticalFailure`.

The same for PeerStateActions's establishPeerConnection method.
We should ignore all async-exceptions, not just `AsyncCancelled`.
* Added `terminating` connections;
* Fixed an issue when we trace counters, but they haven't changed.
@coot coot force-pushed the coot/async-exceptions-handling branch from 3383d4a to e2bad2b Compare April 25, 2025 12:17
@coot coot self-assigned this Apr 25, 2025
Copy link
Contributor

@crocodile-dentist crocodile-dentist left a comment

Choose a reason for hiding this comment

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

lgtm

@coot coot added this pull request to the merge queue Apr 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connection-manager Issues / PRs related to connection-manager outbound-governor Issues / PRs related to outbound-governor
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants