Expand lab seed tiers, OpenAPI PARAMS, and console DATA/Params UX.

This commit is contained in:
2026-07-18 08:46:39 +03:00
parent f8d3cbdd59
commit 63cc409424
71 changed files with 38380 additions and 796 deletions
+17 -5
View File
@@ -188,18 +188,24 @@ def _run_rest_matrix() -> dict:
}
status = "passed" if summary.get("ok") else "failed"
err = ""
coverage = summary.get("coverage_line") or "?"
if not summary.get("ok"):
sample = summary.get("failures") or []
err = f"REST matrix failures={summary.get('failed')} total={summary.get('total')}; "
err = (
f"REST matrix coverage={coverage} critical={summary.get('critical')} "
f"probed={summary.get('probed')} declared={summary.get('declared')}; "
)
err += "; ".join(f"{f.get('verb')} {f.get('path')}{f.get('status')}" for f in sample[:8])
return {
"id": "PU-REST",
"title": f"REST IMPLEMENTED×majors {majors} (deep+stub response check)",
"title": f"REST HTTP matrix majors={majors} (IMPLEMENTED + HEAD; Layer A)",
"status": status,
"error": err,
"outputs": {
"total": summary.get("total"),
"failed": summary.get("failed"),
"coverage": coverage,
"critical": summary.get("critical"),
"probed": summary.get("probed"),
"declared": summary.get("declared"),
"by_verb": summary.get("by_verb"),
"majors": [m.get("major") for m in summary.get("majors") or []],
},
@@ -341,7 +347,12 @@ def main() -> int:
"total_failed": failed,
"rest": {
"total": rest_summary.get("total", 0),
"probed": rest_summary.get("probed", rest_summary.get("total", 0)),
"declared": rest_summary.get("declared", 0),
"critical": rest_summary.get("critical", rest_summary.get("failed", 0)),
"failed": rest_summary.get("failed", 0),
"coverage_line": rest_summary.get("coverage_line"),
"probed_eq_declared": rest_summary.get("probed_eq_declared"),
"by_verb": rest_summary.get("by_verb"),
"majors": rest_summary.get("majors"),
"failures": rest_summary.get("failures"),
@@ -386,7 +397,8 @@ def main() -> int:
print(f"Wrote {JUNIT_PATH}", flush=True)
print(
f"SUMMARY failed={failed} total={len(results)} "
f"rest.failed={summary['rest']['failed']} "
f"rest.coverage={summary['rest'].get('coverage_line')} "
f"rest.critical={summary['rest']['critical']} "
f"crud.failed={summary['crud']['failed']} "
f"soap.failed={summary['soap']['failed']}",
flush=True,