yams/tests/unit/daemon
Trevon bfe7cd94ca
test: expand storage-readiness coverage — 48.1%→59.8% broad, 74.3% narrow (#38)
* fix(daemon): avoid socket cancel on stop

Signal active sockets with shutdown only so pending I/O wakes without entering Boost.Asio's reactor cancel path during teardown.

* fix(metadata): open read pools read-only

* ci: fix coverage report generation

* fix(metadata): tag unscoped pool holders

* test(daemon): avoid ipc teardown takeover

* ci: skip plugin coverage objects

* fix(daemon): repair completed FTS5 ghosts

* build(vector): guard unusable FAISS headers

* ci: use clang gcov for coverage

* test(daemon): stabilize arm CI flakes

* Harden search and compression numeric config

* fix(daemon): reconcile orphan vector embeddings

* fix: address vector cleanup review comments

* chore(main): release 0.16.1

* Harden search ranking divisors

* Harden snippet distance and command registration

* test(storage): add readiness coverage gate

Document the distributed sync readiness surface and add direct adapter, refcount, and GC failure-path coverage.

* test(storage): cover strict resolver fallback

* fix(search): tighten retrieval ranking

Honor component weights in default RRF, over-fetch vector chunks before document aggregation, and persist topology centroids for sparse-guided routing.

* fix(search): route weak queries through topology

* fix(search): improve rerank and weak queries

Wire provider-backed cross reranking, add direct Simeon candidates for weak lexical pools, and report stage-level retrieval metrics.

* fix(storage): honor explicit plugin names

Add readiness coverage for factory, URL backend, and compressed storage failure paths.

* fix(storage): avoid remote size listing

* fix(api): rollback failed content adds

* test(storage): cover engine readiness

* test(storage): cover compressed readiness

* fix(core): harden delete and recovery paths

Route prune and local delete fallback through DocumentService so content, metadata, vectors, and KG cleanup stay consistent.

Treat transient SQLite quick_check lock failures as ResourceBusy, refresh IPC activity on streaming writes, and preserve reranker config in tuner seeding.

* test(storage): cover URL backend readiness

* fix(api): harden content rollback

* feat(storage): add list seam, URL listing, and write-edge coverage

* feat(api): reconcile ambiguous remote manifest writes

* feat(storage): add deep compressed scan validation

* test(storage): add plugin loader error path coverage

* fix(gc): prune reference rows after collection

* test(api,storage): add health, compact, gc, and verify edge coverage

* docs: update storage-readiness coverage to 71.8%

* test(metadata): add connection pool shutdown-while-leased coverage

* test(metadata): add tree builder snapshot root stability coverage

* test(vector): add before-init and after-close operation rejection coverage

* test(metadata): add database post-close, open-failure, and cache-clear coverage

* test(integrity): add P2P wrong-hash rejection + batch matrix resolution

* docs: audit and resolve all matrix rows — 18 fully covered

* test(metadata): add failed-migration and rollback coverage

* test(storage): add getBlockSize-invalid-key, empty-verify, PUT/DELETE retry coverage

* feat(storage): add file-open and rename failure hooks + ContentStore retrieve edge coverage

* docs: add broad-surface coverage with per-subsystem breakdown

* test(integrity): add chunk validator manifest validation coverage

* test(vector): add batch insert, delete, and update operation coverage

* docs: update integrity subsystem coverage to 46.4%

* docs: consolidate coverage report — clean matrix, remove boilerplate

* docs: update coverage with complete-suite numbers — 59.8% broad, 74.3% narrow

* test(storage): add URLBackend HEAD exists with 2xx coverage

* bump submodules

* fix: address PR review — curl_slist leak, ec ordering, CAS rollback, production hooks

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-25 22:58:15 -04:00
..
components test: expand storage-readiness coverage — 48.1%→59.8% broad, 74.3% narrow (#38) 2026-05-25 22:58:15 -04:00
abi_model_provider_dimension_catch2_test.cpp fix(security): harden fold-flagged guards 2026-05-17 23:50:32 -04:00
admission_policy_catch2_test.cpp feat: search / retrieval optimizations for performance and accuracy 2026-04-09 21:34:43 -04:00
asio_connection_pool_catch2_test.cpp test(daemon): wait for idle socket close 2026-05-19 11:38:49 -04:00
asio_transport_exhaustion_catch2_test.cpp feat: checkpoint for updated unit test for daemon communication / protobuf errors. Expanding untested surface with optimizations for communication and ingestion. Additional work for ci apt / rpm install improvements, systemd configuration for installs and improved validation testing of packaging logic to reduce gpg errors. 2026-04-08 11:39:15 -04:00
asio_transport_inflight_close_ipc_prefix_catch2_test.cpp fix: download logic improvements and ci test fixes. Stagging download fixes seperate from search features 2026-05-04 13:29:17 -04:00
daemon_background_processing_test.cpp docs: clean up docs and ci fixes for tests 2026-04-25 00:08:18 -04:00
daemon_catch2_test.cpp fix: fixing fragiling SocketServer loop 2026-05-01 12:07:40 -04:00
daemon_client_list_status_catch2_test.cpp fix: fixing fragiling SocketServer loop 2026-05-01 12:07:40 -04:00
daemon_components_test.cpp feat: cleaning up request path and fixing checkpoint logic underload 2026-04-24 18:42:00 -04:00
daemon_fsm_suite_test.cpp Stabilize daemon recovery and vector reconciliation (#36) 2026-05-23 21:21:55 -04:00
daemon_idle_control_bench_catch2_test.cpp feat: Correctness fixes for flaky tests, improvements for linux build logic based on clion change. Improvement of tuning / governor daemon logic to simplify scaling logic 2026-04-09 11:45:57 -04:00
daemon_metrics_status_test.cpp test: expand storage-readiness coverage — 48.1%→59.8% broad, 74.3% narrow (#38) 2026-05-25 22:58:15 -04:00
daemon_protocol_test.cpp feat: CLI request handling refactor for unified load and error handling. Continued refactor and improvement of search engine with scoped tuning 2026-04-09 19:38:04 -04:00
daemon_warm_bench_catch2_test.cpp fix: windows test fixes 2026-02-20 22:51:41 -05:00
db_recovery_test.cpp test: expand storage-readiness coverage — 48.1%→59.8% broad, 74.3% narrow (#38) 2026-05-25 22:58:15 -04:00
db_salvage_catch2_test.cpp refactor(daemon): write-architecture — WriteBatchCoalescer, MetadataWriteFacade, tryEnqueue, batch coalescing (#28) 2026-05-10 20:57:58 -04:00
dispatch_response_mapper_catch2_test.cpp fix: improvement of graph node source and retrieval logic and sandbox fixes in add command 2026-02-25 12:23:25 -05:00
dynamic_cap_sentinel_catch2_test.cpp fix(daemon): WAL flush on shutdown, corrupt-DB salvage, test hardening, ASAN fix (#27) 2026-05-09 23:03:23 -04:00
embedding_lifecycle_manager_catch2_test.cpp fix: HNSW and topology rebuilds are now batched in repair. Cleaning up from previous migration work 2026-04-21 13:58:10 -04:00
embedding_provider_recovery_catch2_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
entity_graph_service_catch2_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
external_plugin_host_test.cpp feat: security fixes for plugin install and adding additional UTF-8 string sanitization 2026-02-28 10:17:03 -05:00
frame_reader_catch2_test.cpp feat: checkpoint for updated unit test for daemon communication / protobuf errors. Expanding untested surface with optimizations for communication and ingestion. Additional work for ci apt / rpm install improvements, systemd configuration for installs and improved validation testing of packaging logic to reduce gpg errors. 2026-04-08 11:39:15 -04:00
graph_component_catch2_test.cpp perf: instrumentation and ingestion optimizations 2026-04-27 11:01:59 -04:00
health_check_isolation_catch2_test.cpp feat: adding perf optimizations for search and grep based on previous commit. Improving model logic for future embeddinggemma and improved colbert support. Re-ranking fixes for search to improve retrieval accuracy. 2026-03-11 14:15:33 -04:00
idle_zero_concurrency_catch2_test.cpp fix: correctness fix for abalation test, fixes for daemon response (regression is present underload/repair) 2026-04-20 13:20:24 -04:00
in_process_transport_catch2_test.cpp fix(ci): stabilize remaining test lanes 2026-05-18 20:25:19 -04:00
ingest_metrics_publisher_catch2_test.cpp feat: extracted public and categorized methods from service manager. 2026-04-16 10:39:10 -04:00
metrics_consistency_catch2_test.cpp fix: testing improvements and bug fixes in daemon logic for lifecycle management 2026-02-17 15:55:29 -05:00
model_provider_registry_catch2_test.cpp feat: tuning topology system to work better with simeon via configuration 2026-04-19 20:10:46 -04:00
multiplex_client_catch2_test.cpp feat: optimizations based on profile runs in hashing and work coordinator. test updates and correctness fixes 2026-02-24 21:06:43 -05:00
onnx_embedding_diagnostic_test.cpp experimental → main: MCP timeout fix + doctor integrity checks + search/perf improvements (#31) 2026-05-14 23:29:44 -04:00
onnx_gpu_provider_catch2_test.cpp fix: make Gemma CoreML fallback automatic 2026-04-02 13:56:42 -04:00
onnx_model_pool_catch2_test.cpp fix: download logic improvements and ci test fixes. Stagging download fixes seperate from search features 2026-05-04 13:29:17 -04:00
onnx_model_provider_config_test.cpp feat: massive commit. Download logic updates with expanding controls (stop, start, resume etc.) from daemon control. This is used in my archive openclaw agent. This commit also includes work to harden onnxruntime abi access. this should allow loading newer abi's when builds are pinned to 1.23.0. 2026-03-21 17:12:47 -04:00
onnx_plugin_harness_test.cpp feat: removing experiments and unifying compression in embeddings storage. 2026-04-21 18:13:37 -04:00
physical_walk_ttl_test.cpp feat(daemon): adaptive physical-walk TTL + statvfs fast-path, hot-tier getenv→TuningSnapshot, RepairScheduling/RepairTuning slice extractions 2026-04-28 15:39:11 -04:00
plugin_content_extractor_adapter_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
plugin_infrastructure_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
plugin_manager_config_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
post_ingest_dynamic_cap_recovery_catch2_test.cpp feat: adding perf optimizations for search and grep based on previous commit. Improving model logic for future embeddinggemma and improved colbert support. Re-ranking fixes for search to improve retrieval accuracy. 2026-03-11 14:15:33 -04:00
repair_binary_filter_catch2_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
repair_hold_hints_test.cpp optimizations: throughput optimizations, bug fixes, docs updates and benchmark cleanup 2026-04-26 21:43:00 -04:00
repair_scheduling_adapter_catch2_test.cpp feat: repair logic improvements, expanding config options to disable rebuilding/repair for memory constrained systems 2026-04-24 10:53:15 -04:00
repair_service_post_ingest_channel_catch2_test.cpp Stabilize daemon recovery and vector reconciliation (#36) 2026-05-23 21:21:55 -04:00
request_handler_admission_reuse_catch2_test.cpp feat: search / retrieval optimizations for performance and accuracy 2026-04-09 21:34:43 -04:00
request_handler_io_edge_catch2_test.cpp fix: fixing leakage of build artifacts in release, unifying repair path, adding cache to tuning path and bumping simeon version 2026-04-23 10:20:25 -04:00
request_handler_lifetime_catch2_test.cpp feat: optimizations based on profile runs in hashing and work coordinator. test updates and correctness fixes 2026-02-24 21:06:43 -05:00
request_handler_repair_cancel_catch2_test.cpp test: expand storage-readiness coverage — 48.1%→59.8% broad, 74.3% narrow (#38) 2026-05-25 22:58:15 -04:00
request_handler_status_unary_catch2_test.cpp feat: recovery test improvements 2026-02-09 23:27:12 -05:00
request_handler_writer_drain_cleanup_catch2_test.cpp fix: windows test fixes 2026-02-20 22:51:41 -05:00
resource_governance_test.cpp perf: cleaning up search experiments, moving to new routing system for search for larger corpus improvements, repair system now triggers semantic / graph repair 2026-04-29 20:36:02 -04:00
sandbox_detection_catch2_test.cpp fix(asan): Addressing asan test regressions and suite failures from recent changes 2026-05-01 09:18:39 -04:00
search_admission_controller_catch2_test.cpp feat: extracted public and categorized methods from service manager. 2026-04-16 10:39:10 -04:00
service_manager_catch2_test.cpp fix(docs,ci): addressing breaking changes in zig v0.16.x in Dockerfile, docs update and code cleanup 2026-04-25 11:27:18 -04:00
service_manager_provider_degraded_catch2_test.cpp feat: test fixes, metric expansion, build improvements for gliner 2026-04-23 08:48:33 -04:00
service_manager_shutdown_ownership_catch2_test.cpp fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
simeon_model_provider_catch2_test.cpp feat: bumping simeon, improving graph building, clustering, configuration tuning of said system and updating benchmark files. Additional fixes for daemon readiness and status return underload. 2026-04-20 09:31:45 -04:00
status_readiness_vector_usable_catch2_test.cpp feat: adding instrumentation and config options for build and repair system. Bumping simeon and improving topology system with experimental findings 2026-04-24 17:38:24 -04:00
storage_preflight_test.cpp feat: adding storage check, db corruption check and tests 2026-04-26 18:54:17 -04:00
streaming_handlers_catch2_test.cpp cleaning up code 2026-01-21 16:54:16 -05:00
streaming_processor_catch2_test.cpp ci improvements. streaming processor bug and test fixes 2025-12-28 17:13:54 -05:00
timing_audit_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
topology_manager_catch2_test.cpp feat: extracted public and categorized methods from service manager. 2026-04-16 10:39:10 -04:00
tune_advisor_snapshot_test.cpp test: instrumentation expansions for ingestion speed experiments and tuning improvements 2026-04-26 19:55:29 -04:00
tune_advisor_threshold_test.cpp fix: fixing leakage of build artifacts in release, unifying repair path, adding cache to tuning path and bumping simeon version 2026-04-23 10:20:25 -04:00
tuning_allocation_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
tuning_loop_wakeup_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
tuning_reconciliation_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
vector_index_coordinator_bulk_scope_catch2_test.cpp feat: continued extraction from serach engine and vector improvements. This allows for better testing and experimentation 2026-04-22 12:24:28 -04:00
vector_index_coordinator_coalesce_catch2_test.cpp fix: text fixes, connection handingly fixes and continued refactor work 2026-04-22 13:20:18 -04:00
vector_index_coordinator_telemetry_catch2_test.cpp feat: continued extraction from serach engine and vector improvements. This allows for better testing and experimentation 2026-04-22 12:24:28 -04:00
work_coordinator_test.cpp fix(ci): stabilize test matrix 2026-05-18 16:36:21 -04:00