Repository navigation
Closed
Description
Follow-up to #102 / PR #110, which landed the chaos harness (Gherkin DSL, per-scenario .phpt generator, Layer-1 scheduler fuzz hook in internal/fuzz.c). Remaining work tracked here.
1. API coverage gaps
fuzzy-tests/COVERAGE.md reports 94 / 167 (56.3%). Uncovered surfaces:
- CircuitBreaker 0/4, CircuitBreakerStrategy 0/3
- Context 0/8 (
get/set/find/has+*Localvariants) - CompositeException 0/2, RemoteException 0/2
- Pool 3/13 (
acquire/release/tryAcquire/activeCount/idleCount/getState/recover/activate/deactivate/setCircuitBreakerStrategy) - Coroutine introspection:
getAwaitingInfo,getContext,getSpawn*/getSuspend*location accessors,asHiPriority,isQueued - Scope:
asNotSafely,awaitAfterCancellation,disposeAfterTimeout,getChildScopes,setChildScopeExceptionHandler - TaskGroup/TaskSet:
getResults,getErrors,getIterator,spawnWithKey,joinAll/joinAny/joinNext,suppressErrors - ThreadPool counters:
getCompletedCount/getPendingCount/getRunningCount/getWorkerCount - Channel
capacity/getIterator, ThreadChannelcapacity, FileSystemWatchergetIterator, Future/FutureState location accessors
2. Known feature-file gaps
await/await_any.feature— reinstate the omitted| F2 | 2 |Examples row (blocked on inline-fire asymmetry; the await_any_or_fail deadlocks when only later futures complete #103 fix shippingstart_waker_eventsreplay unblocks it).thread_channel/multi_thread.feature— not yet written; needs a harness extension to modelAsync\spawn_thread()bodies (a coroutine planned to run inside a child thread).
3. CI wiring
No per-PR / nightly seed-matrix workflow exists yet. Wire the Layer-1 scheduler matrix (fifo + several random:SEED) into CI as documented in FUZZ_TESTING.md.
4. Roadmap layers (stretch)
- Layer 2 — I/O chaos (Toxiproxy / in-process EvilPeer) under
fuzzy-tests/io_chaos/. - Layer 5 — allocator fault injection (
emallocwrapper,ASYNC_ALLOC_FAULT_RATE). - PCT scheduler mode — finish the depth-bounded algorithm stubbed in
internal/fuzz.c(priority-change-points).
Metadata
Metadata
Assignees
Labels
testsTest coverage task
Activity
[-]Continue fuzzy/chaos test coverage for ext/async (follow-up to #102)[/-][+]fuzzy chaos test coverage[/+]#125 fuzzy_tests: coroutine/introspection chaos coverage
#125 fuzzy_tests: context get/set/has/find/unset chaos coverage
#125 fuzzy_tests: task_group result-accessor chaos coverage
#125 fuzzy_tests: thread_pool counters + channel capacity coverage
#125 fuzzy_tests: future/futurestate location-accessor coverage
#125 fuzzy_tests: task_set joinAll/joinNext/joinAny chaos coverage
#125 fuzzy_tests: pool + circuit breaker chaos coverage
#125 fuzzy_tests: scope extras, spawn strategy, exceptions — 100% API…
#125 fuzzy_tests: mutation blocks — combinatorial scenario variants
#125 fuzzy_tests: disposeAfterTimeout uses asNotSafely (zombie, not a…
#125 fuzzy_tests: cross-thread ThreadChannel feature + restore await_…
#125 ci: replay the chaos suite under randomised scheduler seeds
#125 fix: Pool / Scope memory leaks caught by the chaos suite
#125 style: blank lines between get_gc handler blocks