-
Notifications
You must be signed in to change notification settings - Fork 87
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
Error inspection #4660
Merged
Merged
Error inspection #4660
Conversation
This file contains 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
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
ouroboros-network-api/src/Ouroboros/Network/AnchoredFragment.hs
Outdated
Show resolved
Hide resolved
samcowger
commented
Aug 29, 2023
samcowger
commented
Aug 29, 2023
ouroboros-network-framework/src/Ouroboros/Network/Protocol/Handshake/Version.hs
Outdated
Show resolved
Hide resolved
samcowger
commented
Aug 29, 2023
ouroboros-network-testing/src/Ouroboros/Network/Testing/Data/Script.hs
Outdated
Show resolved
Hide resolved
samcowger
commented
Aug 29, 2023
ouroboros-network/src/Ouroboros/Network/BlockFetch/ClientRegistry.hs
Outdated
Show resolved
Hide resolved
coot
reviewed
Sep 1, 2023
coot
requested changes
Sep 6, 2023
ouroboros-network-api/src/Ouroboros/Network/AnchoredFragment.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-framework/src/Ouroboros/Network/Protocol/Handshake/Version.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-testing/src/Ouroboros/Network/Testing/Data/Script.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/src/Ouroboros/Network/BlockFetch/ClientRegistry.hs
Outdated
Show resolved
Hide resolved
ouroboros-network/src/Ouroboros/Network/PeerSelection/Governor.hs
Outdated
Show resolved
Hide resolved
0385c43
to
271b00f
Compare
coot
approved these changes
Oct 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for a thorough review :).
ouroboros-network-api/src/Ouroboros/Network/AnchoredFragment.hs
Outdated
Show resolved
Hide resolved
samcowger
added a commit
to samcowger/ouroboros-network
that referenced
this pull request
Oct 18, 2023
See IntersectMBO#4660 Co-authored-by: Marcin Szamotulski <coot@coot.me>
samcowger
added a commit
to samcowger/ouroboros-network
that referenced
this pull request
Oct 18, 2023
See IntersectMBO#4660 Co-authored-by: Marcin Szamotulski <coot@coot.me>
2277864
to
41884a0
Compare
samcowger
added a commit
to samcowger/ouroboros-network
that referenced
this pull request
Oct 23, 2023
See IntersectMBO#4660 Co-authored-by: Marcin Szamotulski <coot@coot.me>
bfd8dfc
to
5b4b235
Compare
Closed
samcowger
added a commit
to samcowger/ouroboros-network
that referenced
this pull request
Oct 26, 2023
Made redundant by cb018d9, in IntersectMBO#4660.
…ure compile-time" This reverts commit be97f46.
…`guardedDecisions`" This reverts commit 2614b70.
…tern" This reverts commit 3930912.
…c resolution Before, we would find the domain that corresponded to an async action only after the action completed/errored, by looking it up in the original list of actions. Now, we carry the domain through the process of awaiting the async's completion/erroring.
…ure mode" This reverts commit 18f498b.
This reverts commit c61f9b4.
…esult constructor" This reverts commit 2425803.
Co-authored-by: Marcin Szamotulski <coot@coot.me>
See IntersectMBO#4660 Co-authored-by: Marcin Szamotulski <coot@coot.me>
The document this deletes has been migrated to issue IntersectMBO#3836.
Made redundant by cb018d9, in IntersectMBO#4660.
f008f85
to
fa6d87f
Compare
@samcowger I rebased your PR. |
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.
Description
This PR contains results of Galois's inspection of the use of
error
inouroboros-network
packages. It consists of an enumeration oferror
uses and my notes on each. I was able to document, modify, or remove some errors immediately; others would benefit from more information or clarification from someone more familiar with this codebase.Viewers/reviewers may examine the diff first and my notes (currently at
3836/3836.md
) second, or vice versa. Everything in the diff should have a corresponding entry in the notes, but not every entry in the notes has a corresponding diff.This is marked as a draft because there are a couple of changes that may warrant additional unit tests, and because I recognize my notes will need to be relocated or removed before merging, but I wanted to get eyes on this work sooner rather than later. I'll be going through this to annotate (in Github) items that I feel especially warrant another set of eyes.
Fixes #3836.
cc @coot @mtullsen
Checklist