Git actions for CI/CD#29
Merged
Merged
Conversation
Contributor
acmshanyi
commented
May 29, 2026
- CI/CD github actions
- better tests
There was a problem hiding this comment.
Pull request overview
This PR adds GitHub Actions CI coverage for formatting, clippy, tests, sanitizers, and shuttle tests, while also updating test/runtime compatibility around rand and fixing a couple of correctness/cleanup issues.
Changes:
- Adds a new CI workflow for Rust formatting, clippy, fuzz crate build checks, normal tests, ASan tests, and shuttle concurrency tests.
- Updates RNG handling for shuttle/non-shuttle test compatibility and refreshes
rand-related lockfile entries. - Fixes
MappingTabledrop accounting and frees transient inner nodes during snapshot recovery validation.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/ci.yaml |
Adds CI jobs for formatting, linting, building, sanitizer tests, and shuttle tests. |
Cargo.toml |
Bumps the root crate version to 0.5.4. |
benchmark/Cargo.lock |
Refreshes dependency resolution, including rand updates, but leaves the path dependency version stale. |
fuzz/Cargo.lock |
Refreshes dependency resolution, including rand updates, but leaves the path dependency version stale. |
src/utils/mod.rs |
Adds a shuttle-compatible RNG wrapper exposing random_range. |
src/utils/mapping_table.rs |
Fixes initialized record count used during Drop. |
src/tests/concurrent.rs |
Adds a cfg-aware random range macro for rand API compatibility. |
src/storage.rs |
Simplifies the snapshot manager import. |
src/snapshot.rs |
Frees transient inner nodes during recovery validation and adjusts shuttle scheduler settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.