4 Commits
Author SHA1 Message Date
rock cc4ba87e2d fix: resolve all 75 mem-cli compilation errors across 25 files
CI / CI (pull_request) Successful in 4m17s
- embed_text -> embed_one + Vector to Vec<f32> conversion (semantic.rs, unified_query.rs)
- DefaultAgent: remove shadowing type alias, re-export concrete struct
- Position: add Default derive for unwrap_or_default()
- streaming_body -> streaming + yield Result<Bytes> for SSE
- borrow-after-move: compute len before move in 6 places
- add missing imports: sqlx::Row, chrono::Timelike, std::pin::Pin
- add missing derives: Serialize on CompactionStats, FacetFilters
- extract_token: extract Authorization header from HttpRequest first
- AuthError variants: match actual enum (TokenExpired, not ExpiredToken)
- validate_bearer_token -> extract_bearer_token (sync check)
- check_limit -> check with correct args
- link_entities -> link_mentions (async, correct signature)
- InferenceEngine::new + infer_facts: match actual 2-arg/3-arg API
- RoutedResult: add missing confidence_score + is_valid fields
- client_sdk: fix ownership (remove borrow, save status before .text())
- index_chunk -> index_document (match OpenSearchClient API)
- recursive async dfs_paths: Box::pin for infinite future size
- log -> tracing crate in authentik_service_account
- CI: add SQLX_OFFLINE=true env var for offline builds
2026-09-07 17:54:29 -07:00
rock ce6ddc2b3d fix: resolve 29 mem-cli compilation errors
CI / CI (pull_request) Failing after 2m32s
- Add missing dependencies: futures-util, async-stream, rand
- Create auth/mod.rs to export AuthProvider, AuthError, Claims
- Add unauthorized() to response_builder for 401 responses
- Fix lifetime specifier in community_metrics::rank_by_metric()
- Create DefaultAgent type alias in agent module
- Export AppState and AuthMode from http_server
- Fix answer_validator import path (crate::query::answer_validator)
- Replace sqlx::query! macros with runtime queries in rebuild_handler
- Add mem-store db_repo to exports (temporarily disabled due to schema mismatches)
- Import visualize_handler, visualize_stream_handler, compact_handler in http_server
- Define LlmCaller trait locally in compaction.rs

Test Status:
-  mem-ingest: 81/81 tests passing
-  mem-cli: compilation in progress (reduced from 29 errors)
2026-09-07 17:15:31 -07:00
rock 08b2c4470c ci: comprehensive build + test + push workflow for all packages
CI / CI (pull_request) Failing after 2m25s
## Problems fixed:
- Workflow only tested mem-ingest, missing mem-cli + mem-llm + mem-store errors
- No early error detection (build step missing)
- No linting/code quality checks
- Docker operations ran on all events (should be push/dispatch only)

## Changes:
-  Build all packages (cargo build --all)
-  Test all packages (cargo test --all --lib)
-  Clippy linting (catches E0106, E0425, E0432, E0433 at compile time)
-  Docker build/push only on main/dispatch (not on PRs)
-  Full output (150 lines) for debugging
-  Conditional gates for push-only operations
2026-09-07 17:00:33 -07:00
rock f2975b82c2 fix: sqlx offline cache + borrow fix + Dockerfile + unified CI
CI / CI (pull_request) Failing after 5m49s
- Add .sqlx/ query cache (generated from live DB)
- SQLX_OFFLINE=true in Dockerfile (no DB at build time)
- Fix borrow checker errors in versioning.rs (ref from)
- rust:1.81 → rust:1-bookworm
- cargo build --release -p mem-cli
- Single CI job, DOCKER_HOST, build+push on all events
2026-09-07 16:43:27 -07:00

Diff Content Not Available