Skip to content

Improve AEDB source shape and index scan safety#33

Merged
johnny-emp merged 1 commit into
mainfrom
codex/aedb-code-quality-cleanup
May 28, 2026
Merged

Improve AEDB source shape and index scan safety#33
johnny-emp merged 1 commit into
mainfrom
codex/aedb-code-quality-cleanup

Conversation

@johnny-emp
Copy link
Copy Markdown
Contributor

Summary

  • split large implementation/test modules and add source-shape guardrails
  • replace several production panic paths with explicit error handling or fixed-array parsing
  • fix secondary-index range scan capacity overflow for uncapped residual LIKE scans

Validation

  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --test source_shape
  • cargo test --lib storage::index
  • cargo bench --bench perf index_like_name_residual_limit_20 -- --sample-size=10

Notes

  • Sanitization scan found no local identity or machine-path strings in the shipped source/test/docs paths.
  • The targeted benchmark now completes after the index scan safety fix; I am not claiming broad throughput improvement from the structural cleanup alone.

@johnny-emp johnny-emp merged commit df2acb4 into main May 28, 2026
8 of 9 checks passed
@johnny-emp johnny-emp deleted the codex/aedb-code-quality-cleanup branch May 28, 2026 04:36
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