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

RNET-1137: Fix progress notification #3615

Merged
merged 8 commits into from
Jun 25, 2024
Merged

Conversation

papafe
Copy link
Contributor

@papafe papafe commented Jun 3, 2024

This PR uses the correct core value for the progress notification, and adds some basic tests

Fixes #3580

TODO

  • Changelog entry
  • Tests

@cla-bot cla-bot bot added the cla: yes label Jun 3, 2024
@papafe papafe requested a review from nirinchev June 3, 2024 09:26
@papafe
Copy link
Contributor Author

papafe commented Jun 3, 2024

@nirinchev I've added a basic test, not sure how extensive we want to be with testing for this.

@@ -828,25 +837,18 @@ public void Session_OnSessionError()
}

completionTcs.TrySetResult();
lastReportedProgress = p.ProgressEstimate;
Copy link
Member

Choose a reason for hiding this comment

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

Why is this happening after we complete the tcs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't, it should happen all the time, I'll fix it 🤦

@papafe papafe merged commit a1ac24b into main Jun 25, 2024
73 of 76 checks passed
@papafe papafe deleted the fp/fix-progress-notifications branch June 25, 2024 11:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Follow up on progress notification
2 participants