No description
Find a file
OpenClawd cda259a3c6
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
Add comprehensive test framework with vitest and TDD tests
- Set up vitest test framework with proper configuration
- Added test scripts to package.json (test, test:watch, test:ui)
- Created comprehensive SSRF validation tests (30 tests)
  - Tests for protocol validation (HTTP/HTTPS only)
  - Private IP blocking (127.x, 10.x, 172.16-31.x, 192.168.x, 169.254.x)
  - Kubernetes service DNS blocking (.svc, .cluster.local, etc.)
  - URL length validation (max 2048 chars)
  - DNS resolution error handling
  - Edge cases with ports, query params, userinfo
- Created cache service tests (19 tests)
  - Cache hit/miss operations
  - Deterministic key generation
  - TTL expiry behavior
  - Size limits and LRU eviction
  - Cache bypass logic
  - Statistics tracking
- Created integration test suite (marked as skip for CI)
  - Health endpoint tests
  - Playground endpoint tests with rate limiting
  - Authentication tests for screenshot endpoints
  - CORS header validation
  - Error handling and security headers
- All unit tests pass (49 total tests)
- Following strict Red/Green TDD methodology
2026-02-24 16:23:06 +00:00
.forgejo/workflows fix: promote workflow retags staging image instead of rebuilding 2026-02-20 11:34:58 +00:00
public Add GET endpoint support, response caching, and update landing page 2026-02-24 08:05:43 +00:00
sdk feat: add Node.js and Python SDKs 2026-02-23 14:02:15 +00:00
src Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00
.gitignore feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
Dockerfile fix: skip puppeteer browser download in Docker build 2026-02-20 11:21:02 +00:00
package-lock.json Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00
package.json Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00
tsconfig.json feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
vitest.config.ts Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00