-
Notifications
You must be signed in to change notification settings - Fork 595
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
7.0 release checklist / misc items #1413
Comments
@stebet what do you think of this item?
|
All for it! |
Does we need QueueDeclarePassiveAsync too? |
The
|
Part of #1413 * Prefer explicit types instead of `var`
* Various editor suggestions Part of #1413 * Prefer explicit types instead of `var` * Hopefully eliminate this test flake. * Publish smaller messages to make timeouts less likely.
Is there documentation for new API? Or at least some example. |
@Gladskih there isn't too much of a difference between the old API and the new one, to be honest. If you need a reference, the best place at this time are the test applications and integration tests:
If you need further assistance, please start a discussion rather than commenting on an issue: |
Any news on the release date ? |
@YarinOmesi - if you'd like to assist with the release of version 7, test out an RC and report back how it works in your environment. |
Yes maybe. I'm almost done working on removing the non async @workflow for e.g. IBasicConsumer / Consumedispatcher. ) |
@bollhals feel free to open a draft PR with the work you have already done for that. |
Will do once I have something that is buildable / testable. |
@lukebakken Just some feedback as a developer of Wolverine, I upgraded our vnext branch to v7 RC a few weeks ago and all of our tests are passing. RC2 was a bit broken for us, but RC3 onwards has been fine. |
@Hawxy thank you! |
I noticed some of the channel extensions don't have cancellation token support. I sent in a PR #1641 There seems to be also connection extensions that might require a cancellation token (the ones that don't accept a timespan but don't have a token yet) |
I have also noticed some API asymmetry, and I don't understand why that is the case. BasicAck and Nack return |
@danielmarbach I'll wait on releasing version 7 since you're finding stuff to address. Plus, there is #1640 to deal with as well. Thank you! |
@lukebakken I was wondering if it would make sense to consistently use value task on the channel APIs Currently it is a mix and that leads to different ripple effects of having to adjust the outer code depending on the method you call. Technically the Value Task on the public API would leave room for future optimizations under the hood without having to break the API. I guess the tradeoff there is API consistency and room for future changes under the cover. https://blog.marcgravell.com/2019/08/prefer-valuetask-to-task-always-and.html?m=1 Thoughts? @stebet @paulomorgado @bollhals |
Worth mentioning that this blog post is out of date. The value task pooling mentioned was a .NET 5 experiment & never shipped as it negatively impacted performance in some scenarios and is now opt-in via an attribute (you'd need to benchmark to see if anything benefits from it). The recommendation of using The general rule of thumb is:
|
Just to clarify. By default I'm also in the deliberate usage of Value Task camp. I only brought this up because as a user of the API the mixed mode has consequences too and changing the return value is a breaking change |
I'll have to admit that I haven't delved myself into the benefits of using @mgravell might be able to shed some light in how he feels about it 5 years later. There's also Understanding the Whys, Whats, and Whens of ValueTask, from @stephentoub.
I would look into .NET source code the gather insights on real usage, but there's probably not time for that.
|
I'm in the prefer ValueTask camp as well. There was a good blog post about it here: https://blog.marcgravell.com/2019/08/prefer-valuetask-to-task-always-and.html?m=1 |
Related to @Hawxy and my comments and the guidance shared
https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/ is the type of nuanced discussion I also wanted to kick off here before the API is shipped. |
@danielmarbach @stebet @paulomorgado @Hawxy please move the Thanks. |
|
CHANGELOG.md
readonly
fields instead ofget;
TODO
comments in the codeITcpClient
or come up with a better way of setting socket options. See Removed ReceiveBufferSize and SendBufferSize to improve message rates #1415 and this discussion. Note:TcpClientAdapter
was made public in Make TcpClientAdapter public #1417 (UPDATE: this may be a FUTURE item)var
with explicit types when appropriate.await
whenIsCompletedSuccessfully
istrue
(though, frankly, I prefer easier-to-read code 😸). These appear to be relevant:QueueDeclarePassive
have async versions.The text was updated successfully, but these errors were encountered: