yams/tests/unit/daemon
Trevon 6248c87bcc
Some checks are pending
Fuzz Smoke / libFuzzer smoke (push) Waiting to run
test(daemon): replay startup schedules under a fuzzer (#335)
Startup ordering defects were only observable by waiting minutes on a live
daemon, and the one that aborted it took a live restart loop to find. Give the
startup contracts a deterministic harness that runs in milliseconds.

+ startup_fuzz_support.h drives the real ServiceManagerFsm and the real
  DeferralGate with virtual time: legal phase advances, injected failure,
  shutdown and terminal reset, idle/busy, pressure/calm, starvation deadlines
  and cancellation
+ oracles fail closed on shutdown resurrection without reset, failure-to-ready,
  eligibility disagreeing with fsm.isReady(), admission outside the virtual
  deadline, and ineligible work touching the admission gate; fuzzed IEEE-754
  components must never yield non-finite or out-of-range scores
+ catch2_startup_replay runs named regressions plus 1024 seeded traces per run
  and reports the root seed and action offset for replay
+ fuzz_startup builds the same harness for libFuzzer/AFL, with a seed generator
  that refuses to overwrite different existing files
- the fuzzing lane no longer defaults to TSan: harnesses link
  -fsanitize=fuzzer,address,undefined and the two runtimes cannot share a
  process; combining them now fails with an explanation instead of producing a
  binary that cannot start
- documented the lane invocation, target naming and the coverage limits,
  including that governor call ordering inside the poller is not covered

Scope: contract-valid single-owner schedules. Executor interleavings, late
callbacks, concurrent FSM instances and filesystem/model faults are not modeled.

Signed-off-by: trvon <git@trevon.dev>
2026-10-22 16:48:50 -06:00
..
components test(daemon): replay startup schedules under a fuzzer (#335) 2026-10-22 16:48:50 -06: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): fix pool teardown race and scale hysteresis 2026-08-21 05:14:10 -06:00
asio_transport_exhaustion_catch2_test.cpp fix(search): cancel disconnected requests 2026-07-28 23:49:14 -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 test(bus): make channel capacity reuse mismatches observable 2026-09-22 07:37:30 -06:00
daemon_catch2_test.cpp fix(daemon): harden async shutdown 2026-08-17 21:43:12 -06:00
daemon_client_link_catch2_test.cpp fix: fence enrichment completion and reconcile promotion prerequisites (#157) 2026-09-12 18:53:12 -06:00
daemon_client_list_status_catch2_test.cpp fix(client): drop a retried attempt's EOF from streaming handlers (#315) 2026-10-16 09:43:39 -06:00
daemon_components_test.cpp revert(cli): drop system-daemon socket discovery and content upload 2026-10-02 07:48:31 -06:00
daemon_fsm_suite_test.cpp refactor(ipc): route Connected->ReadingHeader through state impl 2026-09-27 20:11:46 -06:00
daemon_idle_control_bench_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
daemon_metrics_catch2_test.cpp fix(daemon): synchronize metrics completion and data-root snapshots (#327) 2026-10-22 07:12:22 -06:00
daemon_metrics_status_test.cpp fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06:00
daemon_protocol_test.cpp fix(graph): --scope-cwd clusters, --name lookup, --limit (#280 follow-ups) (#284) 2026-10-09 00:01:24 -06:00
daemon_warm_bench_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
db_recovery_test.cpp fix(test): make Tests green on every platform (#264) 2026-10-02 18:47:29 -06:00
db_recovery_vacuum_catch2_test.cpp Search/grep UX, runtime hardening, and CI stabilization (#39) 2026-05-27 12:15:17 -04:00
db_salvage_catch2_test.cpp fix(daemon): sweep stale integrity-stamp temp and claim files 2026-09-27 13:57:35 -06:00
dispatch_response_mapper_catch2_test.cpp refactor(search): remove symbol-based result ranking 2026-09-22 14:40:52 -06: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 refactor(config): consolidate embedding policy 2026-08-05 20:53:18 -04:00
embedding_provider_recovery_catch2_test.cpp fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06:00
entity_graph_service_catch2_test.cpp fix: fence enrichment completion and reconcile promotion prerequisites (#157) 2026-09-12 18:53:12 -06:00
external_plugin_host_test.cpp refactor(plugins)!: remove the symbol_extractor_v1 plugin ABI 2026-09-22 13:30:35 -06:00
extraction_response_catch2_test.cpp fix(ingest): preserve extractor metadata through enrichment 2026-09-05 11:53:10 -06: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 fix(graph): make semantic_neighbor reciprocity mean mutual kNN 2026-09-22 15:32:59 -06:00
grep_result_window_catch2_test.cpp fix(retrieval): preserve content identities in JSON results 2026-09-05 11:52:46 -06: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
host_pressure_catch2_test.cpp perf(daemon): defer background work while the host is busy 2026-09-27 20:55:03 -06: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(daemon): deliver immediate in-process responses once 2026-09-05 11:52:46 -06:00
ingest_metrics_publisher_catch2_test.cpp feat: extracted public and categorized methods from service manager. 2026-04-16 10:39:10 -04:00
memory_sync_apply_catch2_test.cpp fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06:00
metrics_consistency_catch2_test.cpp refactor(daemon): remove the symbol_concurrent tuning knob and stage metrics 2026-09-22 14:41:05 -06:00
model_provider_registry_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -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 feat(plugins): prefer a system ONNX Runtime, fall back to a bundled copy 2026-10-01 22:42:15 -06:00
onnx_gpu_provider_catch2_test.cpp feat(plugins): prefer a system ONNX Runtime, fall back to a bundled copy 2026-10-01 22:42:15 -06:00
onnx_model_pool_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
onnx_model_provider_config_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
onnx_plugin_harness_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
p2p_delta_catch2_test.cpp fix(p2p): stop quarantining honest writers for concurrent-session races (#245) 2026-10-01 12:18:47 -06:00
p2p_manager_catch2_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
p2p_protocol_catch2_test.cpp fix(p2p): stop quarantining honest writers for concurrent-session races (#245) 2026-10-01 12:18:47 -06:00
p2p_transport_catch2_test.cpp fix(ci): repair audited platform regressions 2026-09-13 20:48:30 -06:00
peer_registry_catch2_test.cpp fix(p2p): harden CLI status and operator/key-rotation flows (#76) 2026-08-30 11:27:11 -06: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(ingest): preserve extractor metadata through enrichment 2026-09-05 11:53:10 -06:00
plugin_infrastructure_test.cpp fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06: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 fix(ci): stabilize sanitizer validation 2026-08-08 11:42:33 -04:00
proto_serializer_catch2_test.cpp fix(p2p): stop quarantining honest writers for concurrent-session races (#245) 2026-10-01 12:18:47 -06: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_maintenance_catch2_test.cpp test(repair): run the vectors.db vacuum case with real vector tables 2026-09-29 22:16:05 -06: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 fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06: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(build): restore clean test and benchmark links 2026-08-06 09:59:07 -04:00
request_handler_lifetime_catch2_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
request_handler_repair_cancel_catch2_test.cpp feat(p2p): add authenticated direct replication (#68) 2026-08-30 11:27:08 -06:00
request_handler_status_unary_catch2_test.cpp fix(daemon): count active requests, not connections, for idle detection (#289) 2026-10-14 08:32:54 -06: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 chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06: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 chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
service_manager_catch2_test.cpp fix(daemon): synchronize metrics completion and data-root snapshots (#327) 2026-10-22 07:12:22 -06:00
service_manager_provider_degraded_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -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 fix(rerank): sample MaxSim fragments across the whole document 2026-09-22 12:31:45 -06:00
socket_proxy_request_activity_catch2_test.cpp fix(daemon): count active requests, not connections, for idle detection (#289) 2026-10-14 08:32:54 -06:00
socket_server_teardown_catch2_test.cpp fix(daemon): count active requests, not connections, for idle detection (#289) 2026-10-14 08:32:54 -06: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 fix(ci): stablize ci 2026-07-02 21:34:18 -04:00
streaming_handlers_catch2_test.cpp cleaning up code 2026-01-21 16:54:16 -05:00
streaming_processor_catch2_test.cpp fix(ipc): preserve search stats in streamed responses (#287) 2026-10-10 09:21:47 -06:00
systemd_user_unit_catch2_test.cpp feat(cli): drive the packaged systemd user unit when it is installed 2026-10-02 07:55:16 -06:00
timing_audit_catch2_test.cpp feat: cleaning up test suite 2026-04-14 10:25:54 -04:00
topology_manager_catch2_test.cpp fix(topology): full rebuild when louvain/kmeans need a wider region (#285) 2026-10-16 09:43:40 -06:00
tune_advisor_environment_snapshot_catch2_test.cpp refactor(config): consolidate runtime tuning 2026-08-05 20:53:18 -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(ci): stabilize sanitizer validation 2026-08-08 11:42:33 -04:00
tuning_allocation_catch2_test.cpp [05/14] Consolidate configuration authority (#145) 2026-09-12 10:09:19 -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 refactor: simplify runtime paths and harden retrieval (#61) 2026-07-31 14:16:45 -04:00
tuning_registry_activity_catch2_test.cpp fix(daemon): count active requests, not connections, for idle detection (#289) 2026-10-14 08:32:54 -06: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 test(ci): stabilize platform matrix 2026-08-18 21:07:59 -06:00
vector_index_coordinator_telemetry_catch2_test.cpp test: isolate checkpoint timeout completion 2026-10-04 09:58:32 -06:00
work_coordinator_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
write_coordinator_catch2_test.cpp fix: fence enrichment completion and reconcile promotion prerequisites (#157) 2026-09-12 18:53:12 -06:00