Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add distribution to Memcached #10

Merged
merged 50 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
e307531
Add configuration file support
sunsided Oct 2, 2023
169d2d5
Add explicit configuration file support
sunsided Oct 15, 2023
b824806
Allow specifying configuration on command-line
sunsided Oct 15, 2023
d4f239a
Add TODO for validating Memcache connection string
sunsided Oct 15, 2023
a6dd218
Move memcache configuration to memcache backend
sunsided Nov 1, 2023
745588a
Refactor memcache backend into multiple files
sunsided Nov 11, 2023
31df749
Add file_id as field to structured log output
sunsided Nov 11, 2023
84e316c
Refactor boxing of dynamic backends for registration
sunsided Nov 12, 2023
e8413e4
Refator backend registration using TryCreateFromConfig trait
sunsided Nov 12, 2023
91bae14
Change log message after registration to be dynamic
sunsided Nov 12, 2023
119953f
Refactor backend registration
sunsided Nov 12, 2023
9b2363d
Add rendezvous at server shutdown
sunsided Nov 12, 2023
22e15cc
Refactor shutdown rendezvous into own type
sunsided Nov 12, 2023
2df23ba
Add basic dispatch of distribution events
sunsided Nov 12, 2023
b5c0d05
Use rendezvous crate for shutdown rendezvous
sunsided Dec 1, 2023
15397fa
Update dependencies post rebase
sunsided Dec 6, 2023
c77af93
Add initial writing to Memcached
sunsided Dec 10, 2023
544d946
Offload Memcached writing to background thread
sunsided Dec 10, 2023
96e6dd8
Add writing of metadata and data to Memcached
sunsided Dec 11, 2023
b9167b2
Resolve warnings reported by clippy
sunsided Dec 11, 2023
7a653d0
Rename messages module to protobuf
sunsided Dec 11, 2023
6dd8903
Install protoc for GitHub Actions
sunsided Dec 11, 2023
bb1e5a5
Pin protoc version to 23.2 in GitHub Actions
sunsided Dec 11, 2023
1fcf760
Extract map_ok and box_ok into own crate
sunsided Dec 11, 2023
97b7b33
Convert project to workspace
sunsided Dec 11, 2023
ee14812
Move hashes and write summary to own crate
sunsided Dec 11, 2023
5688577
Refactor functionality into more crates
sunsided Dec 11, 2023
7db35dc
Update dependencies
sunsided Dec 11, 2023
22d667a
Remove unused dependencies from server
sunsided Dec 11, 2023
37236e4
Further refactor code into separate crates
sunsided Dec 11, 2023
9456b23
Refactor configuration loading
sunsided Dec 11, 2023
497116a
Rename file_distribution to file-distribution
sunsided Dec 11, 2023
aa3318a
Merge backbone-traits with file-distribution
sunsided Dec 11, 2023
d948b11
Refactor dynamic dispatch FileAccessor
sunsided Dec 11, 2023
d194676
Rename FileAccessor to FileProvider and GetFile
sunsided Dec 11, 2023
b607c22
Rename Backend trait to DistributeFile
sunsided Dec 11, 2023
4820d19
Rename DynBackend to Backend
sunsided Dec 11, 2023
e6161c0
Update GitHub Actions for crate testing
sunsided Dec 11, 2023
8bc669e
Enable all features in GitHub Action tests
sunsided Dec 11, 2023
ce8e347
Build all projects in Workspace in GitHub Actions
sunsided Dec 11, 2023
095b0e2
Remove problemdetails and hyper from backbone
sunsided Dec 11, 2023
4582817
Add crates and bins paths to GitHub Actions
sunsided May 15, 2024
cd8a01d
Remove some TODOs from backend doctests
sunsided May 16, 2024
d114f71
Update dependencies
sunsided May 16, 2024
c7a7ec5
Merge branch 'main' into feature/memcached
sunsided May 16, 2024
1b8ce04
Update base64 dependency
sunsided May 16, 2024
a4dc32b
Add protocol buffer compiler to Rust workflow
sunsided May 16, 2024
b112dfe
Install protoc via GitHub workflow
sunsided May 16, 2024
03e882f
Apply clippy fixes
sunsided May 16, 2024
3d21254
Disable MacOS and Windows builds
sunsided May 16, 2024
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
21 changes: 17 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ on:
- 'Cargo.toml'
- 'Cargo.lock'
- 'src/**'
- 'crates/**'
- 'bins/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ "main" ]
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- 'src/**'
- 'crates/**'
- 'bins/**'
- '.github/workflows/rust.yml'

env:
Expand All @@ -26,8 +30,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
os:
- ubuntu-latest
# - macos-latest
# - windows-latest
steps:
- name: Install Protocol Buffers Compiler
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: Check format
run: cargo fmt --check
Expand All @@ -43,16 +54,18 @@ jobs:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Install Protocol Buffers Compiler
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install nextest
uses: taiki-e/install-action@nextest
- uses: actions/checkout@v4
- name: Generate code coverage
run: cargo llvm-cov nextest --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
Expand Down
Loading