Files
mercadodevida/work/artifacts/F-127/qa.json
2026-08-21 17:56:15 +02:00

21 lines
944 B
JSON

{
"verdict": "APPROVED",
"reviewer": "qa",
"feature_id": "F-127",
"summary": "Verificación de build y comportamiento esperado.",
"checks": [
"Repro pre-fix: curl -X DELETE /api/categories/<id> → 502 'Proxy error'",
"Repro pre-fix: backend directo curl -X DELETE /categories/<id> → 204",
"Causa: NextResponse.json({...}, {status:204}) lanza excepción capturada por catch → 502",
"Post-fix (compilado): handler DELETE usa new Response(body, {status})",
"tsc --noEmit exit 0",
"npm run build exit 0",
"Bundle _1u9yuco._.js contiene: return new Response(e.body, {status, statusText, headers: {Content-Length}})"
],
"evidence_files": [
"apps/admin/src/app/api/[...path]/route.ts",
"apps/admin/.next/server/chunks/_1u9yuco._.js"
],
"notes": "Tras reinicio del monolith, DELETE categorías/marcas/productos deberían devolver 204 desde el admin.",
"reviewed_at": "2026-08-21T15:56:00Z"
}