Hacker GitHub

← All repos

microsoft/coyote

View on GitHub ↗ ★ 1,603 C#

Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs.

11 mentions on Hacker News by 7 people: 2 stories, 9 comments · first 2020-04-05 · latest 2024-07-09

Mentions per year 11 mentions · busiest year 2024 (6)
20082026
  1. …for even most trivial cases is enormous and makes my head hurt. Some scenarios can be addressed by https://github.com/microsoft/coyote which simplifies the task, but it is still challenging. Other than above, there exists an F#…
  2. in C# it's basically automatic https://github.com/microsoft/coyote/
  3. …is, if the issue persists. There's one that mentions F# submitted in 2020, but nothing else since: https://github.com/microsoft/coyote/issues/39 Edit: Whoops, meant to reference this one: https://stackoverflow.com/questions/61694051/how-to-…
  4. …Java has exactly that, but I couldn't recall the project name. In the case of .NET, there is https://github.com/microsoft/coyote which works by rewriting IL to inject hooks that control concurrent execution state. It would have been much…
  5. yes if your test are using a mock of the db ex: https://github.com/microsoft/coyote/blob/main/Samples/Accoun... you can simulate the races. The problem is your mock need to implement the same isolation level as your real DB and support…
  6. …It seem to me the only way to really validate this is using tool like TLA+. Or something like https://github.com/microsoft/coyote
  7. …out? If so, what have your experiences with it been like? [1] Also known as any network ever. [2] https://github.com/microsoft/coyote
  8. …to write the code in the post, it's good to know that this is a decidedly nontrivial problem. * https://github.com/microsoft/coyote
  9. This is similar to https://github.com/microsoft/coyote/