Skip to content

refactor: simplify large temper-server modules#85

Merged
rita-aga merged 2 commits intomainfrom
refactor/temper-server-readability-20260324
Mar 25, 2026
Merged

refactor: simplify large temper-server modules#85
rita-aga merged 2 commits intomainfrom
refactor/temper-server-readability-20260324

Conversation

@nerdsane
Copy link
Owner

Summary

  • split the largest temper-server evolution and WASM modules into focused submodules so the top-level files only coordinate flow
  • dedupe repeated OData entity-loading/query-application paths while preserving the existing select/expand ordering differences
  • move refactor-local tests into dedicated module test files so the production files are smaller and easier to navigate

Readability impact

  • PROD_FILES_GT1000: 3 -> 0
  • PROD_MAX_FILE_LINES: 1823 -> 938
  • largest production file moved out of temper-server; max is now crates/temper-store-turso/src/router.rs
  • readability advisory remains PROD_FILES_GT300: 108 -> 112

Verification

  • cargo fmt --all --check
  • cargo test -p temper-server --features observe
  • pre-push verification pipeline
  • cargo clippy --workspace --all-targets --all-features -- -D warnings (via pre-push gate)
  • bash scripts/readability-ratchet.sh check .ci/readability-baseline.env (via pre-push gate)
  • full workspace test suite including deterministic simulation suites and doctests (via pre-push gate)

@rita-aga rita-aga force-pushed the refactor/temper-server-readability-20260324 branch from 9a0fc2d to 526775a Compare March 24, 2026 22:56
@rita-aga rita-aga merged commit a00cf40 into main Mar 25, 2026
5 checks passed
@rita-aga rita-aga deleted the refactor/temper-server-readability-20260324 branch March 25, 2026 00:25
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.

2 participants