Skip to content

chore: merge develop into main - #35

Merged
madkoding merged 6 commits into
mainfrom
develop
Aug 21, 2026
Merged

chore: merge develop into main#35
madkoding merged 6 commits into
mainfrom
develop

Conversation

@madkoding

Copy link
Copy Markdown
Owner

No description provided.

- Add tempfile dependency for tests
- Fix type annotations in storage and upload tests
- Fix test_fractal_strategy_creation to properly initialize SurrealDB client
- Fix test_complete_upload_flow to respect chunk size constraints
- Resolve all clippy warnings:
  - Use .div_ceil() instead of manual division
  - Use is_none_or instead of map_or
  - Remove unnecessary format! calls
  - Fix field_reassign_with_default violations
  - Collapse nested if statements
  - Remove needless lifetimes
  - Use as_deref instead of as_ref().map()
  - Use .ends_with() instead of chars().last()
- Apply cargo fmt to all files

All 255 tests passing, clippy --lib clean, fmt check clean
test: fix all unit tests and clippy warnings
- Add #[expect(dead_code)] for utility functions and structs
  that are part of the API but not currently used in the binary
- Add #[expect(clippy::enum_variant_names)] for ConfigError enum

These are legitimate cases where code is kept for future extensibility.
- Change #[expect(dead_code)] to #[allow(dead_code)]
- Change #[expect(clippy::enum_variant_names)] to #[allow(clippy::enum_variant_names)]

expect() generates errors when the lint is not triggered in CI with -D warnings
# Conflicts:
#	Cargo.toml
#	src/api/error.rs
#	src/api/handlers.rs
#	src/api/progress.rs
#	src/db/connection.rs
#	src/main.rs
#	src/models/llm/brain.rs
#	src/models/llm/providers/ollama.rs
#	src/models/llm/strategy.rs
#	src/services/fractal_builder.rs
#	src/services/ingestion/service.rs
#	src/services/rem_phase.rs
#	src/services/storage/mod.rs
#	src/services/upload/mod.rs
@madkoding
madkoding merged commit 97f22c6 into main Aug 21, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant