-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Simmy API Review and Feedback #1901
Comments
@martintmk Don't we want to covert this issue to something like Simmy API review? I have a couple of observations as well. Just to name a few:
|
Done. Also, I agree on your points (
This was intentional, for strategies that produce exceptions and results we don't want to return cached value, but always a new instance. That's why we don't have that field for fault and outcome chaos strategies. |
I'll prepare the PR for |
@martintmk that would be a nice enhancement! |
@martintmk, @martincostello We have a live documentation to an unreleased set of features. I think it might make sense to add a banner at the top of the chaos pages to inform the reader that it will be soon released. What do you guys think? |
Alternatively/additionally, just add somewhere that the features are part of Polly 8.3.0, which users will find doesn't exist yet. |
@peter-csala BTW the link to Simmy in the Chaos index page is pointing to the Polly-Contrib repo. Also, we should make the announcement in the old repo (PollyContrib/Simmy) and pin it once Simmy is live, I can do so. |
@martincostello @martintmk I also think we should include some documentation in the readme as GitHub is the main point of contact so if there's nothing about Simmy in the repo's readme Simmy might be overlooked. We could create a readme file into the Simmy folder and also link it somehow in the main readme and maybe put the Simmy logo as well in the main readme? |
Done: |
@martintmk where's the PR where you implemented the:
|
You can check the following PRs: |
Hey @martincostello , @vany0114 , @peter-csala Is there anything missing before we can release
We should change the default to |
Yes, I'm working on that one. I'll raise a PR soon hopefully. Otherwise I have only one more question: The |
Agree, let's use |
We were just waiting on documentation, but quite a few API changes have recently come up. We should be confident everything is definitely "right" before we ship 8.3, as then there's no going back with regards to breaking changes. |
I'll give the API a shot over the week and try to find some inconsistencies/improvements. |
@vany0114 I still miss further reading links on the chaos engineering documentation page (something similar what we have on Rate limiter). Since the page talks mainly about Simmy (and not about chaos engineering in general) I think it might make sense to add links which are explaining the fundamentals (like hypothesis, steady-state, experiment, blast radius, etc.). |
Created related PR (#1937). Regarding 8.3.0 release, we are good to go from my point of view. Both API and docs are great and we can still enhance those as we go (similar to what we did with Polly, where documentation is alive). But the release depends on thumbs up from you folks. (@vany0114 , @peter-csala , @martincostello) |
Sorry for the absence guys, I've been enjoying some vacation but I'll be back on Monday, I'll review it, but I think it looks great and solid for the release, I agree with @martintmk |
@martintmk Are we planning to release it as a separate package ( |
It does not add any extra dependencies, so directly in |
It feels a bit odd to have chaos strategies inside the core package, but I can accept your reasoning. |
Hey folks, I was checking with .NET guys and I'll be also publishing blog post here: https://devblogs.microsoft.com/dotnet/ Something along the lines of |
Guys I just reviewed the documentation and the latest changes on the APIs especially the ones on The only thing that I do not 100% agree is the renaming changes: Monkey vs Chaos because of the reasons discussed here: I wasn't aware you guys had made that decision already even though we had agreed previously to keep the So I think we should at least clarify that in the docs since as you can see in the below issue the users are expecting to find the MonkeyPolicies (MonkeyStrategies) |
How about we add something along the lines of "Major differences" section to https://www.pollydocs.org/chaos ? (similar to https://www.pollydocs.org/migration-v8#major-differences) |
Hey folks, with #1951 done is there anything else preventing us releasing Fyi, my blog post is almost done, now I just need the new package that I can use and reference :) |
I'd just like some final confirmation from @vany0114 that everything is covered now. Once everyone is happy, I can sort out pushing the package. |
@martincostello @martintmk I just left some minor feedback, otherwise I think everything is in place! Once the release is done I can pin an informational announcement in the old repo. |
Cool, if we think we're done then I'll close this issue. Just need to merge #1954 then I can publish the release. |
The 8.3.0 packages are now all in NuGet.org. |
The blog post is up: https://devblogs.microsoft.com/dotnet/resilience-and-chaos-engineering/ |
Awesome - can you PR the link into the community links (whatever it's called) bit of the docs? |
I was playing with the new chaos strategies and I think we can simplify the setup of common faults by introducing something similar to
PredicateBuilder
, but this time for faults.Instead of:
We can allow this simplified API for common scenarios:
We can also use this issue for additional API feedback.
cc @martincostello , @vany0114
The text was updated successfully, but these errors were encountered: