sandcastle: POST /api/validate-backend (#12) #42
No reviewers
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa!42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-12"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #12
Plan Task 8. Mount validateBackend(deps) in buildApp at /api/validate-backend. - server/src/routes/validate-backend.ts: parses body via @coa/schema BackendSchema ({kind:'self-hosted', configServerUrl}); on parse failure returns 400 {error} carrying the schema's http-URL message; otherwise runs probeBackend and returns the 200 BackendReport (six probes). - server/src/app.ts: import + app.route('/api/validate-backend', ...). - server/test/validate-backend.test.ts: passing report vs the stub (6 probes); ftp://x → 400 whose error mentions http. - STATUS.md: log + header note #12 landed. - .gitignore: ignore root .pnpm-store/ (local pnpm cache). Verified: CI=true pnpm -r typecheck && pnpm -r test both exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>