forked from mtusi2026/mtusi2026lab6
refactor code
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"utc": "2026-11-06T07:13:15.774667+00:00",
|
||||
"checks": [
|
||||
{
|
||||
"command": [
|
||||
"make",
|
||||
"check"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": "python3 scripts/check_contract.py\nPASS: offline skeleton structure, local refs and Python syntax; application NOT tested.\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"make",
|
||||
"validate",
|
||||
"PYTHON=.venv/bin/python"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": ".venv/bin/python scripts/validate_openapi.py\nPASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"docker",
|
||||
"compose",
|
||||
"config",
|
||||
"--quiet"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": ""
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"docker",
|
||||
"run",
|
||||
"--rm",
|
||||
"-v",
|
||||
"/Users/garfieldmk/Desktop/study/highLoad/mtusi2026lab6:/workspace:ro",
|
||||
"--entrypoint",
|
||||
"promtool",
|
||||
"prom/prometheus:v3.2.1",
|
||||
"test",
|
||||
"rules",
|
||||
"/workspace/student-tests/alerts.test.yaml",
|
||||
"/workspace/student-tests/burn_rules.test.yaml",
|
||||
"/workspace/student-tests/telemetry_alerts.test.yaml"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": " SUCCESS\n\n SUCCESS\n\n SUCCESS\n\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"make",
|
||||
"test"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": "python3 tests/smoke.py --base-url \"http://localhost:8080\" \nPASS: lab6 public API scenario; infrastructure and grading evidence remain separate.\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"python3",
|
||||
"student-tests/check_dashboard.py"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"output": "PASS: 27 dashboard queries; empty targets: 5\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"docker",
|
||||
"compose",
|
||||
"exec",
|
||||
"-T",
|
||||
"api-a",
|
||||
"/app/.venv/bin/python",
|
||||
"-"
|
||||
],
|
||||
"stdin": "student-tests/telemetry_unit.py",
|
||||
"exit_code": 0,
|
||||
"output": "......\n----------------------------------------------------------------------\nRan 6 tests in 0.097s\n\nOK\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"docker",
|
||||
"compose",
|
||||
"exec",
|
||||
"-T",
|
||||
"api-a",
|
||||
"/app/.venv/bin/python",
|
||||
"-"
|
||||
],
|
||||
"stdin": "student-tests/pipeline_critical.py",
|
||||
"exit_code": 0,
|
||||
"output": "2026-11-06 07:13:14,688 WARNING worker staging cleanup deferred attachment_id=e9a74014-aaa3-4d97-9012-baf9611cc58b\n.........\n----------------------------------------------------------------------\nRan 9 tests in 0.010s\n\nOK\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"docker",
|
||||
"compose",
|
||||
"exec",
|
||||
"-T",
|
||||
"api-a",
|
||||
"/app/.venv/bin/python",
|
||||
"-"
|
||||
],
|
||||
"stdin": "student-tests/slo_commit_integration.py",
|
||||
"exit_code": 0,
|
||||
"output": "PASS: commit boundaries; immutable good/bad cohorts; late completion remains bad\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user