{"enrichment":{"faq":[{"a":"yield-injections provides test-only infrastructure for injecting cooperative yields and synthetic failures into resumable state machines. It lets you mark yield points, control when they fire, and verify state-machine re-entry safety, interleaving behavior, and abandonment cleanup. The skill includes fixed injectors for unit tests and simulator support for randomized deterministic coverage.","q":"What is yield-injections and what does it test?"},{"a":"yield-injections ensures resumable state machine boundaries are safe and re-entrant by providing controlled yield and failure injection points. You can test that state machines correctly handle mid-yield drops, verify cleanup behavior when statements abandon, and confirm that re-entry after a yield doesn't corrupt state or violate invariants.","q":"How do resumable state machine boundaries stay safe and re-entrant?"},{"a":"Yes. yield-injections supports deterministic concurrent interleaving tests with reproducible seeds. This lets you simulate lock contention and out-of-order completion scenarios in a controlled, repeatable way, ensuring your concurrent code behaves correctly across different execution orders.","q":"Can yield-injections run deterministic interleaving tests?"},{"a":"yield-injections verifies cleanup and abandonment behavior when statements drop mid-yield. It lets you inject failure points at yield checkpoints to test that resources are properly released, state is rolled back correctly, and no dangling references or leaked cursors remain after an abandoned statement.","q":"What happens when statements drop mid-yield in yield-injections?"},{"a":"Yes. yield-injections includes YieldInjector and FailureInjector components for synthetic failure injection into state machines. You can inject transition yields using macros, mark checkpoint yield points, and control cursor yield injection to test how your code handles failures at specific interleaving moments.","q":"Does yield-injections support synthetic failure injection?"},{"a":"yield-injections is released under the MIT license, allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.","q":"What license does yield-injections use?"}],"shadow_tags":["test-infrastructure","failure-simulation","concurrency-testing","state-machine-safety","deterministic-scheduling","resumable-execution","interleaving-control","chaos-engineering"],"summary_rewrite":"yield-injections provides test-only infrastructure for injecting cooperative yields and synthetic failures into resumable state machines. Use it to test state-machine re-entry safety, interleaving behavior, and abandonment cleanup by marking yield points and controlling when they fire. Includes fixed injectors for unit tests and simulator support for randomized deterministic coverage."},"files":[{"bytes":8827,"path":".claude/skills/yield-injections/SKILL.md","sha256":"1ef2db6058904e74fe3698c492f9c4caa80a8ed968d529c2d29fcc1e87017c03","url":"https://skillfed.io/files/tursodatabase/turso/yield-injections/4b8a28ea/SKILL.md"}],"id":"tursodatabase/turso/yield-injections","links":{"html":"https://skillfed.io/tursodatabase/turso/yield-injections","md":"https://skillfed.io/tursodatabase/turso/yield-injections.md","repo":"https://github.com/tursodatabase/turso"},"meta":{"agents_supported":["claude-code"],"first_seen":"2026-07-28","forks":1211,"language":"Rust","last_updated":"2026-07-28","license":"MIT","name":"yield-injections","publisher":"tursodatabase","stars":23479},"relations":{"similar":[{"id":"tursodatabase/turso/mvcc"},{"id":"tursodatabase/agent-skills/turso-db"},{"id":"itechmeat/llm-code/turso"},{"id":"tursodatabase/turso/async-io-model"},{"id":"tursodatabase/turso/memory-benchmark"},{"id":"tursodatabase/agent-skills/turso-cloud"},{"id":"tursodatabase/turso/debugging"},{"id":"aibtcdev/skills/ordinals-marketplace"},{"id":"tursodatabase/turso/cdc"},{"id":"aibtcdev/skills/aibtc-news-classifieds"}]},"slug":{"owner":"tursodatabase","repo":"turso","skill":"yield-injections"},"version":"4b8a28ea"}
