Skip to content

Commit 3d0ea13

Browse files
fagemxclaude
andauthored
feat(serve): add ingestion API routes + integration tests (GH-328) (#372)
* feat(serve): add ingestion API routes + integration tests (GH-328) Expose the ingestion trigger engine and suggestion queue through 6 HTTP API routes: evaluate trigger, manual ingest, list records, list pending suggestions, accept suggestion, and reject suggestion. Includes 8 integration tests covering auto/suggest/skip flows and error cases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(serve): remove needless borrows in ingestion test URIs Clippy 1.94 catches needless &format!() on .uri() calls that implement the required traits. Remove the unnecessary borrows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(edda-serve): address PR review findings (round 1) - Replace serde_json::to_value trigger_type filter with direct match - Add test for 409 Conflict on double-accept of suggestion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0ee21c2 commit 3d0ea13

3 files changed

Lines changed: 793 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/edda-serve/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ edda-ledger = { path = "../edda-ledger", version = "0.1.1" }
1717
edda-aggregate = { path = "../edda-aggregate", version = "0.1.1" }
1818
edda-store = { path = "../edda-store", version = "0.1.1" }
1919
edda-bridge-claude = { path = "../edda-bridge-claude", version = "0.1.1" }
20+
edda-ingestion = { path = "../edda-ingestion", version = "0.1.1" }
2021
axum = "0.8"
2122
tracing = { workspace = true }
2223
tokio = { version = "1", features = ["rt-multi-thread", "net", "time"] }

0 commit comments

Comments
 (0)