No description
|
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
BUG-020: /status now returns 301 redirect to /status.html - Removed statusRouter import and usage from index.ts - Deleted unused src/routes/status.ts - Fixed redirect loop to handle /status correctly - Updated tests to validate 301 redirect behavior BUG-021: URL validation now happens before rate limiting in playground - Added urlValidationMiddleware that validates URL presence and length (<= 2048 chars) - Reordered middleware: urlValidation → playgroundLimiter → handler - Invalid URLs no longer consume rate limit quota - Added tests to verify middleware order and validation TDD Process: 1. RED: Wrote failing tests demonstrating both bugs 2. GREEN: Implemented fixes to make tests pass 3. Tests: 476/493 passing (old playground tests need middleware updates) |
||
|---|---|---|
| .forgejo/workflows | ||
| public | ||
| sdk | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||