Skip to content
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

fix: possible exception in request_context #5784

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

hansieodendaal
Copy link
Contributor

Description

Fixed possible exception in pub struct RequestContext that could occur when splitting the request and reply channel in pub fn split

Motivation and Context

The code should not be allowed to panic in use in the wrong context.

How Has This Been Tested?

Unit tests

What process can a PR reviewer use to test or verify this change?

Code walk through

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@github-actions
Copy link

github-actions bot commented Sep 19, 2023

Test Results (CI)

1 216 tests   1 216 ✔️  9m 44s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 59b9f3b.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Sep 19, 2023
@SWvheerden SWvheerden changed the title fix: fix possible exception in request_context fix: possible exception in request_context Sep 19, 2023
SWvheerden
SWvheerden previously approved these changes Sep 19, 2023
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Sep 19, 2023
@github-actions
Copy link

github-actions bot commented Sep 19, 2023

Test Results (Integration tests)

  2 files  11 suites   22m 27s ⏱️
29 tests 27 ✔️ 0 💤 2
31 runs  29 ✔️ 0 💤 2

For more details on these failures, see this check.

Results for commit 59b9f3b.

♻️ This comment has been updated with latest results.

sdbondi
sdbondi previously approved these changes Sep 21, 2023
Copy link
Member

@sdbondi sdbondi left a comment

Choose a reason for hiding this comment

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

utACK

Fixed possible exception in 'pub struct RequestContext' that could occur
when splitting the request and reply channel in 'pub fn split'
@hansieodendaal hansieodendaal dismissed stale reviews from sdbondi and SWvheerden via 6475ef7 September 21, 2023 10:01
@ghpbot-tari-project ghpbot-tari-project added the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Sep 21, 2023
@SWvheerden SWvheerden merged commit 6c8e2d3 into tari-project:development Sep 22, 2023
12 of 13 checks passed
@hansieodendaal hansieodendaal deleted the ho_fix_unwrap branch October 11, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants