Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5b86958
feat(raft): Add Phase 1 common foundation
martinffx Oct 12, 2025
6e2f2d4
feat(raft): Add MemStorage skeleton with prost
martinffx Oct 12, 2025
8acb20a
feat(raft): Implement initial_state() for MemStorage
martinffx Oct 12, 2025
14c079c
feat(raft): Implement entries() for log entry retrieval
martinffx Oct 12, 2025
a96641e
feat(raft): Implement term() for log term lookup
martinffx Oct 12, 2025
2ae36e6
test(raft): Add comprehensive tests for first_index and last_index
martinffx Oct 12, 2025
fcabfb5
feat(raft): Implement snapshot() for retrieving snapshots
martinffx Oct 12, 2025
39ff488
chore(mise): Improve check command to format and build
martinffx Oct 12, 2025
bef1267
feat(raft): Add storage mutation methods
martinffx Oct 15, 2025
f7ea112
fix: Resolve EntryType enum and format string errors
martinffx Oct 15, 2025
1157d62
feat(raft): Implement state machine and operations
martinffx Oct 15, 2025
f8654d1
feat(raft): Add snapshot and restore to StateMachine
martinffx Oct 15, 2025
9ea92d0
feat(raft): Implement RaftNode with ready processing
martinffx Oct 16, 2025
9d7e7fd
feat(raft): Add leader status queries to RaftNode
martinffx Oct 16, 2025
5e38892
test(raft): Add single-node bootstrap integration test
martinffx Oct 16, 2025
d92d924
feat(raft): Add propose/apply integration tests
martinffx Oct 16, 2025
948ea5b
Merge branch 'main' into feat/raft
martinffx Oct 16, 2025
08936be
refactor(raft): Improve error handling and fix races
martinffx Oct 16, 2025
4410707
add dataflow docs
martinffx Oct 16, 2025
6070619
feat(raft): Add gRPC transport with latest tonic/prost
martinffx Oct 18, 2025
03b9ca1
chore(raft): Upgrade to tonic 0.14 and prost 0.14
martinffx Oct 18, 2025
a13c2b7
refactor(raft): Address code review feedback
martinffx Oct 18, 2025
413dfa1
feat(protocol): Merge RESP protocol implementation
martinffx Oct 18, 2025
66b292d
fix(ci): Install protoc before running mise
martinffx Oct 18, 2025
ab6ad75
chore(ci): Use mise to manage protoc installation
martinffx Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 8 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on:
push:
branches: [ main, feat/* ]
pull_request:
branches: [ main ]
push:
branches: [ main ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,30 +17,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Protobuf Compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install mise
uses: jdx/mise-action@v2

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install dependencies
run: mise run install

- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Check Cargo.lock is up to date
run: cargo update --workspace --locked

- name: Check formatting
run: cargo fmt --all -- --check

- name: Run clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

- name: Build
run: cargo build --workspace --verbose

- name: Run tests
run: cargo test --workspace --verbose
- name: Run validation pipeline
run: mise run validate
Loading