Skip to content

Commit a5f7112

Browse files
committed
add inventory support.
Implements inventory job management including S3-style configuration APIs (generate, put, get, list, delete), job status monitoring, and admin control operations (cancel, suspend, resume). Includes type system with filters, schedules, and output formats (CSV, JSON, Parquet), plus examples and documentation.
1 parent f4b4c90 commit a5f7112

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+5051
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Cargo.lock
44
.idea
55
*.env
66
.cargo
7+
/nul

CLAUDE.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,18 @@ Claude will periodically analyze the codebase and suggest:
204204

205205
### Pre-commit Checklist
206206

207+
**MANDATORY: ALL steps must pass before submitting any PR. No warnings or errors are acceptable.**
208+
207209
Before any code changes:
208-
1. ✅ Run `cargo fmt --all` to check and fix code formatting
209-
2. ✅ Run `cargo test` to ensure all tests pass
210-
3. ✅ Run `cargo clippy --all-targets --all-features --workspace -- -D warnings` to check for common mistakes and ensure no warnings
211-
4. ✅ Ensure new code has appropriate test coverage
212-
5. ✅ Verify no redundant comments are added
210+
1.**Format code**: Run `cargo fmt --all` to fix all formatting issues
211+
2.**Fix clippy warnings**: Run `cargo clippy --fix --allow-dirty --allow-staged --all-targets` to auto-fix lints
212+
3.**Verify clippy clean**: Run `cargo clippy --all-targets` and ensure **ZERO warnings**
213+
4.**Run all tests**: Run `cargo test` to ensure all tests pass
214+
5.**Build everything**: Run `cargo build --all-targets` to verify all code compiles
215+
6.**Test coverage**: Ensure new code has appropriate test coverage
216+
7.**No redundant comments**: Verify no redundant comments are added
217+
218+
**Note:** If clippy shows warnings, you MUST fix them. Use `cargo clippy --fix` or fix manually.
213219

214220
## Directory Structure Conventions
215221

@@ -248,8 +254,10 @@ fn operation() -> Result<Response, Error> {
248254
## Quick Reference
249255

250256
- **Fix formatting**: `cargo fmt --all`
257+
- **Auto-fix clippy**: `cargo clippy --fix --allow-dirty --allow-staged --all-targets`
258+
- **Check clippy**: `cargo clippy --all-targets` (must show zero warnings)
251259
- **Run tests**: `cargo test`
252260
- **Run specific test**: `cargo test test_name`
253-
- **Check code**: `cargo clippy --all-targets --all-features --workspace -- -D warnings`
254-
- **Build project**: `cargo build --release`
261+
- **Build all**: `cargo build --all-targets`
262+
- **Build release**: `cargo build --release`
255263
- **Generate docs**: `cargo doc --open`

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async-recursion = "1.1"
3838
async-stream = "0.3"
3939
async-trait = "0.1"
4040
base64 = "0.22"
41-
chrono = "0.4"
41+
chrono = { version = "0.4", features = ["serde"] }
4242
crc = "3.3"
4343
dashmap = "6.1.0"
4444
env_logger = "0.11"
@@ -54,6 +54,7 @@ regex = "1.12"
5454
ring = { version = "0.17", optional = true, default-features = false, features = ["alloc"] }
5555
serde = { version = "1.0", features = ["derive"] }
5656
serde_json = "1.0"
57+
serde_yaml = "0.9"
5758
sha2 = { version = "0.10", optional = true }
5859
urlencoding = "2.1"
5960
xmltree = "0.12"

0 commit comments

Comments
 (0)