chore: migrate from quickcheck to proptest for VRL Arbitrary impls
VRL and Vector both pull in quickcheck and proptest for property-based testing. This causes two versions of rand in the dependency tree. Since we own both repos, we can consolidate.
VRL side (tracked in vectordotdev/vrl):
- Port
quickcheck::Arbitraryimpls forValue,BorrowedSegment,KeyStringto proptest - Rewrite the
QuickChecktest invalue/value.rsas aproptest!block - Drop
quickcheck, rename thearbitraryfeature toproptest
Vector side (this repo):
- Update
generate_fixtures.rsto use proptest strategies instead ofquickcheck::Gen - Update vrl dep:
features = ["arbitrary"]→features = ["proptest"] - Drop
quickcheckfrom thegenerate-fixturesfeature invector-core
Hello, I had a bit of a trivial question while working on this issue - I don't see a task in vectordotdev/vrl related to this, so I'm assuming both PRs (VRL and Vector) will be linked to this issue in the Vector repository. Please let me know if I'm mistaken.
The scope would be easier to review if the first version defined a small acceptance contract for migrate from quickcheck to proptest for VRL Arbitrary impls. I would call out the default behavior, the migration/backwards-compatibility story, and one or two cases that are intentionally out of scope so the implementation does not grow beyond the original request.
Hello, I had a bit of a trivial question while working on this issue - I don't see a task in vectordotdev/vrl related to this, so I'm assuming both PRs (VRL and Vector) will be linked to this issue in the Vector repository. Please let me know if I'm mistaken.
Hello, I created https://github.com/vectordotdev/vrl/issues/1851. Are you interested in working on this?
Thank you for creating the linked issue. Yes, I'm interested - I didn't see an official "claim" or "assignment" system for issues, but happy to follow whatever procedure is standard.
Thank you for creating the linked issue. Yes, I'm interested - I didn't see an official "claim" or "assignment" system for issues, but happy to follow whatever procedure is standard.
There's no formal process. We use issues to coordinate and avoid duplicate work.
Feel free to work on this!