yams/tests/unit/daemon/components
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
..
checkpoint_manager_test.cpp refactor(daemon): narrow checkpoint WAL capability (#84) 2026-09-03 19:37:35 -06:00
config_resolver_test.cpp fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
database_manager_test.cpp perf(daemon): trust clean metadata restarts 2026-08-03 17:52:58 -04:00
embedding_service_timing_catch2_test.cpp fix(daemon): bound semantic neighbor scores and report startup phase (#334) 2026-10-22 16:48:49 -06:00
gradient_limiter_catch2_test.cpp fix: ci build fix for pinned version change. checkpoiting write improvements before move all writes to single component 2026-04-30 08:59:05 -04:00
plugin_manager_test.cpp chore(migration): drop orphaned code-symbol artifacts from the data dir 2026-09-27 14:00:11 -06:00
post_ingest_queue_unit_catch2_test.cpp fix(daemon): wake paused post-ingest pollers on resume and capability changes (#290) 2026-10-14 08:32:54 -06:00
pressure_limited_poller_catch2_test.cpp fix(daemon): wake paused post-ingest pollers on resume and capability changes (#290) 2026-10-14 08:32:54 -06:00
startup_replay_catch2_test.cpp test(daemon): replay startup schedules under a fuzzer (#335) 2026-10-22 16:48:50 -06:00
topology_tuner_catch2_test.cpp feat(search): make topology-assisted retrieval the default (#57) 2026-07-13 20:26:43 -04:00
vector_system_manager_test.cpp test: harden release staging coverage 2026-09-13 11:26:02 -06:00