Skip to content

Feature/de 1199 openspec driver resiliency - #770

Open
bluepal-prasanthi-moparthi wants to merge 3 commits into
masterfrom
feature/DE-1199-openspec-driver-resiliency
Open

Feature/de 1199 openspec driver resiliency#770
bluepal-prasanthi-moparthi wants to merge 3 commits into
masterfrom
feature/DE-1199-openspec-driver-resiliency

Conversation

@bluepal-prasanthi-moparthi

@bluepal-prasanthi-moparthi bluepal-prasanthi-moparthi commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary
This PR standardizes official ArangoDB driver resiliency test behavior using OpenSpec (DE-1199) and archives the completed change standardize-driver-resiliency-tests.

It establishes a language-independent behavioral contract so other drivers (JavaScript, Java, Python, etc.) can implement the same resiliency / Toxiproxy scenarios against the shared Kubernetes harness, without reverse-engineering Go tests.

Changes

  • Added OpenSpec capability specs under openspec/specs/ for:

    • Load balancing
    • Ingress resiliency
    • Coordinator resiliency
    • Error classification (A–F)
    • Toxiproxy connection interruption
    • Toxiproxy latency
    • Toxiproxy packet loss
    • Toxiproxy streaming operations
    • Toxiproxy write operations
  • Added Scenario → Capability Mapping in driver-resiliency-reference.md

  • Added cross-driver implementer checklist: driver-resiliency-implementer-checklist.md

  • Synced delta specs into main OpenSpec specs and archived the change under openspec/changes/archive/2026-07-24-standardize-driver-resiliency-tests/

  • Minor Go alignment: TestToxiproxy_ExtremeLatency now asserts recovery after toxic removal.

Validation
openspec validate standardize-driver-resiliency-tests (before archive)
All 9 main capability specs validate (openspec validate --specs)
OpenSpec change archived after sync

Notes
Focus is specification + documentation standardization (plus a small Toxiproxy recovery assert). No new driver product APIs. Shared harness remains run-driver-tests.sh / toxiproxy.sh with the documented env contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant