yams/tests/unit
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
..
api chore: remove dead functions and address Fold triage leaks (#82) 2026-09-02 08:27:05 -04:00
app/services fix(graph): rank explore targets and stop version crowding (#322) 2026-10-18 10:38:55 -06:00
benchmarks fix(bench): reject unknown arguments 2026-08-05 20:53:19 -04:00
chunking Remediate Fold SAST findings 2026-05-27 22:41:44 -04:00
cli fix(graph): rank explore targets and stop version crowding (#322) 2026-10-18 10:38:55 -06:00
common test(infra): give every Catch2 process a private XDG_STATE_HOME (#296) 2026-10-14 08:32:56 -06:00
compression fix(cli): decode compressed content in yams get 2026-09-26 21:10:00 -06:00
config revert(cli): drop system-daemon socket discovery and content upload 2026-10-02 07:48:31 -06:00
content fix(extraction): tighten UTF-8 detection and keep units after bad surrogates 2026-09-23 17:56:59 -06:00
core fix(core): correct feature-test detection in cpp23_features.hpp (#278) 2026-10-08 14:30:27 -06:00
crypto
daemon test(daemon): replay startup schedules under a fuzzer (#335) 2026-10-22 16:48:50 -06:00
detection fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
downloader fix(downloader): emit the Resolving and Verifying progress stages 2026-09-24 18:20:21 -06:00
extraction fix(extraction): build TextBasicHandler capabilities from one extension set 2026-10-01 10:35:32 -06:00
ingest
integrity chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
manifest fix(storage): harden manifest and graph cleanup 2026-07-29 02:35:04 -04:00
mcp fix(retrieval): preserve content identities in JSON results 2026-09-05 11:52:46 -06:00
memory_sync fix(daemon): admit cold reads and preserve sync deferral accounting (#331) 2026-10-22 07:12:25 -06:00
metadata feat(memory-sync): apply paged winners through bounded adapters (#330) 2026-10-22 07:12:24 -06:00
plugins test(plugins): use host library names in the ORT resolution tests 2026-10-01 23:55:40 -06:00
repair refactor(repair): share embedding candidate policy (#85) 2026-09-03 19:37:36 -06:00
resolve perf(ingest): harden daemon batching and shutdown (#58) 2026-07-17 07:04:30 -04:00
search fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
storage fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
topology fix(topology): make louvain moves independent of hash order (#313) 2026-10-16 09:43:38 -06:00
vector feat(memory-sync): apply paged winners through bounded adapters (#330) 2026-10-22 07:12:24 -06:00
wal fix(wal): encode the entry header field by field, never via padding (#274) 2026-10-08 14:30:25 -06:00
meson.build test: expand coverage and harden ci 2026-05-20 10:37:54 -04:00