Comments (7)
Yes, I can roll-back.
FWIW, I agree that we need better testing; it has long been concerning to me that such a subtle system as STM has as little testing infrastructure as it does.
from stm.
I have released 0.5.3.0 with the TBQueue
rewrite reverted.
@konsumlamm , perhaps you would like to have a stab at improving stm
's testsuite and then trying your change again?
from stm.
I'd recommend adding property tests (e.g. using QuickCheck
). While we're at it, we can also replace test-framework
by tasty
(which is more actively developed).
Currently there are two test suites, one in tests/
and one in testsuite/
. It seems tests/
is just for GHC? It would be nice to unify the two.
from stm.
Another way forward might be to start off with the new implementation as a TBQueue.Experimental
variant or something like that and only replace the old version with it after a while has passed and we've worked out the kinks
from stm.
We should probably roll it back until we have better testing. @bgamari would you be able to do that?
from stm.
Reverted in #80.
from stm.
Thank you! Can we also deprecate 2.5.2.0, 2.5.2.1 on Hackage since they are buggy?
from stm.
Related Issues (20)
- Add MArray instance for TArray in IO
- newBroadcastTChan question HOT 1
- documentation for "thread blocked indefinitely in an STM transaction"? HOT 1
- registerDelay not implemented on the non-threaded runtime
- Dependency bounds on Hackage are wrong? HOT 9
- TBQueue haddock docs say "blocks" instead of "retries"
- Why is it blocked? HOT 3
- Huge dependency footprint due to `hashable-1.4.0.0` (via `nats`) HOT 4
- Nonexhaustive pattern in `TBQueue`
- add method to snapshot TBQueue without flushing HOT 3
- MonadFail instance (feature request) HOT 2
- Support size for TBQueue HOT 2
- [stm] : Make it build with ghc-9.8 HOT 1
- Why isn't `TBQueue` backed by an array? HOT 1
- Add `waitTSemN`
- Use `Int` for capacity in `TBQueue` interface again?
- CPP macro usage in TArray relies on undefined behavior
- flushTBQueue is broken since 2.5.2.0 HOT 2
- This repo is broken on case-insensitive systems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm.