{"id":31107815,"url":"https://github.com/dmk/memsanity","last_synced_at":"2026-06-13T21:33:58.096Z","repository":{"id":314650110,"uuid":"1056276893","full_name":"dmk/memsanity","owner":"dmk","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-13T19:29:41.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-13T21:27:37.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-13T18:43:06.000Z","updated_at":"2025-09-13T19:29:45.000Z","dependencies_parsed_at":"2025-09-13T21:27:39.761Z","dependency_job_id":"e4ba4aeb-c035-4e08-9de6-eba1722381b7","html_url":"https://github.com/dmk/memsanity","commit_stats":null,"previous_names":["dmk/memsanity"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dmk/memsanity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Fmemsanity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Fmemsanity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Fmemsanity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Fmemsanity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmk","download_url":"https://codeload.github.com/dmk/memsanity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Fmemsanity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34301731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-17T05:40:55.733Z","updated_at":"2026-06-13T21:33:58.090Z","avatar_url":"https://github.com/dmk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memsanity\n\nMemsanity is a tool to provide sanity/functional tests for simple to complex behaviours\nfor in-memory storages (Memcached, Redis).\n\n## Design\n\nGoals:\n\n- Correctness-first sanity/functional checks for Memcached/Redis-like stores\n- Small, deterministic test plans with light pressure (optionally configurable)\n- All behavior defined in YAML suites; reproducible, versionable\n- Async engine (Rust + Tokio)\n\nCore concepts:\n\n- Suite: A collection of scenarios against one or more targets\n- Target: A thing to talk to (e.g., memcached TCP endpoint, redis)\n- Client: Protocol driver bound to a target (memcached, redis)\n- Scenario: Steps + assertions executed with a schedule (once, duration, iterations)\n- Step: An operation (set/get/mget/delete, etc.) with inputs\n- Assertion: Expected outcome (value equals, key miss, latency bound, ttl expiry)\n- Hooks (optional): External commands you can run before/after a scenario to orchestrate env (e.g., pause a backend)\n\nMinimal YAML shape: see `examples/concept/minimal.yaml`.\n\nExample suites:\n\n- Simple standalone Memcached → `examples/concept/memcached-core.yaml`\n- Proxy/load balancer in front of Memcached → `examples/concept/proxy-memcached-smoke.yaml`\n\nSee `examples/concept/README.md` for the intents behind each example.\n\nMVP roadmap (where to start):\n\n1. CLI skeleton (Rust): `memsanity run \u003csuite.yaml\u003e`\n2. YAML loader + schema (serde + serde_yaml)\n3. Protocol driver (Memcached first): minimal text protocol client (set/get/delete/mget)\n4. Execution engine: schedules (once/iterations/duration), concurrency (Tokio tasks), timeouts\n5. Assertions + reporting: per-step result, summary, non-zero exit on failure\n6. Hooks runner (optional): `exec` with timeout for external orchestration\n7. Examples: see `examples/concept/` (including the two referenced above)\n\nNotes:\n\n- Not performance-first, but allow configurable concurrency to apply gentle pressure\n- Deterministic defaults (fixed keys unless templated), optional key templating later\n- Start with Memcached; Redis driver can follow the same abstractions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmk%2Fmemsanity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmk%2Fmemsanity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmk%2Fmemsanity/lists"}