scylladb / scylladb/cpp-rs-driver

Safety: Run tests with miri

Open
#215 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3
Dominant language
C++
Stars
26
Forks
19
Avg merge
1d 21h
Merged PRs (30d)
7

Description

miri is Rust's built-in undefined behavior detection tool: https://github.com/rust-lang/miri
To increase safety of the project by reducing undefined behavior, we should run our tests with it.

Sadly, it is not possible to use it with FFI, so we can't run our C++ test suite with it. We can however run our Rust tests, which will be a motivation to write more of them, and perhaps port the C++ tests later.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the project's Rust test command and existing test or CI configuration; the issue does not name specific files or entry points. Check how Miri is installed and invoked, keep the C++ FFI test suite excluded, and consider the work done when the Rust tests run successfully under Miri.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.