No description
Find a file
OpenClaw Agent e11ae1e074
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled
Fix BUG-020 and BUG-021 using TDD
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)
2026-03-06 18:06:53 +01:00
.forgejo/workflows fix: promote workflow retags staging image instead of rebuilding 2026-02-20 11:34:58 +00:00
public Add blog post: How to Capture Dark Mode Screenshots Automatically 2026-03-06 12:12:12 +01:00
sdk feat: add POST /v1/screenshots/batch endpoint 2026-03-06 09:09:27 +01:00
src Fix BUG-020 and BUG-021 using TDD 2026-03-06 18:06:53 +01:00
.gitignore feat: update landing page, changelog, compare, quick-start with darkMode + hideSelectors features 2026-03-04 15:08:17 +01:00
Dockerfile fix: skip puppeteer browser download in Docker build 2026-02-20 11:21:02 +00:00
package-lock.json Fix OpenAPI spec inconsistencies 2026-03-06 12:06:02 +01:00
package.json chore: bump version to 0.9.0 2026-03-06 09:19:42 +01:00
tsconfig.json fix: exclude test files from tsc build 2026-02-25 08:09:58 +00:00
vitest.config.ts Add comprehensive test framework with vitest and TDD tests 2026-02-24 16:23:06 +00:00