jose-compu / jose-compu/edgeshield

ci: add miniflare Workers integration tests for Cloudflare KV

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
ci/cd storage testing
Dominant language
TypeScript
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Goal
Complete the runtime coverage gap left when #11 closed: validate `edgeshield/storage/cloudflare-kv` against a real Workers-like environment.

## Scope
- Add miniflare (or wrangler dev) job in CI
- Smoke test KV `get` / `set` / `increment` / TTL through the adapter
- Run rate-limit integration test against Cloudflare KV binding mock

## Acceptance criteria
- [ ] CI job runs on PRs and main
- [ ] Adapter conformance suite passes under miniflare
- [ ] Document local dev command in README

## Related
- Closed #11 (Bun + Deno landed in v0.4.0)

Contributor guide

Open the contributing guide

Research direction

Start at edgeshield/storage/cloudflare-kv, the existing adapter conformance suite, and the rate-limit integration test; then inspect the current CI configuration and README. Done means a Workers-like KV integration job runs on PRs and main, the get/set/increment/TTL and rate-limit checks pass, and the local development command is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd, cloud, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.