Grain constructor - RuntimeContext hard to test
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 10.9k
- Forks
- 2.1k
- Avg merge
- 13h 56m
- Merged PRs (30d)
- 351
Description
The naked Grain constructor that relies on the RuntimeContext is difficult to emulate / swap out in a testing context.
https://github.com/OrleansContrib/OrleansTestKit/issues/134 describes the problem in more detail
Is it possible to publicize the RuntimeContext in a way that limits abuse and increases testability?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the naked Grain constructor and read the linked OrleansTestKit issue for the testing problem it describes. Then inspect how RuntimeContext is exposed and used; the issue does not define a specific API or acceptance criteria, so the desired publicization and its limits would need to be agreed before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100