Prepare verified laboratory 7 implementation and evidence
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"state": "PASS_NORMAL_UI_HISTORY_WRITE_READBACK",
|
||||
"stage": "NORMAL_UI_PAGE_HISTORY_RELOAD",
|
||||
"route": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"events": [
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/",
|
||||
"method": "POST",
|
||||
"status": 201
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 200
|
||||
}
|
||||
],
|
||||
"write_status": 201,
|
||||
"get_status": 200,
|
||||
"raw_diagnostic_events": 4,
|
||||
"expected_optional_state_events": 4,
|
||||
"unexpected_events": 0,
|
||||
"script_seeded": false,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"state":"RUNNING","stage":"BROWSER_LAUNCH"}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_LOG_TRACE_LINKS",
|
||||
"stage": "UI_TRACE_TO_LOGS_SPAN_DETAILS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 0,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"metric_window_end_milliseconds": 1794801466224,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2",
|
||||
"console_error_count": 4,
|
||||
"native_browser_metrics": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"expr": "sum(rate(http_requests[1m]))"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"expr": "histogram_quantile(0.50,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"expr": "histogram_quantile(0.99,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"expr": "(sum(rate(http_requests{status_class=\"5xx\"}[1m])) or vector(0)) / clamp_min(sum(rate(http_requests[1m])),0.001)"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"expr": "sum by (outcome)(rate(jobs_processed[1m]))"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(time_to_ready_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"expr": "max(queue_oldest_age_seconds)"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"expr": "max(queue_depth)"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"expr": "sum(worker_busy)"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"expr": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"expr": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"expr": "sum(db_pool_used)"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"expr": "sum(db_pool_pending_acquires)"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"expr": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"expr": "max(ready_slo_timely_10s) / clamp_min(max(ready_slo_matured_10s),1)"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"expr": "max(ready_slo_timely_30s) / clamp_min(max(ready_slo_matured_30s),1)"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"expr": "max(ready_slo_timely_300s) / clamp_min(max(ready_slo_matured_300s),1)"
|
||||
}
|
||||
],
|
||||
"response_cap": false,
|
||||
"links": {
|
||||
"trace_spans": 42,
|
||||
"parent_relations": 41,
|
||||
"selected_span_id": "54d90849005639d4",
|
||||
"from_milliseconds": 1794785659919,
|
||||
"to_milliseconds": 1794785660468,
|
||||
"sql": "SELECT * FROM \"messenger\" WHERE \"trace_id\" = '13aa5cd043d490330a867149fc7f4dbf'",
|
||||
"response_status": 200,
|
||||
"rows": [
|
||||
{
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"span_id": "54d90849005639d4",
|
||||
"event": "worker.job",
|
||||
"timestamp_microseconds": 1794785660451568
|
||||
}
|
||||
],
|
||||
"new_rendered_worker_job_row": true
|
||||
},
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "UI_CORRELATED_LOGS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-a63697ff-c000-4d91-a8f7-60c4c6821fba",
|
||||
"console_error_count": 3,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1,619 @@
|
||||
{
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "UI_TRACE_TO_LOGS_SPAN_DETAILS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"metric_window_end_milliseconds": 1794801466224,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369",
|
||||
"console_error_count": 24,
|
||||
"native_browser_metrics": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"expr": "sum(rate(http_requests[1m]))",
|
||||
"samples": 11,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.17427456722151502,
|
||||
0.41048884988491313,
|
||||
0.6336002986570249,
|
||||
0.8513069986005116,
|
||||
0.8965528448615421,
|
||||
0.9482744726555128,
|
||||
1.0344884304740638
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"expr": "histogram_quantile(0.50,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.0025994385189270354,
|
||||
0.0027258164720459434,
|
||||
0.002602784461530249,
|
||||
0.002573830057578922,
|
||||
0.0025999993724131654,
|
||||
0.0028645832596983813,
|
||||
0.003260869324439736
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"expr": "histogram_quantile(0.99,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.21078825569343396,
|
||||
0.23189359407210536,
|
||||
0.21201588611575894,
|
||||
0.19770767878324663,
|
||||
0.17199952930691964,
|
||||
0.1675001187582823,
|
||||
0.20500007642270346
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"expr": "(sum(rate(http_requests{status_class=\"5xx\"}[1m])) or vector(0)) / clamp_min(sum(rate(http_requests[1m])),0.001)",
|
||||
"samples": 11,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.0049389331859613665,
|
||||
0.159467970360527,
|
||||
0.0049452904769074725,
|
||||
0.004890277109399952,
|
||||
0.004939998807585014,
|
||||
0.05624997525862099,
|
||||
0.08750002122860084
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"expr": "sum by (outcome)(rate(jobs_processed[1m]))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.01866094651996233
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_bucket[1m])))",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9500000000000002
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(time_to_ready_bucket[1m])))",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9944067920075628
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"expr": "max(queue_oldest_age_seconds)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
10.063894,
|
||||
24.063491,
|
||||
40.063894,
|
||||
54.06388,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"expr": "max(queue_depth)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"expr": "sum(worker_busy)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"expr": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))",
|
||||
"samples": 5,
|
||||
"values": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"expr": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))",
|
||||
"samples": 9,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"expr": "sum(db_pool_used)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"expr": "sum(db_pool_pending_acquires)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"expr": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))",
|
||||
"samples": 9,
|
||||
"values": [
|
||||
6,
|
||||
10,
|
||||
10,
|
||||
8,
|
||||
8,
|
||||
8,
|
||||
8,
|
||||
10,
|
||||
10
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"expr": "max(ready_slo_timely_10s) / clamp_min(max(ready_slo_matured_10s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"expr": "max(ready_slo_timely_30s) / clamp_min(max(ready_slo_matured_30s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"expr": "max(ready_slo_timely_300s) / clamp_min(max(ready_slo_matured_300s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
]
|
||||
}
|
||||
],
|
||||
"response_cap": true,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"state":"FAILED","stage":"UI_19_PANEL_DASHBOARD","code":"GRAFANA_BROWSER_FAILED_UI_19_PANEL_DASHBOARD","producer_started":false,"native_bao":false}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "ACTUAL_GRAFANA_RESPONSE_CONSUMERS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-e384107e-200b-4ed2-b2be-c47adb6c1723",
|
||||
"console_error_count": 8,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"state": "PASS_OWN_GRAFANA_CACHE_NO_PULL",
|
||||
"source_receipt": {
|
||||
"path": "/mnt/data/home/bench-saves/mtuci-vp-remaining-20261115/lab6/.local/grafana-approved-31251471-ca6a-4d2e-b823-8e42ff9fefa5/CACHE-READY.json",
|
||||
"sha256": "2b5a27e8357192157efbcd4f3dd91de6b4c06734ef4726058e4dd00b72c0d3e2"
|
||||
},
|
||||
"image_id": "sha256:1c88285f1dd391a62232c010e6c224846e6a73bdc583b3365be2eba614b7919e",
|
||||
"own_alias": "mtuci-vp7-grafana-cache:13.3.1-1c88285f1dd3",
|
||||
"platform": "linux/amd64",
|
||||
"version": "13.3.1",
|
||||
"plugin_archive_sha256": "e0c2cbcc7cf6d05bcfaa606db39e52249eb0dd234376e45a3f896353831c2fd5",
|
||||
"plugin_id": "openobserve",
|
||||
"plugin_version": "1.0.1",
|
||||
"copied_files": {
|
||||
"plugin.json": "8bec0fc6e3069122c970decc8f62b002cce63441fe8592a1b17349becbea844f",
|
||||
"module.js": "7c43a8842a97f722e2de0ff2ff4512d84e5cd91a7d75594b10c2677c7d63fe0c",
|
||||
"module.js.map": "51659eef4c8b99f748d96c194f61c9079dfc11090e836fd6cd5c9359903bc8fe",
|
||||
"gpx_openobserve_linux_amd64": "dc91fdfaf25708cb2573c4e533754cb5cc5ecd02d43beb7ee21bee06fbc09c50",
|
||||
"LICENSE": "fcd199307c997718382bdb599ae1c312e2b2ef9bbc83a90dc63389a625700a1e",
|
||||
"README.md": "6b303fad38a67a866ec09dee97b3d216632437bbb4c607835086f7dc9b5905dd",
|
||||
"CHANGELOG.md": "e768d6b5224016fe7abe85256497bccc2965042e910f0d294891ab9a2f3d0bc8",
|
||||
"go_plugin_build_manifest": "da4d5a94e58069157648a845239370c56177810d4ef6a97be0b5f0d8b7be6e68",
|
||||
"img/logo.png": "f6e020c37d93bfd2344fe5078a35342e0e7f86c3433afb6c3d766895eed91b0b"
|
||||
},
|
||||
"upstream_modified": false,
|
||||
"source_cache_mutated": false,
|
||||
"new_network_bytes": 0,
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609"
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
Skip to main content
|
||||
Grafana
|
||||
|
||||
Bookmarks
|
||||
|
||||
Starred
|
||||
|
||||
Dashboards
|
||||
|
||||
Explore
|
||||
|
||||
Alerting
|
||||
|
||||
Connections
|
||||
|
||||
Administration
|
||||
|
||||
Explore
|
||||
OpenObserve logs and traces | OpenObserve logs and traces
|
||||
Search...
|
||||
ctrl+k
|
||||
Explore
|
||||
Add
|
||||
Queries
|
||||
Logs
|
||||
A
|
||||
(OpenObserve logs and traces)
|
||||
Logs
|
||||
Traces
|
||||
Service Map
|
||||
Organization
|
||||
Stream type
|
||||
Log stream
|
||||
Run query
|
||||
Fast mode
|
||||
Top values
|
||||
Show top values
|
||||
SQL
|
||||
Reset to generated SQL
|
||||
|
||||
使用 str_match(field, '123') 比 LIKE '%123%' 更快;参考文档:https://openobserve.ai/docs/reference/sql-functions/
|
||||
|
||||
1
|
||||
SELECT * FROM "messenger" WHERE
|
||||
"trace_id" =
|
||||
'13aa5cd043d490330a867149fc7f4dbf'
|
||||
Add query
|
||||
Query history
|
||||
Query inspector
|
||||
Logs volume
|
||||
No logs volume available
|
||||
No volume information available for the current queries and time range.
|
||||
Logs
|
||||
Logs
|
||||
Table
|
||||
ms
|
||||
+
|
||||
2026-11-16 02:34:20.468 worker.delivery
|
||||
2026-11-16 02:34:20.451 worker.job
|
||||
2026-11-16 02:34:19.785 http.request
|
||||
Show log level
|
||||
Fields
|
||||
_timestamp
|
||||
100%
|
||||
body
|
||||
100%
|
||||
deployment_environment_name
|
||||
100%
|
||||
dropped_attributes_count
|
||||
100%
|
||||
event
|
||||
100%
|
||||
instrumentation_library_name
|
||||
100%
|
||||
outcome
|
||||
100%
|
||||
request_id
|
||||
34%
|
||||
service_instance_id
|
||||
100%
|
||||
service_name
|
||||
100%
|
||||
service_version
|
||||
100%
|
||||
severity
|
||||
100%
|
||||
severity_number
|
||||
100%
|
||||
span_id
|
||||
100%
|
||||
trace_id
|
||||
100%
|
||||
traceID
|
||||
100%
|
||||
Add to dashboard
|
||||
Queries
|
||||
Logs
|
||||
A
|
||||
(OpenObserve logs and traces)
|
||||
Logs
|
||||
Traces
|
||||
Service Map
|
||||
Organization
|
||||
Stream type
|
||||
Log stream
|
||||
Run query
|
||||
Fast mode
|
||||
Top values
|
||||
Show top values
|
||||
SQL
|
||||
Reset to generated SQL
|
||||
|
||||
使用 str_match(field, '123') 比 LIKE '%123%' 更快;参考文档:https://openobserve.ai/docs/reference/sql-functions/
|
||||
|
||||
1
|
||||
SELECT * FROM "messenger" WHERE "trace_id" =
|
||||
'13aa5cd043d490330a867149fc7f4dbf'
|
||||
Add query
|
||||
Query history
|
||||
Query inspector
|
||||
Logs volume
|
||||
logs
|
||||
Total: 1
|
||||
OpenObserve logs and traces
|
||||
Logs
|
||||
Logs
|
||||
Table
|
||||
ms
|
||||
+
|
||||
2026-11-16 02:34:20.451 worker.job
|
||||
Show log level
|
||||
Fields
|
||||
_timestamp
|
||||
100%
|
||||
body
|
||||
100%
|
||||
deployment_environment_name
|
||||
100%
|
||||
dropped_attributes_count
|
||||
100%
|
||||
event
|
||||
100%
|
||||
instrumentation_library_name
|
||||
100%
|
||||
outcome
|
||||
100%
|
||||
service_instance_id
|
||||
100%
|
||||
service_name
|
||||
100%
|
||||
service_version
|
||||
100%
|
||||
severity
|
||||
100%
|
||||
severity_number
|
||||
100%
|
||||
span_id
|
||||
100%
|
||||
trace_id
|
||||
100%
|
||||
traceID
|
||||
100%
|
||||
@@ -0,0 +1,94 @@
|
||||
Skip to main content
|
||||
Grafana
|
||||
|
||||
Bookmarks
|
||||
|
||||
Starred
|
||||
|
||||
Dashboards
|
||||
|
||||
Explore
|
||||
|
||||
Alerting
|
||||
|
||||
Connections
|
||||
|
||||
Administration
|
||||
|
||||
Explore
|
||||
OpenObserve logs and traces
|
||||
Search...
|
||||
ctrl+k
|
||||
Explore
|
||||
Outline
|
||||
Split
|
||||
Add
|
||||
Queries
|
||||
Logs
|
||||
A
|
||||
(OpenObserve logs and traces)
|
||||
Logs
|
||||
Traces
|
||||
Service Map
|
||||
Organization
|
||||
Stream type
|
||||
Log stream
|
||||
Run query
|
||||
Fast mode
|
||||
Top values
|
||||
Show top values
|
||||
SQL
|
||||
Reset to generated SQL
|
||||
|
||||
使用 str_match(field, '123') 比 LIKE '%123%' 更快;参考文档:https://openobserve.ai/docs/reference/sql-functions/
|
||||
|
||||
1
|
||||
SELECT * FROM "messenger" WHERE "trace_id" = '13aa5cd043d490330a867149fc7f4dbf'
|
||||
Add query
|
||||
Query history
|
||||
Query inspector
|
||||
Logs volume
|
||||
No logs volume available
|
||||
No volume information available for the current queries and time range.
|
||||
Logs
|
||||
Logs
|
||||
Table
|
||||
ms
|
||||
+
|
||||
2026-11-16 02:34:20.468 worker.delivery
|
||||
2026-11-16 02:34:20.451 worker.job
|
||||
2026-11-16 02:34:19.785 http.request
|
||||
Show log level
|
||||
Fields
|
||||
_timestamp
|
||||
100%
|
||||
body
|
||||
100%
|
||||
deployment_environment_name
|
||||
100%
|
||||
dropped_attributes_count
|
||||
100%
|
||||
event
|
||||
100%
|
||||
instrumentation_library_name
|
||||
100%
|
||||
outcome
|
||||
100%
|
||||
request_id
|
||||
34%
|
||||
service_instance_id
|
||||
100%
|
||||
service_name
|
||||
100%
|
||||
service_version
|
||||
100%
|
||||
severity
|
||||
100%
|
||||
severity_number
|
||||
100%
|
||||
span_id
|
||||
100%
|
||||
trace_id
|
||||
100%
|
||||
traceID
|
||||
100%
|
||||
@@ -0,0 +1,209 @@
|
||||
Skip to main content
|
||||
Grafana
|
||||
|
||||
Bookmarks
|
||||
|
||||
Starred
|
||||
|
||||
Dashboards
|
||||
|
||||
Explore
|
||||
|
||||
Alerting
|
||||
|
||||
Connections
|
||||
|
||||
Administration
|
||||
|
||||
Explore
|
||||
OpenObserve logs and traces
|
||||
Search...
|
||||
ctrl+k
|
||||
Explore
|
||||
Outline
|
||||
Split
|
||||
Add
|
||||
Queries
|
||||
Traces
|
||||
A
|
||||
(OpenObserve logs and traces)
|
||||
Logs
|
||||
Traces
|
||||
Service Map
|
||||
Organization
|
||||
Trace stream
|
||||
Service Name
|
||||
=
|
||||
Span Name
|
||||
=
|
||||
Status
|
||||
=
|
||||
Duration
|
||||
Tags
|
||||
Run query
|
||||
Results are listed as a table — open any trace to inspect its spans.
|
||||
SQL
|
||||
Reset to generated SQL
|
||||
|
||||
使用 str_match(field, '123') 比 LIKE '%123%' 更快;参考文档:https://openobserve.ai/docs/reference/sql-functions/
|
||||
|
||||
1
|
||||
SELECT * FROM "messenger" WHERE "trace_id" = '13aa5cd043d490330a867149fc7f4dbf' ORDER BY "_timestamp" ASC
|
||||
Add query
|
||||
Query history
|
||||
Query inspector
|
||||
Trace
|
||||
messenger-api
|
||||
POST /api/v1/chats/{chat_id}/attachments
|
||||
Trace ID
|
||||
13aa5cd043d490330a867149fc7f4dbf
|
||||
Start time
|
||||
2026-11-16 02:34:19.655
|
||||
(5 hours ago)
|
||||
Duration
|
||||
812.88ms
|
||||
Services
|
||||
2
|
||||
Spans
|
||||
42
|
||||
Overview
|
||||
0μs
|
||||
203.22ms
|
||||
406.44ms
|
||||
609.66ms
|
||||
812.88ms
|
||||
Filters
|
||||
Critical path
|
||||
Errors
|
||||
High latency
|
||||
42 spans
|
||||
Show all spans
|
||||
Service & Operation
|
||||
0μs
|
||||
203.22ms
|
||||
406.44ms
|
||||
609.66ms
|
||||
812.88ms
|
||||
messenger-api POST /api/v1/chats/{chat_id}/attachments (129.79ms)
|
||||
129.79ms
|
||||
-
|
||||
postgres.acquire (11.52μs)
|
||||
11.52μs
|
||||
-
|
||||
postgres.query (269.82μs)
|
||||
269.82μs
|
||||
-
|
||||
postgres.acquire (5.38μs)
|
||||
5.38μs
|
||||
-
|
||||
postgres.query (292.61μs)
|
||||
292.61μs
|
||||
-
|
||||
postgres.acquire (8.7μs)
|
||||
8.7μs
|
||||
-
|
||||
postgres.query (364.29μs)
|
||||
364.29μs
|
||||
-
|
||||
postgres.acquire (48.9μs)
|
||||
48.9μs
|
||||
-
|
||||
postgres.query (116.48μs)
|
||||
116.48μs
|
||||
-
|
||||
postgres.query (717.57μs)
|
||||
717.57μs
|
||||
-
|
||||
postgres.query (1.07ms)
|
||||
1.07ms
|
||||
-
|
||||
postgres.query (31.18ms)
|
||||
31.18ms
|
||||
-
|
||||
s3.put (68.41ms)
|
||||
68.41ms
|
||||
-
|
||||
postgres.acquire (13.82μs)
|
||||
13.82μs
|
||||
-
|
||||
postgres.query (194.05μs)
|
||||
194.05μs
|
||||
-
|
||||
postgres.query (717.82μs)
|
||||
717.82μs
|
||||
-
|
||||
postgres.query (598.78μs)
|
||||
598.78μs
|
||||
-
|
||||
postgres.query (21.76ms)
|
||||
21.76ms
|
||||
messenger-worker attachment.publish (69.22ms)
|
||||
69.22ms
|
||||
attachment.process (549.03ms)
|
||||
549.03ms
|
||||
-
|
||||
postgres.acquire (12.8μs)
|
||||
12.8μs
|
||||
-
|
||||
postgres.query (253.95μs)
|
||||
253.95μs
|
||||
-
|
||||
postgres.query (23.97ms)
|
||||
23.97ms
|
||||
-
|
||||
postgres.query (674.3μs)
|
||||
674.3μs
|
||||
-
|
||||
postgres.query (7.45ms)
|
||||
7.45ms
|
||||
-
|
||||
s3.get (5.7ms)
|
||||
5.7ms
|
||||
-
|
||||
s3.put (62.95ms)
|
||||
62.95ms
|
||||
-
|
||||
s3.put (189.1ms)
|
||||
189.1ms
|
||||
-
|
||||
s3.put (127.93ms)
|
||||
127.93ms
|
||||
-
|
||||
s3.put (50.61ms)
|
||||
50.61ms
|
||||
-
|
||||
postgres.acquire (12.29μs)
|
||||
12.29μs
|
||||
-
|
||||
postgres.query (225.02μs)
|
||||
225.02μs
|
||||
-
|
||||
postgres.query (774.4μs)
|
||||
774.4μs
|
||||
-
|
||||
postgres.query (323.07μs)
|
||||
323.07μs
|
||||
-
|
||||
postgres.query (17.52ms)
|
||||
17.52ms
|
||||
-
|
||||
postgres.acquire (5.63μs)
|
||||
5.63μs
|
||||
-
|
||||
postgres.query (8.33ms)
|
||||
8.33ms
|
||||
-
|
||||
s3.stat (1.04ms)
|
||||
1.04ms
|
||||
-
|
||||
postgres.acquire (13.31μs)
|
||||
13.31μs
|
||||
-
|
||||
postgres.query (5.11ms)
|
||||
5.11ms
|
||||
-
|
||||
postgres.acquire (6.66μs)
|
||||
6.66μs
|
||||
-
|
||||
postgres.query (24.06ms)
|
||||
24.06ms
|
||||
@@ -0,0 +1,733 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_FIXED_POINT_GAUGE_PROOF",
|
||||
"stage": "NATIVE_GAUGE_ORACLE",
|
||||
"parent": "evidence/grafana/incidents-e80b4c4d-df97-4cc9-b6d4-7ba651e0542b.json",
|
||||
"parent_sha256": "94a075b55cdc38b4b67b3c6a3758f200b3c0e660e51b4953010add6716e44c6c",
|
||||
"source_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"query_time_milliseconds": 1794801461224,
|
||||
"worker": {
|
||||
"id": "a6534cf4a956e8e09cb1c27fe55f42acc793ae7fdd4cbf9e39eaa1aa5e40c0a7",
|
||||
"started_at": "2026-11-16T03:57:21.470334273Z",
|
||||
"finished_at": "2026-11-16T03:59:46.562942122Z",
|
||||
"running": false,
|
||||
"compose_number": "1"
|
||||
},
|
||||
"sdk_export_interval_seconds": 2,
|
||||
"sdk_export_timeout_seconds": 1,
|
||||
"freshness_seconds": 10,
|
||||
"results": [
|
||||
{
|
||||
"metric": "worker_capacity",
|
||||
"raw_series": [
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "worker_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "8db01160-a4b9-4a6b-9acb-e73bed0dcfd7",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801441605710610"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801443,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"1"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801459,
|
||||
"age_seconds": 2.2239999771118164
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "worker_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "caf95b18-728e-4e61-b1c3-1b65f22d3580",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361190960191"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801363,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801378,
|
||||
"1"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801378,
|
||||
"age_seconds": 83.22399997711182
|
||||
}
|
||||
],
|
||||
"old": {
|
||||
"expression": "sum(worker_capacity)",
|
||||
"type": "vector",
|
||||
"series": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"filtered": {
|
||||
"expression": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))",
|
||||
"type": "vector",
|
||||
"series": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"absent": {
|
||||
"expression": "sum((worker_capacity{service_name=\"__vp7_absent__\"} and (timestamp(worker_capacity{service_name=\"__vp7_absent__\"}) > time()-10)))",
|
||||
"type": "vector",
|
||||
"series": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"metric": "database_observer_up",
|
||||
"raw_series": [
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "database_observer_up",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "4f95059a-7bf5-4280-8686-70162e2ff5e3",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361948672153"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801363,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801379,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801381,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801383,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801385,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801387,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801389,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801391,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801393,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801395,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801397,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801399,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801401,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801403,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801405,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801407,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801409,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801411,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801413,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801415,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801417,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801419,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801421,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801423,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801425,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801427,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801429,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801431,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801433,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801435,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801437,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801439,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801441,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801443,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"1"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801459,
|
||||
"age_seconds": 2.2239999771118164
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "database_observer_up",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "8db01160-a4b9-4a6b-9acb-e73bed0dcfd7",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801441605706590"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801443,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"1"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801459,
|
||||
"age_seconds": 2.2239999771118164
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "database_observer_up",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "ac6bea16-719c-4b72-96fb-bb6dfb3d6b74",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361671044119"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801363,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801379,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801381,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801383,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801385,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801387,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801389,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801391,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801393,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801395,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801397,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801399,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801401,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801403,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801405,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801407,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801409,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801411,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801413,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801415,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801417,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801419,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801421,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801423,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801425,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801427,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801429,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801431,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801433,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801435,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801437,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801439,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801441,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801443,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"1"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801459,
|
||||
"age_seconds": 2.2239999771118164
|
||||
},
|
||||
{
|
||||
"labels": {
|
||||
"__name__": "database_observer_up",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "caf95b18-728e-4e61-b1c3-1b65f22d3580",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361190953851"
|
||||
},
|
||||
"samples": [
|
||||
[
|
||||
1794801363,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"1"
|
||||
],
|
||||
[
|
||||
1794801378,
|
||||
"0"
|
||||
]
|
||||
],
|
||||
"last_timestamp_seconds": 1794801378,
|
||||
"age_seconds": 83.22399997711182
|
||||
}
|
||||
],
|
||||
"old": {
|
||||
"expression": "min(database_observer_up)",
|
||||
"type": "vector",
|
||||
"series": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"0"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"filtered": {
|
||||
"expression": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))",
|
||||
"type": "vector",
|
||||
"series": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"absent": {
|
||||
"expression": "min((database_observer_up{service_name=\"__vp7_absent__\"} and (timestamp(database_observer_up{service_name=\"__vp7_absent__\"}) > time()-10)))",
|
||||
"type": "vector",
|
||||
"series": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"producer_started": false,
|
||||
"native_bao": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_HISTOGRAM_REQUEST_BOUNDARY",
|
||||
"query": {
|
||||
"sql": "SELECT histogram(\"_timestamp\") AS zo_sql_key, count(*) AS zo_sql_num FROM \"messenger\" WHERE \"trace_id\"='13aa5cd043d490330a867149fc7f4dbf' GROUP BY zo_sql_key ORDER BY zo_sql_key",
|
||||
"start_time": 1794785659000000,
|
||||
"end_time": 1794785661000000,
|
||||
"from": 0,
|
||||
"sql_mode": "full"
|
||||
},
|
||||
"results": [
|
||||
{
|
||||
"name": "omitted",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 560,
|
||||
"buckets": 2,
|
||||
"count": 3,
|
||||
"expected": 200
|
||||
},
|
||||
{
|
||||
"name": "zero",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 550,
|
||||
"buckets": 2,
|
||||
"count": 3,
|
||||
"expected": 200
|
||||
},
|
||||
{
|
||||
"name": "one",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 498,
|
||||
"buckets": 1,
|
||||
"count": 1,
|
||||
"expected": 200
|
||||
},
|
||||
{
|
||||
"name": "negative",
|
||||
"status": 400,
|
||||
"content_type": "text/html",
|
||||
"bytes": 90,
|
||||
"expected": 400
|
||||
},
|
||||
{
|
||||
"name": "too_large",
|
||||
"status": 400,
|
||||
"content_type": "text/html",
|
||||
"bytes": 90,
|
||||
"expected": 400
|
||||
},
|
||||
{
|
||||
"name": "fraction",
|
||||
"status": 422,
|
||||
"content_type": "text/plain; charset=utf-8",
|
||||
"bytes": 139,
|
||||
"expected": 422
|
||||
},
|
||||
{
|
||||
"name": "string",
|
||||
"status": 422,
|
||||
"content_type": "text/plain; charset=utf-8",
|
||||
"bytes": 129,
|
||||
"expected": 422
|
||||
},
|
||||
{
|
||||
"name": "null",
|
||||
"status": 422,
|
||||
"content_type": "text/plain; charset=utf-8",
|
||||
"bytes": 123,
|
||||
"expected": 422
|
||||
},
|
||||
{
|
||||
"name": "object",
|
||||
"status": 422,
|
||||
"content_type": "text/plain; charset=utf-8",
|
||||
"bytes": 122,
|
||||
"expected": 422
|
||||
}
|
||||
],
|
||||
"producer_started": false
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_GRAFANA_CA_HOSTNAME_CONTROLS",
|
||||
"controls": [
|
||||
{
|
||||
"name": "positive_before",
|
||||
"exit": 0,
|
||||
"status": 200,
|
||||
"expected": 0
|
||||
},
|
||||
{
|
||||
"name": "wrong_ca",
|
||||
"exit": 60,
|
||||
"status": 0,
|
||||
"expected": 60
|
||||
},
|
||||
{
|
||||
"name": "wrong_hostname",
|
||||
"exit": 60,
|
||||
"status": 0,
|
||||
"expected": 60
|
||||
},
|
||||
{
|
||||
"name": "positive_after",
|
||||
"exit": 0,
|
||||
"status": 200,
|
||||
"expected": 0
|
||||
}
|
||||
],
|
||||
"valid_from": "Nov 15 18:28:20 2026 GMT",
|
||||
"valid_to": "Nov 17 18:28:20 2026 GMT"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "UNIQUE_INCIDENT_FIXTURE",
|
||||
"native_bao": false,
|
||||
"provider": "explicit-operator-files-heartbeat",
|
||||
"synthetic_alert_expressions": false,
|
||||
"public_smoke_repeated": false,
|
||||
"grade5": false,
|
||||
"binary_hashes": {
|
||||
"app": "37726b99a2b64f888d4cf5a0b72e949ff12318fa5d3a2e162a748573f2a484c0",
|
||||
"worker": "9d359b5b6e0a0cbaa515bca37238af9a838c1100cbdd0c698e8d4b500f1f3a3f"
|
||||
},
|
||||
"code": "HTTP_POST_201_GOT_400",
|
||||
"application_stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "ORIGINAL_RULES_NATIVE_READ",
|
||||
"native_bao": false,
|
||||
"provider": "explicit-operator-files-heartbeat",
|
||||
"synthetic_alert_expressions": false,
|
||||
"public_smoke_repeated": false,
|
||||
"grade5": false,
|
||||
"binary_hashes": {
|
||||
"app": "37726b99a2b64f888d4cf5a0b72e949ff12318fa5d3a2e162a748573f2a484c0",
|
||||
"worker": "9d359b5b6e0a0cbaa515bca37238af9a838c1100cbdd0c698e8d4b500f1f3a3f"
|
||||
},
|
||||
"fixture": {
|
||||
"chat_id": "a7f179a5-39ca-47f0-9ae9-7c1a4bc5088b",
|
||||
"actor_ids": [
|
||||
"3b9b06d2-cbf9-4909-82c6-6c133e68bb48",
|
||||
"fd9b0916-8d82-4724-bfa2-d75f9dc858d3"
|
||||
],
|
||||
"encrypted_credential_capture": true,
|
||||
"uploads": []
|
||||
},
|
||||
"code": "GRAFANA_INCIDENT_RULE_CHANGED",
|
||||
"application_stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_GRAFANA_REAL_WORKER_DB_INCIDENTS_AND_19_PANELS",
|
||||
"stage": "INCIDENT_FINAL_GUARDS",
|
||||
"native_bao": false,
|
||||
"provider": "explicit-operator-files-heartbeat",
|
||||
"synthetic_alert_expressions": false,
|
||||
"public_smoke_repeated": false,
|
||||
"grade5": false,
|
||||
"binary_hashes": {
|
||||
"app": "37726b99a2b64f888d4cf5a0b72e949ff12318fa5d3a2e162a748573f2a484c0",
|
||||
"worker": "9d359b5b6e0a0cbaa515bca37238af9a838c1100cbdd0c698e8d4b500f1f3a3f"
|
||||
},
|
||||
"fixture": {
|
||||
"chat_id": "a7f179a5-39ca-47f0-9ae9-7c1a4bc5088b",
|
||||
"actor_ids": [
|
||||
"3b9b06d2-cbf9-4909-82c6-6c133e68bb48",
|
||||
"fd9b0916-8d82-4724-bfa2-d75f9dc858d3"
|
||||
],
|
||||
"encrypted_credential_capture": true,
|
||||
"reused_existing_fixture": true,
|
||||
"uploads": [
|
||||
"9882fc71-ab55-492a-b8ff-461af38becd5",
|
||||
"adbe1b06-05b4-4feb-a1dc-6596ddb4672b",
|
||||
"f625459e-f28a-41f0-bbb6-5e046df9e818"
|
||||
]
|
||||
},
|
||||
"baseline_rules": {
|
||||
"worker": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:10Z",
|
||||
"elapsed_ms": 135
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 575,
|
||||
"measured_value": 0,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801376702
|
||||
},
|
||||
"server": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:10Z",
|
||||
"elapsed_ms": 103
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 207,
|
||||
"measured_value": 0,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801377245
|
||||
}
|
||||
},
|
||||
"worker_incident": {
|
||||
"attachment_id": "adbe1b06-05b4-4feb-a1dc-6596ddb4672b",
|
||||
"started_milliseconds": 1794801379911,
|
||||
"firing": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:20Z",
|
||||
"elapsed_ms": 432
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "pending",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:00Z",
|
||||
"elapsed_ms": 41100
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:20Z",
|
||||
"elapsed_ms": 61116
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 61229,
|
||||
"measured_value": 60.063806,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801440027
|
||||
},
|
||||
"resolved": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:20Z",
|
||||
"elapsed_ms": 350
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:30Z",
|
||||
"elapsed_ms": 8223
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 8331,
|
||||
"measured_value": 0,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801450057
|
||||
},
|
||||
"same_job_ready": true
|
||||
},
|
||||
"live_panels": {
|
||||
"query_time_milliseconds": 1794801461224,
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.068958827082876
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.0032291675806638232
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.20349968412052583
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.08624992357858494
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.01916015464130612
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9499999999999997
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
64.81879389958847
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
12
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.5
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"database_incident": {
|
||||
"started_milliseconds": 1794801466778,
|
||||
"instrumented_direct_mtls_api_5xx": 32,
|
||||
"public_lb_health_withdrawal_not_counted_as_api_5xx": true,
|
||||
"firing": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:40Z",
|
||||
"elapsed_ms": 1161
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "pending",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:00Z",
|
||||
"elapsed_ms": 18769
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:30Z",
|
||||
"elapsed_ms": 48784
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 48889,
|
||||
"measured_value": 0.7087477391119006,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801514562
|
||||
},
|
||||
"resolved": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:30Z",
|
||||
"elapsed_ms": 205
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:59:40Z",
|
||||
"elapsed_ms": 67892
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 68000,
|
||||
"measured_value": 0,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801584871
|
||||
},
|
||||
"public_api_200_after_recovery": true
|
||||
},
|
||||
"alert_transitions_accepted": true,
|
||||
"upload_count": 3,
|
||||
"application_stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_LIFECYCLE_SOURCE_CHECKS",
|
||||
"results": [
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0,
|
||||
"path": "evidence/grafana/lifecycle-unit-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt"
|
||||
},
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0,
|
||||
"path": "evidence/grafana/lifecycle-typecheck-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt"
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0,
|
||||
"path": "evidence/grafana/lifecycle-format-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt"
|
||||
}
|
||||
],
|
||||
"live_browser_started": false,
|
||||
"producer_started": false
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,53 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
|
||||
student-tests/browser-lifecycle.test.ts:
|
||||
12 | reportCleanupFailure:async error=>{reports.push(error);},
|
||||
13 | });
|
||||
14 | return {run,primary,secondary,reports,closes:()=>closes};
|
||||
15 | }
|
||||
16 | test("newPage rejection closes the already acquired context exactly once",async()=>{
|
||||
17 | const f=fixture("newPage");await expect(f.run()).rejects.toBe(f.primary);expect(f.closes()).toBe(1);
|
||||
^
|
||||
error: expect(received).toBe(expected)
|
||||
|
||||
Expected: 1
|
||||
Received: 0
|
||||
|
||||
at <anonymous> (/Users/rey/mtuci/vp/lab7/student-tests/browser-lifecycle.test.ts:17:94)
|
||||
(fail) newPage rejection closes the already acquired context exactly once [0.62ms]
|
||||
15 | }
|
||||
16 | test("newPage rejection closes the already acquired context exactly once",async()=>{
|
||||
17 | const f=fixture("newPage");await expect(f.run()).rejects.toBe(f.primary);expect(f.closes()).toBe(1);
|
||||
18 | });
|
||||
19 | test("listener setup failure closes the already acquired context exactly once",async()=>{
|
||||
20 | const f=fixture("listener");await expect(f.run()).rejects.toBe(f.primary);expect(f.closes()).toBe(1);
|
||||
^
|
||||
error: expect(received).toBe(expected)
|
||||
|
||||
Expected: 1
|
||||
Received: 0
|
||||
|
||||
at <anonymous> (/Users/rey/mtuci/vp/lab7/student-tests/browser-lifecycle.test.ts:20:95)
|
||||
(fail) listener setup failure closes the already acquired context exactly once [0.08ms]
|
||||
(pass) normal browser work returns its result and closes exactly once [0.05ms]
|
||||
21 | });
|
||||
22 | test("normal browser work returns its result and closes exactly once",async()=>{
|
||||
23 | const f=fixture("none");expect(await f.run()).toBe("complete");expect(f.closes()).toBe(1);expect(f.reports).toEqual([]);
|
||||
24 | });
|
||||
25 | test("cleanup failure is separately reported without replacing the primary error",async()=>{
|
||||
26 | const f=fixture("listener",true);await expect(f.run()).rejects.toBe(f.primary);expect(f.closes()).toBe(1);expect(f.reports).toEqual([f.secondary]);
|
||||
^
|
||||
error: expect(received).toBe(expected)
|
||||
|
||||
Expected: 1
|
||||
Received: 0
|
||||
|
||||
at <anonymous> (/Users/rey/mtuci/vp/lab7/student-tests/browser-lifecycle.test.ts:26:100)
|
||||
(fail) cleanup failure is separately reported without replacing the primary error [0.06ms]
|
||||
(pass) cleanup failure after successful work remains a failure [0.04ms]
|
||||
(pass) missing ports reject before any browser can be acquired [0.03ms]
|
||||
|
||||
3 pass
|
||||
3 fail
|
||||
15 expect() calls
|
||||
Ran 6 tests across 1 file. [11.00ms]
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 102 files [71.25ms]
|
||||
@@ -0,0 +1,14 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
|
||||
student-tests/browser-lifecycle.test.ts:
|
||||
(pass) newPage rejection closes the already acquired context exactly once [0.42ms]
|
||||
(pass) listener setup failure closes the already acquired context exactly once [0.06ms]
|
||||
(pass) normal browser work returns its result and closes exactly once [0.07ms]
|
||||
(pass) cleanup failure is separately reported without replacing the primary error [0.07ms]
|
||||
(pass) cleanup failure after successful work remains a failure [0.05ms]
|
||||
(pass) missing ports reject before any browser can be acquired [0.04ms]
|
||||
|
||||
6 pass
|
||||
0 fail
|
||||
19 expect() calls
|
||||
Ran 6 tests across 1 file. [60.00ms]
|
||||
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"state": "EXPORTED_PERSISTED_EXEC_CONTROL_RECORDS",
|
||||
"source": {
|
||||
"path": "/Users/rey/.codex/sessions/2026/11/15/rollout-2026-11-15T19-26-00-01a1e007-a937-78c3-b654-cd63553a66a6.jsonl",
|
||||
"thread_id": "01a1e007-a937-78c3-b654-cd63553a66a6",
|
||||
"cwd": "/Users/rey/mtuci/vp/lab7",
|
||||
"format": "Codex persisted custom_tool_call/output; input_text items contain exact JSON exec results"
|
||||
},
|
||||
"attribution": "Persisted tool-returned exit codes, not derived from test JSON state. Final outputs omit session_id; each is bound to the explicit write_stdin session argument and sequential tool-output position in that source call. Signal fields are not exposed; no signal=null or finished_ms was invented.",
|
||||
"timestamp_meaning": "Persisted tool output event time, not a measured remote program finish timestamp",
|
||||
"b8_binding": "b8 browser evidence belongs to preflight96875a3e; preflight7c84f311 is the separate failedca31 attempt",
|
||||
"legs": [
|
||||
{
|
||||
"session_id": 90027,
|
||||
"preflight": "evidence/grafana/preflight-1b430ef3-576a-41fd-aeec-91c0e7c36af0.json",
|
||||
"preflight_sha256": "295a9c281d2367a9b896cabea82a938eb3f593b6c92fe4fbebedab701a7cd16c",
|
||||
"launch": {
|
||||
"source_output_line": 6406,
|
||||
"source_timestamp": "2026-11-16T03:55:31.735Z",
|
||||
"call_id": "call_bc21cf78d86b4707882bfe537e5c6d8c",
|
||||
"source_call_line": 6404,
|
||||
"source_call_sha256": "d147d9ae8dab4a2ebfca6eab560e2d1592b342c8e4b87150bbcc272556ef753c",
|
||||
"source_call_raw_line_sha256": "bf3c3fbf9d8527c83e9f830cdd643191eb8e2b5c602f6433d6b7c5104d27e18a",
|
||||
"source_output_raw_line_sha256": "d54ed81c1d5c41219031f4c3e4c639534a143b676e435fe21c7586d89f041a5d",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "4acc066cfebc751afacd2b641beb59e441c7506c33e2385a7d360a03cc7d013a",
|
||||
"tool_result": {
|
||||
"chunk_id": "211ffa",
|
||||
"session_id": 90027,
|
||||
"wall_time_seconds": 1.002016125
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [],
|
||||
"systemd_scope": "run-p2198113-i27233964.scope",
|
||||
"systemd_invocation": "f8c14a0611a3400597e3c489a83c0aa7"
|
||||
},
|
||||
"completion": {
|
||||
"source_output_line": 6493,
|
||||
"source_timestamp": "2026-11-16T04:01:36.517Z",
|
||||
"call_id": "call_b496f233ca774b5bb9eace74696d3828",
|
||||
"source_call_line": 6490,
|
||||
"source_call_sha256": "50ccb40c481372ed00da3c0498a334822df8ad68f56a5bc2241d174ebb0880a0",
|
||||
"source_call_raw_line_sha256": "103e9dbad0f079b836037ebc6d6ccee92f07f1d3cbf2901d663d369ec932ce12",
|
||||
"source_output_raw_line_sha256": "f394cf0089b03c709e8cf10f89312d1d4e5b27bb37bace25bbfd7512db06ac1b",
|
||||
"source_content_index": 2,
|
||||
"source_item_sha256": "4f53c73c44327c9928176edfea97fd1eef1963ca42c07c5b8f59ef66547f84db",
|
||||
"tool_result": {
|
||||
"chunk_id": "3657fd",
|
||||
"exit_code": 0,
|
||||
"wall_time_seconds": 0.000009958
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [
|
||||
"PASS_GRAFANA_LIVE_19_METRICS_REAL_INCIDENTS_NO_UI_OR_CAP_ACCEPTANCE",
|
||||
"OWN_GRAFANA_PREFLIGHT_STOPPED"
|
||||
],
|
||||
"invoked_write_stdin_session_id": 90027,
|
||||
"operation_order": [
|
||||
"exec_command",
|
||||
"write_stdin"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"session_id": 88872,
|
||||
"preflight": "evidence/grafana/preflight-96875a3e-2d3a-45f2-9a0b-df0de985e95b.json",
|
||||
"preflight_sha256": "6c659f334791205fa48c2e84cd6f0b08a9468868d04bd55a301942d439b71385",
|
||||
"launch": {
|
||||
"source_output_line": 7289,
|
||||
"source_timestamp": "2026-11-16T04:35:33.522Z",
|
||||
"call_id": "call_c951ab18924c40bc8551bd96f283137e",
|
||||
"source_call_line": 7287,
|
||||
"source_call_sha256": "ed89439f03458e7889638b6de6fa47e7dd7aac591948c5ae24ef8801c028b7fc",
|
||||
"source_call_raw_line_sha256": "5b1338e6751e3ff719cdb57ff3e3b5321dcebc91f84d6ad1de45afd9e82d86b8",
|
||||
"source_output_raw_line_sha256": "02a55e5efec420042f3c11b71c64162c6bdc27c0551b8331a0d9d7f7de0dc5b5",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "8f3e1cdc1a1bc1e167352fe215e5d6c4c3e6168dcd93d335621ab98c8acdbcf7",
|
||||
"tool_result": {
|
||||
"chunk_id": "a66d30",
|
||||
"session_id": 88872,
|
||||
"wall_time_seconds": 1.002087667
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [],
|
||||
"systemd_scope": "run-p2570709-i27726658.scope",
|
||||
"systemd_invocation": "114a8be17b9146ab977d6f09d15e63b6"
|
||||
},
|
||||
"completion": {
|
||||
"source_output_line": 7317,
|
||||
"source_timestamp": "2026-11-16T04:36:25.311Z",
|
||||
"call_id": "call_4f79393188ae40fbb833a32f688ebd50",
|
||||
"source_call_line": 7314,
|
||||
"source_call_sha256": "65edf6fdc46acf0d13afad8b2586ea7e3345dfa18b234568a1bd776f8f1b4726",
|
||||
"source_call_raw_line_sha256": "b75584349a71c40a874261940edd99d865344b56cc9a647cdd92d6e4ce21569c",
|
||||
"source_output_raw_line_sha256": "ad0d01aa347b9eeb3a2ff3658a248c190ef476588717219f3f6c28898dffb08e",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "bf9a943b260bbaaea9792b8defadba8c47024373a7787807fbcd5c335c43e1a8",
|
||||
"tool_result": {
|
||||
"chunk_id": "b570ec",
|
||||
"exit_code": 0,
|
||||
"wall_time_seconds": 0.000005958
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [
|
||||
"OWN_GRAFANA_PREFLIGHT_STOPPED"
|
||||
],
|
||||
"invoked_write_stdin_session_id": 88872,
|
||||
"operation_order": [
|
||||
"write_stdin",
|
||||
"exec_command"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"session_id": 47621,
|
||||
"preflight": "evidence/grafana/preflight-ba115d3c-2a3a-437e-bbe6-f9f72829b8cf.json",
|
||||
"preflight_sha256": "7f5dc223e70ad747fcaad425fdbfed838aa6c5a1dae41dd98af9afabecddd0b9",
|
||||
"launch": {
|
||||
"source_output_line": 7366,
|
||||
"source_timestamp": "2026-11-16T04:38:44.517Z",
|
||||
"call_id": "call_cf38c734fd9346579de376bf9c09c06c",
|
||||
"source_call_line": 7364,
|
||||
"source_call_sha256": "eff7b0fce077b0b3a39f9d4c04e35a830284c2033b556ed2ffccdebf531bbb01",
|
||||
"source_call_raw_line_sha256": "0bccadb4672f5ce6c05278b847b985aae230be65280347e95c6f24618daaf40b",
|
||||
"source_output_raw_line_sha256": "a1181e313f692d4bcd4102b36feba04c274061e3fec63e13ca0c81f960539c0c",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "eaefa0ec5702b5adc5ae0323ebcf276346f44070596414495d621bd1a61f38cc",
|
||||
"tool_result": {
|
||||
"chunk_id": "09f87b",
|
||||
"session_id": 47621,
|
||||
"wall_time_seconds": 1.003160583
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [],
|
||||
"systemd_scope": "run-p2600615-i27631456.scope",
|
||||
"systemd_invocation": "aa9f664977f54f35b1f0910d4689e539"
|
||||
},
|
||||
"completion": {
|
||||
"source_output_line": 7414,
|
||||
"source_timestamp": "2026-11-16T04:39:54.605Z",
|
||||
"call_id": "call_ca3b42a0519e4a1887f9c64cf566ee1c",
|
||||
"source_call_line": 7411,
|
||||
"source_call_sha256": "2036855a651a6dcedd241c669f0945e8d8ebbebb721613c31996143485938796",
|
||||
"source_call_raw_line_sha256": "c0a5b1e7d8e1a7c663d5a742700db48df43a42b676e2133dbfa93e99ef27210c",
|
||||
"source_output_raw_line_sha256": "692aa231712db58da1df63312534725add0158c4fe01cb98a74daca4f6b12ec1",
|
||||
"source_content_index": 2,
|
||||
"source_item_sha256": "d7683c230dd37585c5075c7ddb8571863de2e151a97bf7bbb69f47255d29bbd5",
|
||||
"tool_result": {
|
||||
"chunk_id": "f595f2",
|
||||
"exit_code": 0,
|
||||
"wall_time_seconds": 0.000004625
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [
|
||||
"OWN_GRAFANA_PREFLIGHT_STOPPED",
|
||||
"OBSERVED_BROWSER_NOT_FINAL_ACCEPTANCE"
|
||||
],
|
||||
"invoked_write_stdin_session_id": 47621,
|
||||
"operation_order": [
|
||||
"exec_command",
|
||||
"write_stdin"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"session_id": 81041,
|
||||
"preflight": "evidence/grafana/preflight-99e1360d-bb45-4048-a965-ffc4838f079e.json",
|
||||
"preflight_sha256": "71354852f97d5abddbf3bb62bd18801ae8479a89de6c36633f3e4a86eb9e75b8",
|
||||
"launch": {
|
||||
"source_output_line": 7470,
|
||||
"source_timestamp": "2026-11-16T04:42:25.044Z",
|
||||
"call_id": "call_6f2f80dfa68a4ece8b04b7cc1375c600",
|
||||
"source_call_line": 7468,
|
||||
"source_call_sha256": "4f7034ac197b1621419b7c0185aa8107ba8418fef3e9054955f62a141185db19",
|
||||
"source_call_raw_line_sha256": "2b9d2bda755e90ef04d2bf7aced76454a48b76c1e7c2d066b9fcb65142b9a0a5",
|
||||
"source_output_raw_line_sha256": "4481d3d7c2d209dfd84d17439662d653249837af25447c537eccd040e75f6cfd",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "b1a806e3555c986bea83467937d397f11913d5a9e0c80a5aa5425f31bed4a342",
|
||||
"tool_result": {
|
||||
"chunk_id": "e24b60",
|
||||
"session_id": 81041,
|
||||
"wall_time_seconds": 1.000998708
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [],
|
||||
"systemd_scope": "run-p2634863-i27806786.scope",
|
||||
"systemd_invocation": "9e092860a59240e889b5253ba2a325ac"
|
||||
},
|
||||
"completion": {
|
||||
"source_output_line": 7532,
|
||||
"source_timestamp": "2026-11-16T04:44:45.994Z",
|
||||
"call_id": "call_23452bde76d14a7bbba584da47455605",
|
||||
"source_call_line": 7529,
|
||||
"source_call_sha256": "2b6db96af42e63075b145a234c5ecd2fad159420c30e9281aceb5b0fac59d178",
|
||||
"source_call_raw_line_sha256": "0b566a7302fbf0587b7126acbe27dc2d1b8b4e8199003f0079e3c6daea822860",
|
||||
"source_output_raw_line_sha256": "f4606f4010b6570bc4509cb10335379fb3b5c179a3e366b4f7c068623720370d",
|
||||
"source_content_index": 1,
|
||||
"source_item_sha256": "4502fd970cdc493ab45e64f1f8f2994030bf15e50c18317999e2c9b1c1f95494",
|
||||
"tool_result": {
|
||||
"chunk_id": "654d27",
|
||||
"exit_code": 0,
|
||||
"wall_time_seconds": 0.000014458
|
||||
},
|
||||
"signal_status": "not_exposed_by_exec_tool",
|
||||
"recognized_output_markers": [
|
||||
"OWN_GRAFANA_PREFLIGHT_STOPPED",
|
||||
"OBSERVED_BROWSER_NOT_FINAL_ACCEPTANCE"
|
||||
],
|
||||
"invoked_write_stdin_session_id": 81041,
|
||||
"operation_order": [
|
||||
"write_stdin",
|
||||
"exec_command"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,571 @@
|
||||
{
|
||||
"query_time_milliseconds": 1794801461224,
|
||||
"pool": [
|
||||
{
|
||||
"expression": "db_pool_capacity[120s]",
|
||||
"data": {
|
||||
"resultType": "matrix",
|
||||
"result": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "db_pool_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "4f95059a-7bf5-4280-8686-70162e2ff5e3",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361948670803"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794801363,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801379,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801381,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801383,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801385,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801387,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801389,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801391,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801393,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801395,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801397,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801399,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801401,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801403,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801405,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801407,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801409,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801411,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801413,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801415,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801417,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801419,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801421,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801423,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801425,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801427,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801429,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801431,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801433,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801435,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801437,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801439,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801441,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801443,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"4"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "db_pool_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "8db01160-a4b9-4a6b-9acb-e73bed0dcfd7",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801441605705470"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794801443,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"2"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "db_pool_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "ac6bea16-719c-4b72-96fb-bb6dfb3d6b74",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361671042769"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794801363,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801379,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801381,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801383,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801385,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801387,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801389,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801391,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801393,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801395,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801397,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801399,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801401,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801403,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801405,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801407,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801409,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801411,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801413,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801415,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801417,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801419,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801421,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801423,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801425,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801427,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801429,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801431,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801433,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801435,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801437,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801439,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801441,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801443,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801445,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801447,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801449,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801451,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801453,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801455,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801457,
|
||||
"4"
|
||||
],
|
||||
[
|
||||
1794801459,
|
||||
"4"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "db_pool_capacity",
|
||||
"deployment_environment_name": "lab",
|
||||
"flag": "DATA_POINT_FLAGS_DO_NOT_USE",
|
||||
"instrumentation_library_name": "messenger",
|
||||
"instrumentation_library_version": "",
|
||||
"service_instance_id": "caf95b18-728e-4e61-b1c3-1b65f22d3580",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6-v1",
|
||||
"start_time": "1794801361190952611"
|
||||
},
|
||||
"values": [
|
||||
[
|
||||
1794801363,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801365,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801367,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801369,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801371,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801373,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801375,
|
||||
"2"
|
||||
],
|
||||
[
|
||||
1794801377,
|
||||
"2"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"expression": "sum(db_pool_capacity)",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"12"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"expression": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": [
|
||||
{
|
||||
"metric": {},
|
||||
"value": [
|
||||
1794801461,
|
||||
"10"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"expression": "sum((db_pool_capacity{service_name=\"__vp7_absent__\"} and (timestamp(db_pool_capacity{service_name=\"__vp7_absent__\"})>time()-10)))",
|
||||
"data": {
|
||||
"resultType": "vector",
|
||||
"result": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"producer_started": false
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "PUBLISHED_HTTPS_GRAFANA_HEALTH",
|
||||
"code": "GRAFANA_NATIVE_HEALTH_TIMEOUT",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "HISTORICAL_METRIC_PANEL_2",
|
||||
"code": "GRAFANA_METRIC_NO_FINITE_SAMPLES",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "REAL_WORKER_DATABASE_INCIDENTS",
|
||||
"code": "HTTP_POST_201_GOT_400",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,531 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_GRAFANA_LIVE_19_METRICS_AND_REAL_ALERT_INCIDENTS",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.068958827082876
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.0032291675806638232
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.20349968412052583
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.08624992357858494
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.01916015464130612
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9499999999999997
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
64.81879389958847
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
12
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.5
|
||||
]
|
||||
}
|
||||
],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794801461224,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": true,
|
||||
"incidents": {
|
||||
"receipt": "evidence/grafana/incidents-e80b4c4d-df97-4cc9-b6d4-7ba651e0542b.json",
|
||||
"native_bao": false,
|
||||
"provider": "explicit-operator-files-heartbeat",
|
||||
"synthetic_alert_expressions": false,
|
||||
"public_smoke_repeated": false,
|
||||
"grade5": false,
|
||||
"binary_hashes": {
|
||||
"app": "37726b99a2b64f888d4cf5a0b72e949ff12318fa5d3a2e162a748573f2a484c0",
|
||||
"worker": "9d359b5b6e0a0cbaa515bca37238af9a838c1100cbdd0c698e8d4b500f1f3a3f"
|
||||
},
|
||||
"fixture": {
|
||||
"chat_id": "a7f179a5-39ca-47f0-9ae9-7c1a4bc5088b",
|
||||
"actor_ids": [
|
||||
"3b9b06d2-cbf9-4909-82c6-6c133e68bb48",
|
||||
"fd9b0916-8d82-4724-bfa2-d75f9dc858d3"
|
||||
],
|
||||
"encrypted_credential_capture": true,
|
||||
"reused_existing_fixture": true,
|
||||
"uploads": [
|
||||
"9882fc71-ab55-492a-b8ff-461af38becd5",
|
||||
"adbe1b06-05b4-4feb-a1dc-6596ddb4672b",
|
||||
"f625459e-f28a-41f0-bbb6-5e046df9e818"
|
||||
]
|
||||
},
|
||||
"baseline_rules": {
|
||||
"worker": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:10Z",
|
||||
"elapsed_ms": 135
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 575,
|
||||
"measured_value": 0,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801376702
|
||||
},
|
||||
"server": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:10Z",
|
||||
"elapsed_ms": 103
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 207,
|
||||
"measured_value": 0,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801377245
|
||||
}
|
||||
},
|
||||
"worker_incident": {
|
||||
"attachment_id": "adbe1b06-05b4-4feb-a1dc-6596ddb4672b",
|
||||
"started_milliseconds": 1794801379911,
|
||||
"firing": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:56:20Z",
|
||||
"elapsed_ms": 432
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "pending",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:00Z",
|
||||
"elapsed_ms": 41100
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:20Z",
|
||||
"elapsed_ms": 61116
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 61229,
|
||||
"measured_value": 60.063806,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801440027
|
||||
},
|
||||
"resolved": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:20Z",
|
||||
"elapsed_ms": 350
|
||||
},
|
||||
{
|
||||
"uid": "vp7-old-jobs",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:30Z",
|
||||
"elapsed_ms": 8223
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 8331,
|
||||
"measured_value": 0,
|
||||
"threshold": 30,
|
||||
"query_time_milliseconds": 1794801450057
|
||||
},
|
||||
"same_job_ready": true
|
||||
},
|
||||
"live_panels": {
|
||||
"query_time_milliseconds": 1794801461224,
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.068958827082876
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.0032291675806638232
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.20349968412052583
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.08624992357858494
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.01916015464130612
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9499999999999997
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
64.81879389958847
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
12
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
0.5
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"database_incident": {
|
||||
"started_milliseconds": 1794801466778,
|
||||
"instrumented_direct_mtls_api_5xx": 32,
|
||||
"public_lb_health_withdrawal_not_counted_as_api_5xx": true,
|
||||
"firing": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:57:40Z",
|
||||
"elapsed_ms": 1161
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "pending",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:00Z",
|
||||
"elapsed_ms": 18769
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:30Z",
|
||||
"elapsed_ms": 48784
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 48889,
|
||||
"measured_value": 0.7087477391119006,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801514562
|
||||
},
|
||||
"resolved": {
|
||||
"states": [
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "firing",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:58:30Z",
|
||||
"elapsed_ms": 205
|
||||
},
|
||||
{
|
||||
"uid": "vp7-server-errors",
|
||||
"state": "inactive",
|
||||
"health": "ok",
|
||||
"last_evaluation": "2026-11-16T03:59:40Z",
|
||||
"elapsed_ms": 67892
|
||||
}
|
||||
],
|
||||
"elapsed_ms": 68000,
|
||||
"measured_value": 0,
|
||||
"threshold": 0.05,
|
||||
"query_time_milliseconds": 1794801584871
|
||||
},
|
||||
"public_api_200_after_recovery": true
|
||||
},
|
||||
"alert_transitions_accepted": true,
|
||||
"upload_count": 3
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": true,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "REAL_WORKER_DATABASE_INCIDENTS",
|
||||
"code": "GRAFANA_INCIDENT_RULE_CHANGED",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"state": "OBSERVED_GRAFANA_BROWSER_PENDING_FINAL_ACCEPTANCE",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794785756292,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": false,
|
||||
"browser": {
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "ACTUAL_GRAFANA_RESPONSE_CONSUMERS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-e384107e-200b-4ed2-b2be-c47adb6c1723",
|
||||
"console_error_count": 8,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": false,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "NATIVE_DATASOURCE_PROVISIONING",
|
||||
"code": "GRAFANA_DATASOURCE_PRINCIPAL_MISMATCH",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "HISTORICAL_METRIC_READS",
|
||||
"code": "GRAFANA_BROWSER_FAILED_UI_19_PANEL_DASHBOARD",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,667 @@
|
||||
{
|
||||
"state": "OBSERVED_GRAFANA_BROWSER_PENDING_FINAL_ACCEPTANCE",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794785756292,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": false,
|
||||
"browser": {
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "UI_TRACE_TO_LOGS_SPAN_DETAILS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"metric_window_end_milliseconds": 1794801466224,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369",
|
||||
"console_error_count": 24,
|
||||
"native_browser_metrics": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"expr": "sum(rate(http_requests[1m]))",
|
||||
"samples": 11,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.17427456722151502,
|
||||
0.41048884988491313,
|
||||
0.6336002986570249,
|
||||
0.8513069986005116,
|
||||
0.8965528448615421,
|
||||
0.9482744726555128,
|
||||
1.0344884304740638
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"expr": "histogram_quantile(0.50,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.0025994385189270354,
|
||||
0.0027258164720459434,
|
||||
0.002602784461530249,
|
||||
0.002573830057578922,
|
||||
0.0025999993724131654,
|
||||
0.0028645832596983813,
|
||||
0.003260869324439736
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"expr": "histogram_quantile(0.99,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.21078825569343396,
|
||||
0.23189359407210536,
|
||||
0.21201588611575894,
|
||||
0.19770767878324663,
|
||||
0.17199952930691964,
|
||||
0.1675001187582823,
|
||||
0.20500007642270346
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"expr": "(sum(rate(http_requests{status_class=\"5xx\"}[1m])) or vector(0)) / clamp_min(sum(rate(http_requests[1m])),0.001)",
|
||||
"samples": 11,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by (le)(rate(http_duration_bucket[1m])))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0.0049389331859613665,
|
||||
0.159467970360527,
|
||||
0.0049452904769074725,
|
||||
0.004890277109399952,
|
||||
0.004939998807585014,
|
||||
0.05624997525862099,
|
||||
0.08750002122860084
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"expr": "sum by (outcome)(rate(jobs_processed[1m]))",
|
||||
"samples": 7,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0.01866094651996233
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_bucket[1m])))",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9500000000000002
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(time_to_ready_bucket[1m])))",
|
||||
"samples": 1,
|
||||
"values": [
|
||||
1.9944067920075628
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"expr": "max(queue_oldest_age_seconds)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
10.063894,
|
||||
24.063491,
|
||||
40.063894,
|
||||
54.06388,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"expr": "max(queue_depth)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"expr": "sum(worker_busy)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"expr": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))",
|
||||
"samples": 5,
|
||||
"values": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"expr": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))",
|
||||
"samples": 9,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"expr": "sum(db_pool_used)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"expr": "sum(db_pool_pending_acquires)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"expr": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))",
|
||||
"samples": 9,
|
||||
"values": [
|
||||
6,
|
||||
10,
|
||||
10,
|
||||
8,
|
||||
8,
|
||||
8,
|
||||
8,
|
||||
10,
|
||||
10
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"expr": "max(ready_slo_timely_10s) / clamp_min(max(ready_slo_matured_10s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"expr": "max(ready_slo_timely_30s) / clamp_min(max(ready_slo_matured_30s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"expr": "max(ready_slo_timely_300s) / clamp_min(max(ready_slo_matured_300s),1)",
|
||||
"samples": 47,
|
||||
"values": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
]
|
||||
}
|
||||
],
|
||||
"response_cap": true,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": false,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"state": "OBSERVED_GRAFANA_BROWSER_PENDING_FINAL_ACCEPTANCE",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794785756292,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": false,
|
||||
"browser": {
|
||||
"state": "PASS_NORMAL_UI_HISTORY_WRITE_READBACK",
|
||||
"stage": "NORMAL_UI_PAGE_HISTORY_RELOAD",
|
||||
"route": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"events": [
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 404
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/",
|
||||
"method": "POST",
|
||||
"status": 201
|
||||
},
|
||||
{
|
||||
"path": "/apis/userstorage.grafana.app/v0alpha1/namespaces/default/user-storage/grafana-page-history:fg4fpuerxx79cb",
|
||||
"method": "GET",
|
||||
"status": 200
|
||||
}
|
||||
],
|
||||
"write_status": 201,
|
||||
"get_status": 200,
|
||||
"raw_diagnostic_events": 4,
|
||||
"expected_optional_state_events": 4,
|
||||
"unexpected_events": 0,
|
||||
"script_seeded": false,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": false,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"state": "OBSERVED_GRAFANA_BROWSER_PENDING_FINAL_ACCEPTANCE",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794785756292,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": false,
|
||||
"browser": {
|
||||
"state": "PASS_NATIVE_LOG_TRACE_LINKS",
|
||||
"stage": "UI_TRACE_TO_LOGS_SPAN_DETAILS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 0,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"metric_window_end_milliseconds": 1794801466224,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2",
|
||||
"console_error_count": 4,
|
||||
"native_browser_metrics": [
|
||||
{
|
||||
"id": 1,
|
||||
"title": "Requests / second",
|
||||
"expr": "sum(rate(http_requests[1m]))"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"title": "HTTP p50 seconds",
|
||||
"expr": "histogram_quantile(0.50,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"title": "HTTP p99 seconds",
|
||||
"expr": "histogram_quantile(0.99,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"title": "HTTP server error ratio",
|
||||
"expr": "(sum(rate(http_requests{status_class=\"5xx\"}[1m])) or vector(0)) / clamp_min(sum(rate(http_requests[1m])),0.001)"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"title": "HTTP p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by (le)(rate(http_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"title": "Jobs by outcome",
|
||||
"expr": "sum by (outcome)(rate(jobs_processed[1m]))"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"title": "Job duration p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"title": "Time to ready p95 seconds",
|
||||
"expr": "histogram_quantile(0.95,sum by(le)(rate(time_to_ready_bucket[1m])))"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"title": "Oldest unfinished job seconds",
|
||||
"expr": "max(queue_oldest_age_seconds)"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"title": "Unfinished jobs",
|
||||
"expr": "max(queue_depth)"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"title": "Worker busy",
|
||||
"expr": "sum(worker_busy)"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"title": "Worker capacity",
|
||||
"expr": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"title": "Database observer up",
|
||||
"expr": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"title": "Database pool used",
|
||||
"expr": "sum(db_pool_used)"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"title": "Database pending acquires",
|
||||
"expr": "sum(db_pool_pending_acquires)"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"title": "Database pool capacity",
|
||||
"expr": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"title": "Ready within 10 seconds",
|
||||
"expr": "max(ready_slo_timely_10s) / clamp_min(max(ready_slo_matured_10s),1)"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"title": "Ready within 30 seconds",
|
||||
"expr": "max(ready_slo_timely_30s) / clamp_min(max(ready_slo_matured_30s),1)"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"title": "Ready within 300 seconds",
|
||||
"expr": "max(ready_slo_timely_300s) / clamp_min(max(ready_slo_matured_300s),1)"
|
||||
}
|
||||
],
|
||||
"response_cap": false,
|
||||
"links": {
|
||||
"trace_spans": 42,
|
||||
"parent_relations": 41,
|
||||
"selected_span_id": "54d90849005639d4",
|
||||
"from_milliseconds": 1794785659919,
|
||||
"to_milliseconds": 1794785660468,
|
||||
"sql": "SELECT * FROM \"messenger\" WHERE \"trace_id\" = '13aa5cd043d490330a867149fc7f4dbf'",
|
||||
"response_status": 200,
|
||||
"rows": [
|
||||
{
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"span_id": "54d90849005639d4",
|
||||
"event": "worker.job",
|
||||
"timestamp_microseconds": 1794785660451568
|
||||
}
|
||||
],
|
||||
"new_rendered_worker_job_row": true
|
||||
},
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": false,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"state": "OBSERVED_GRAFANA_BROWSER_PENDING_FINAL_ACCEPTANCE",
|
||||
"stage": "SOURCE_AND_ARTIFACT_POSTGUARDS",
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cache_receipt": {
|
||||
"path": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"sha256": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8"
|
||||
},
|
||||
"initializer": {
|
||||
"admin_envelope_matches_consumer": true,
|
||||
"security_key_encrypted_before_publication": true,
|
||||
"admin_password_shape_and_envelope_verified": true
|
||||
},
|
||||
"accountGuards": [
|
||||
{
|
||||
"principal": "ingest",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
},
|
||||
{
|
||||
"principal": "query",
|
||||
"positive_http": 200,
|
||||
"deny_http": 403
|
||||
}
|
||||
],
|
||||
"grafana_version": "13.3.1",
|
||||
"grafana_build_commit": "da3aa3ff574e7dbbf808c66b6daa744defed0441",
|
||||
"datasource_uids": [
|
||||
"prometheus",
|
||||
"openobserve"
|
||||
],
|
||||
"panels": [],
|
||||
"rule_uids": [
|
||||
"vp7-server-errors",
|
||||
"vp7-old-jobs"
|
||||
],
|
||||
"metric_query_time_milliseconds": 1794785756292,
|
||||
"retained_trace_history_query_time_milliseconds": 1794785756292,
|
||||
"producer_started": false,
|
||||
"browser": {
|
||||
"state": "OBSERVED_UI_PENDING_CORRELATION_AND_RESPONSE_BOUNDARY",
|
||||
"stage": "UI_CORRELATED_LOGS",
|
||||
"session_login": "operator",
|
||||
"dashboard_titles": 19,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"expected_spans": 42,
|
||||
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-a63697ff-c000-4d91-a8f7-60c4c6821fba",
|
||||
"console_error_count": 3,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
},
|
||||
"smoke_repeated": false,
|
||||
"native_grafana_bootstrap": true,
|
||||
"native_grafana_ui": false,
|
||||
"alert_transitions_accepted": false,
|
||||
"response_cap_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"state": "FAILED",
|
||||
"stage": "HISTORICAL_METRIC_READS",
|
||||
"code": "PRIVATE_DETAILS_ONLY",
|
||||
"native_bao": false,
|
||||
"grade5": false,
|
||||
"stop_exit": 0
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"state": "PASS_ACTUAL_NATIVE_GRAFANA_RESPONSE_CONSUMERS_8MIB",
|
||||
"cap_bytes": 8388608,
|
||||
"results": [
|
||||
{
|
||||
"name": "browser_proxy_positive",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 443,
|
||||
"hits": 1,
|
||||
"boundary_marker": false
|
||||
},
|
||||
{
|
||||
"name": "plugin_backend_positive",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 455,
|
||||
"frames": 1,
|
||||
"boundary_marker": false
|
||||
},
|
||||
{
|
||||
"name": "browser_proxy_over_8mib",
|
||||
"status": 502,
|
||||
"content_type": "application/json",
|
||||
"bytes": 35,
|
||||
"boundary_marker": true
|
||||
},
|
||||
{
|
||||
"name": "plugin_backend_over_8mib",
|
||||
"status": 400,
|
||||
"content_type": "application/json",
|
||||
"bytes": 144,
|
||||
"frames": 0,
|
||||
"error": "NATIVE_QUERY_ERROR",
|
||||
"boundary_marker": false
|
||||
}
|
||||
],
|
||||
"producer_started": false
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"state": "OBSERVED_NATIVE_CONSUMER_RESPONSES",
|
||||
"cap_bytes": 8388608,
|
||||
"results": [
|
||||
{
|
||||
"name": "browser_proxy_positive",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 530,
|
||||
"hits": 1,
|
||||
"boundary_marker": false
|
||||
},
|
||||
{
|
||||
"name": "plugin_backend_positive",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 455,
|
||||
"frames": 1,
|
||||
"boundary_marker": false
|
||||
},
|
||||
{
|
||||
"name": "browser_proxy_over_8mib",
|
||||
"status": 200,
|
||||
"content_type": "application/json",
|
||||
"bytes": 9437661,
|
||||
"hits": 1,
|
||||
"boundary_marker": false
|
||||
},
|
||||
{
|
||||
"name": "plugin_backend_over_8mib",
|
||||
"status": 400,
|
||||
"content_type": "application/json",
|
||||
"bytes": 180,
|
||||
"frames": 0,
|
||||
"error": "reading OpenObserve response: error: http: response body too large, response limit is set to: 8388608",
|
||||
"boundary_marker": false
|
||||
}
|
||||
],
|
||||
"producer_started": false
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"state": "PASS_NATIVE_MTLS_RESPONSE_FRAMING_8MIB",
|
||||
"config_sha256": "7d7d89cc5d468e339c7df256bfcfd48a87a012a081e55616d603c3a14753e567",
|
||||
"image": "sha256:1c3568e520453cc8ba98c39501febcf450429c80e6cc27ecad779961d76e597c",
|
||||
"results": [
|
||||
{
|
||||
"name": "small",
|
||||
"status": 200,
|
||||
"bytes": 11,
|
||||
"marker": false,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "exact_cap",
|
||||
"status": 200,
|
||||
"bytes": 8388608,
|
||||
"marker": false,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "cap_plus_one",
|
||||
"status": 502,
|
||||
"bytes": 35,
|
||||
"marker": true,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "gzip",
|
||||
"status": 502,
|
||||
"bytes": 35,
|
||||
"marker": true,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "identity_encoding",
|
||||
"status": 502,
|
||||
"bytes": 35,
|
||||
"marker": true,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "chunked",
|
||||
"status": 502,
|
||||
"bytes": 35,
|
||||
"marker": true,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "eof",
|
||||
"status": 502,
|
||||
"bytes": 35,
|
||||
"marker": true,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "duplicate_equal_normalized",
|
||||
"status": 200,
|
||||
"bytes": 11,
|
||||
"marker": false,
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "leading_zero_normalized",
|
||||
"status": 200,
|
||||
"bytes": 11,
|
||||
"marker": false,
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"upstream": [
|
||||
{
|
||||
"name": "small",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "small",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "exact_cap",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "cap_plus_one",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "gzip",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "identity_encoding",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "chunked",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "eof",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "duplicate_equal_normalized",
|
||||
"identity_encoding": true
|
||||
},
|
||||
{
|
||||
"name": "leading_zero_normalized",
|
||||
"identity_encoding": true
|
||||
}
|
||||
],
|
||||
"stop_exit": 0,
|
||||
"producer_started": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"state": "LIFECYCLE_DELTA_SOURCE_REVIEW_PENDING",
|
||||
"parent": "evidence/grafana/review-source-41c6b438-c674-424f-a9f9-081a9ff66904.json",
|
||||
"parent_sha256": "dff06308dcaa446bd941a9e50bbe3753ae5acd3501b20ae11dcbd8324222f677",
|
||||
"old_browser_sha256": "595c8b4f064c40909fd81934df7a62366a9fe9850239136763d7bab45e8292e5",
|
||||
"changed": {
|
||||
"scripts/grafana-browser.ts": "e82d353479ae91ec1386536760fe212410d68734db1afdae20fbcc4147312795",
|
||||
"scripts/browser-lifecycle.ts": "1cffda8119bf0f6e27c3d379cc655b8c9993a10e2f0187e7d7de923b5b2dea55",
|
||||
"student-tests/browser-lifecycle.test.ts": "d65a3dc39ea983e5a3093e9a351fdbe9897b87fdc0ef727e6f0f00202a9b3469"
|
||||
},
|
||||
"unchanged_parent_source_files": 36,
|
||||
"preserved_parent_evidence_files": 60,
|
||||
"unchanged_guards": {
|
||||
"scripts/command-runner.ts": "9c7dfbb100714a1512f31201e68318b25aa98c6328d923c5645a53d2b2ab7335",
|
||||
"scripts/checkpoint-guards.ts": "3cc6268f23f8b6d4c36f5bf131a3a3c434fc65cce2a38dad7fd343bcc810230a",
|
||||
"scripts/package-checkpoint.ts": "4f47f14b6e48fe12909c7a4e02b6a25281932667418f98bec7527a93dfbdf1b0",
|
||||
"scripts/preflight-build.ts": "f47cda3e94ae1529e6a70b8fee30bf3b94d7e0d2566c0963a4d29044b7315de9"
|
||||
},
|
||||
"backend_files": 112,
|
||||
"backend_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"evidence": {
|
||||
"evidence/grafana/lifecycle-checks-1acb06cc-b875-4230-a1d0-4d52cb6417af.json": "f362855c899c31e86461d23663f6aea325ab66477515af8972566d21876e9f56",
|
||||
"evidence/grafana/lifecycle-unit-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt": "b643747ee9a225cc3f93fe81bdf1e3e38cb69c6b187b06ea3bf3a1a243b1241f",
|
||||
"evidence/grafana/lifecycle-typecheck-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt": "776a2b73ab326d53623651e1690238542f18e40b6f4c6dd5de9d5592aa33f2ee",
|
||||
"evidence/grafana/lifecycle-format-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt": "ec387b2550a140db9ab1804bb3cb0f514b8502525f55b732bdd9fad1c72e02e7",
|
||||
"evidence/grafana/lifecycle-red-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt": "5ad948c5646659944dfc549bd7c34b9275a3b3ab4f545a3431f459e0015220ec"
|
||||
},
|
||||
"native_browser_repeated": false,
|
||||
"producer_repeated": false,
|
||||
"fake_tests": 6,
|
||||
"fake_assertions": 19,
|
||||
"typecheck_files": 102
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"state": "NARROW_SOURCE_FREEZE_AVAILABLE_NATIVE_GF_SOURCE_REVIEW_PENDING",
|
||||
"backend_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"backend_files": 112,
|
||||
"preserved_public_files": 37,
|
||||
"unchanged_guards": {
|
||||
"scripts/command-runner.ts": "9c7dfbb100714a1512f31201e68318b25aa98c6328d923c5645a53d2b2ab7335",
|
||||
"scripts/checkpoint-guards.ts": "3cc6268f23f8b6d4c36f5bf131a3a3c434fc65cce2a38dad7fd343bcc810230a",
|
||||
"scripts/package-checkpoint.ts": "4f47f14b6e48fe12909c7a4e02b6a25281932667418f98bec7527a93dfbdf1b0",
|
||||
"scripts/preflight-build.ts": "f47cda3e94ae1529e6a70b8fee30bf3b94d7e0d2566c0963a4d29044b7315de9"
|
||||
},
|
||||
"source": {
|
||||
"bun.lock": "8be6512d5f7665fbcaae5e1cdc01d0ac7fa243f1c9cc6e10d7387f2351531e3a",
|
||||
"compose.yaml": "8dbc6643580f19dfc301fc4155b161a5bbd910e89304efb3af90cd0f4f08e41d",
|
||||
"config/grafana.cfg": "95f38876f4a9e1c1d28721aec103e0f61ea560eeae85d2da2cdaf2bb1276a40b",
|
||||
"config/openobserve-gateway.cfg": "797f719b25220e7fcef40e0d3bda9a53c36acb68c53a337d9c1f1fbd4a9434b9",
|
||||
"infra/grafana/dashboards/messenger.json": "f7270d4c6f3936c9cc1b9b5a0cb3db85edfeb05cd123a919284a6f43802d6394",
|
||||
"infra/grafana/provisioning/alerting/messenger.yaml": "eb45f4fecaddd99e3adb05a2a485174d5dbfc8133e891a0df93763cb49d96c06",
|
||||
"infra/grafana/provisioning/dashboards/default.yaml": "8e261b2e380e674e92ad23c9c309e73ba72e6893326ebaa4eafcaac939ea4645",
|
||||
"infra/grafana/provisioning/datasources/default.yaml": "68ad7981cc813d8e334904c97ea8c7e07dc5c15e99512fde98cbb1464e964f5a",
|
||||
"infra/otel/collector.yaml": "1f1bd45394b54887d5e9f0a0845b29cf57006f8e660ca2cad6edf90fb2c617e8",
|
||||
"package.json": "65225cc976dc57a679744be97ce50bc5f983fa228b7f586a6f3c1be08f956fd7",
|
||||
"scripts/bootstrap.ts": "5a553624ea08648a5ccf18b84faf598c9c27de99527ce8c71478b1e0ba93d7b9",
|
||||
"scripts/check-source.ts": "f473322a0833730ea27111206908764fde849d59be5df8e145030e060f4c8dcf",
|
||||
"scripts/grafana-browser.ts": "595c8b4f064c40909fd81934df7a62366a9fe9850239136763d7bab45e8292e5",
|
||||
"scripts/grafana-cache.ts": "4bcb41b9d05db565141d06f85357f8d7ef8559a5e5094beafa08fa085fb575a7",
|
||||
"scripts/grafana-datasources.ts": "3c3dc3ea336dbd9005e0a465ea4198f0cc51f68948a999c8071d54a9432f8731",
|
||||
"scripts/grafana-incidents.ts": "e772f1afe12de0e6b29dc20312c5a2bb878164ed2e3ba90d1d8655339717c339",
|
||||
"scripts/grafana-preflight.ts": "e431d88da125eaca909d0af8dfc3322e8713f3a3d2e25f6b0206090c7b2ae19c",
|
||||
"scripts/grafana.ts": "d8b85be84abcaab697bc823bb70fa663e9c791b6f692a338e891fa6ad0ec9c6a",
|
||||
"scripts/lab.ts": "1ba40ec8187549a6ea7db879cf85a87c91b77ececf4e7cc17ba925785fff1a58",
|
||||
"scripts/openobserve-accounts.ts": "d78f380a68de729361537a9572c42366631b48a03b7143c9799433bbecdab3ae",
|
||||
"scripts/openobserve-query-policy.ts": "2e232ef8415dad27de01589b0c24b74088d0e8009684cbc42c7b94185984b725",
|
||||
"scripts/openobserve.ts": "06ed7dd00eb72116ae00584c31b15b042264bc00b758d8a4606a5146042431f4",
|
||||
"scripts/operator-crypto.ts": "6bcc6b9d28ecce952638009760d15a27fabc92386e3a4c84ebc68ca0c9fae2f8",
|
||||
"scripts/runtime-inspect.ts": "80852499eb895f524aa8d8a9abab6f4030571e8b88f5445a5298402d18035b35",
|
||||
"scripts/runtime.ts": "71bbcb9485b3506b19c1cb508c8f483f22a3138e91dfccad0ed9ce412aefd7f6",
|
||||
"scripts/telemetry-dashboard.ts": "9a55d17101a9784b819097077a1825fb9d30e7caaaad125dd42174bfb8e54a41",
|
||||
"scripts/topology.ts": "c68df7f6a500727d5d93d167c3862da729214d9fa7ab1cd3d35e18402edcf85e",
|
||||
"scripts/validate-source.ts": "fef58779a4a3800fa7769d53db5501fcf0d84ac6531587d670e9abf6b3c11c56",
|
||||
"student-tests/grafana-browser-launch.ts": "9dae537ba4df412ca12b87ac5b322b15e0efcd863e48087d21141bed93c5d9ed",
|
||||
"student-tests/grafana-datasources.test.ts": "5290b6c4010f43bb8adce654e8025d1f99db93c46a90878ce1af44c4afd5d2b0",
|
||||
"student-tests/grafana-gauge-proof.ts": "d3be11eed7fe8709fa27181c02badc310e9449582db31533cbc254df2c95ed0b",
|
||||
"student-tests/grafana-guards.test.ts": "4d5da44bef95f654808195280b77194b9f40b8dfa24adb1cd532cbc66b31975c",
|
||||
"student-tests/grafana-response-boundary.ts": "39ba01a8eab0af5c8a309460afe0762ce3ace4d1dfbfab999f7cba4c147c8f1d",
|
||||
"student-tests/http-fixture.test.ts": "e594eab80d6d9a8e5a654e86c3f9756a0bbc0755235cf212b76370ce11b507e1",
|
||||
"student-tests/http.ts": "048d485fd24d4ada4379789822258ce21775aa4721ea3c7f4d87897fcb659939",
|
||||
"student-tests/openobserve-topology.test.ts": "06f6a64f9b58d2b6a4beaa6585977edd7fecba0e3c38fa7dc9f6c55250eb3754",
|
||||
"tsconfig.json": "f4597ca6a119e2ea48f631964f1a898d834127ed9d51ab991deb014d2069e2eb"
|
||||
},
|
||||
"evidence": {
|
||||
"evidence/grafana/preflight-6696c9e2-8b86-45ab-bbdd-9e5988304afa.json": "17c738e1d0aef939d37f99a1821730524e7c4f521522d6fd49314c16f280fc79",
|
||||
"evidence/grafana/preflight-ba115d3c-2a3a-437e-bbe6-f9f72829b8cf.json": "7f5dc223e70ad747fcaad425fdbfed838aa6c5a1dae41dd98af9afabecddd0b9",
|
||||
"evidence/grafana/preflight-02871d83-b532-459d-b007-062651324f7e.json": "1b8683368f5225374ede4aca92079be59253aab0264a41cfafcd1ecd721bfa85",
|
||||
"evidence/grafana/screenshots/b8b2e8e1-dashboard-bottom.png": "28d73bafb38f153c806134fec4430a074a5b1e4de562461e2866f0958e841af4",
|
||||
"evidence/grafana/screenshots/a63697ff-dashboard-bottom.png": "00b79fa30196057967bf9b80495aa879ae98cfd91245ab710ced34ad8882f241",
|
||||
"evidence/grafana/screenshots/a63697ff-trace42.png": "54bb8b7aaeb88e011613807f9ce81493e7df98e21adb1318889873a8ef88f210",
|
||||
"evidence/grafana/screenshots/a63697ff-correlated-logs.png": "8879d48c6734fb86481937e7982e4881807f72df9ed75f7ea34ab2a3843af231",
|
||||
"evidence/grafana/screenshots/b8b2e8e1-dashboard-middle.png": "dc7db852b5d67d78fbb63e0e525bcfeb65024a641e087a82caf7ae2f4ece5aff",
|
||||
"evidence/grafana/screenshots/86b82122-native-trace-to-logs.png": "6c89563b449def897b047ba4be66382675b6f1cbf25e3d80bb5368a5838f3d8c",
|
||||
"evidence/grafana/screenshots/b8b2e8e1-dashboard-top.png": "f35ac084359d2c1cf64784d6bf427d7e690a7442ada72ddfb50705d041a90727",
|
||||
"evidence/grafana/https-identity-35db454d-556e-494d-8350-9e1837e4e271.json": "1f72a42a1611eb2ae3807c0fe7963347ac026873c49275de1d0688c617adec5d",
|
||||
"evidence/grafana/browser-a63697ff-c000-4d91-a8f7-60c4c6821fba.json": "f904313355dcaeb42d31c7b59dedfdb262e7e9887d91b790015fb494554e6ad2",
|
||||
"evidence/grafana/public-source-check.txt": "5f42d25d7cd8c1d2fb31ccf28a2872fbb91d38ed094024181e5ace9671667ee6",
|
||||
"evidence/grafana/response-consumers-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json": "85fcf88ea3e89c51ce5ca3e40513319dcb5f760108bfc1c005d81080f7ee03a2",
|
||||
"evidence/grafana/histogram-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json": "efc4e6b959b71745d0fef11a6ae23af313838528a7395311f2b14c361a4543a5",
|
||||
"evidence/grafana/preflight-0dd365eb-c3de-4f6e-8748-8ddcb6b024e6.json": "6577429ac44134b4a11eff45d5ecc5110087b8db990bcbb1597967fd7d7838c0",
|
||||
"evidence/grafana/source/source-unit.txt": "42d8eae4e197657b4f22e6dfec321de64da65c73b6fc0c95ef27c169eb8545e6",
|
||||
"evidence/grafana/source/source-typecheck.txt": "b06acdb1fb47dbc795703bb2e35d60ee6d00112323fc17ad319e25e363dafed5",
|
||||
"evidence/grafana/source/source-format.txt": "ec387b2550a140db9ab1804bb3cb0f514b8502525f55b732bdd9fad1c72e02e7",
|
||||
"evidence/grafana/source/source-checks.json": "633f9e679003572ac0b52f21c4e3a3b4153266bb753b0d6fd94d610d8b450ff1",
|
||||
"evidence/grafana/preflight-ec24045e-26b3-468d-ba6a-bc0a34a7ba3b.json": "1baea5b75c4c901172520688410c27fa0cd66fbb804a6c23731f1e0e799f522b",
|
||||
"evidence/grafana/source-before-scope-cli-bfbb13/source-unit.txt": "6ed0cc52f8d22cd0f31cded1ec44f1b682b2b7381eeb40df90964448968e8054",
|
||||
"evidence/grafana/source-before-scope-cli-bfbb13/source-typecheck.txt": "97e5dfa5c28ab38ed4a0cbe91aa511303975a557e15b47630bd2c35051fda38e",
|
||||
"evidence/grafana/source-before-scope-cli-bfbb13/source-format.txt": "ec387b2550a140db9ab1804bb3cb0f514b8502525f55b732bdd9fad1c72e02e7",
|
||||
"evidence/grafana/source-before-scope-cli-bfbb13/source-checks.json": "633f9e679003572ac0b52f21c4e3a3b4153266bb753b0d6fd94d610d8b450ff1",
|
||||
"evidence/grafana/browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2.json": "7c44010cb88d151f2cecc3db65badb8f2d02b79905e40b988cb333645a94a9be",
|
||||
"evidence/grafana/response-consumers-e384107e-200b-4ed2-b2be-c47adb6c1723.json": "d838c87b9e25d282cbb4b01489f520b3a5d75ce9828a9da1ed8d837c14411493",
|
||||
"evidence/grafana/preflight-1b430ef3-576a-41fd-aeec-91c0e7c36af0.json": "295a9c281d2367a9b896cabea82a938eb3f593b6c92fe4fbebedab701a7cd16c",
|
||||
"evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json": "78a7a337e65804f52d232c0941b353823df27e9a1f4ff4b468ae00dfb9b8f5a8",
|
||||
"evidence/grafana/source-before-http-fixture/source-unit.txt": "b520975c882fb845850d50b334cd4a8efbc06dfc61060f079f03599b195cbb21",
|
||||
"evidence/grafana/source-before-http-fixture/source-typecheck.txt": "077c71add06621da98fa4765b6f8b7a31b8555599d9dd50197579a303cadfce3",
|
||||
"evidence/grafana/source-before-http-fixture/source-format.txt": "ec387b2550a140db9ab1804bb3cb0f514b8502525f55b732bdd9fad1c72e02e7",
|
||||
"evidence/grafana/source-before-http-fixture/source-checks.json": "633f9e679003572ac0b52f21c4e3a3b4153266bb753b0d6fd94d610d8b450ff1",
|
||||
"evidence/grafana/pool-a63697ff-c000-4d91-a8f7-60c4c6821fba.json": "7da4a9655c69b5fc234927cebd470dbbf0222f6a77c9742f99a4e5395a846e3c",
|
||||
"evidence/grafana/ui-capture-a63697ff.json": "2bb24cbd9904d8de18195a028d6d5d4a99dace43f3918161de8f12cdbaaeecef",
|
||||
"evidence/grafana/browser-ca31bc9a-3b4e-4aaf-a869-1f73f8c54cf6.json": "6ce19cd17b98e548d1f22ba3f763f610be498ba5f457e31ba621973108432193",
|
||||
"evidence/grafana/incidents-e80b4c4d-df97-4cc9-b6d4-7ba651e0542b.json": "94a075b55cdc38b4b67b3c6a3758f200b3c0e660e51b4953010add6716e44c6c",
|
||||
"evidence/grafana/gauges-4fc181c9-7bed-4e1f-9d43-eb69474ee891.json": "b76fe1b7b5d638487ff2acf3d9412d9e6581ea8dd2eee539d6d32db04ae6205b",
|
||||
"evidence/grafana/dom/a63697ff-trace42.txt": "2a59e2ec14e837d6a6de59f3164f68725cccb26bb41e7e147082b3b5b6c689a1",
|
||||
"evidence/grafana/dom/a63697ff-correlated-logs.txt": "14938c75c7f9e9b7ff76ac80bc78c63ebd82696c5115ed4b012d54f9395e0e0f",
|
||||
"evidence/grafana/dom/86b82122-native-trace-to-logs.txt": "b0e81437ab6b0f88f0c256127633848c6779a2c4e6580f1d3e05a18cac7ce501",
|
||||
"evidence/grafana/browser-e384107e-200b-4ed2-b2be-c47adb6c1723.json": "62cfd2112b79386f2eea553e98ccc8b9c05b7a38c97bbc3353f2eadfeee63386",
|
||||
"evidence/grafana/browser-53d5ab5b-f73a-4750-b9ef-e54c36c488f3.json": "b591874bfb34b8302eede4ca44df15a553bf04278fba07a1d2fbbb3701679ca7",
|
||||
"evidence/grafana/preflight-06887be3-cf0d-44cb-9afb-5c572084bc03.json": "27a84f60c7cad6c4342dc9645b7462c29956ada2c52d9ac9f18ece72543e3afb",
|
||||
"evidence/grafana/preflight-3081897a-db9a-47c4-a5eb-8b491ff470e1.json": "3eab20317d1f9323efef491341ffc261a94bfdffbc100f38dae8b1d0418c81da",
|
||||
"evidence/grafana/browser-35db454d-556e-494d-8350-9e1837e4e271.json": "51204bcd9c6e245fcf3c94608592d03b72a896206c1be5b099715616883d8980",
|
||||
"evidence/grafana/incidents-a00ceb14-2191-478d-bd4c-ad3629536c41.json": "36b9018f227a7bb2ec00783ceea4fef7883a02883a69a7d89e3fd909cc31bc1a",
|
||||
"evidence/grafana/preflight-787422f6-c430-4ce3-a9e2-27d9c1bb8a5b.json": "8bf3cb1138502af372583c9c2cb26f7fd8b31f283a9f6ec6c127557a2e7a8498",
|
||||
"evidence/grafana/preflight-96875a3e-2d3a-45f2-9a0b-df0de985e95b.json": "6c659f334791205fa48c2e84cd6f0b08a9468868d04bd55a301942d439b71385",
|
||||
"evidence/grafana/preflight-febb2404-aeea-42d8-9dda-ba315bd9498c.json": "9681e2eb01869350d59f8d1c0627445f7a826c1721888e3dbeb5a4e139c7843f",
|
||||
"evidence/grafana/preflight-99e1360d-bb45-4048-a965-ffc4838f079e.json": "71354852f97d5abddbf3bb62bd18801ae8479a89de6c36633f3e4a86eb9e75b8",
|
||||
"evidence/grafana/source-before-final-c714c1d2/source-unit.txt": "3d4d3617f068266839e7f14c55b08a5f4998c05d8dff178dd960aaf0556f5195",
|
||||
"evidence/grafana/source-before-final-c714c1d2/source-typecheck.txt": "8ab84ea88ed6044967674aabea530a8ba68cde880f1e5e229833da521f67b70a",
|
||||
"evidence/grafana/source-before-final-c714c1d2/source-format.txt": "ec387b2550a140db9ab1804bb3cb0f514b8502525f55b732bdd9fad1c72e02e7",
|
||||
"evidence/grafana/source-before-final-c714c1d2/source-checks.json": "633f9e679003572ac0b52f21c4e3a3b4153266bb753b0d6fd94d610d8b450ff1",
|
||||
"evidence/grafana/browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json": "e43ae30648e5c761abe257215764505723ac81deb272ec34ce254168cc2b26c4",
|
||||
"evidence/grafana/response-framing-be70ca46-35ef-4420-965d-20019dfb2061.json": "6e6ee69f0bc503cf2ed7c62b4e7a2cf98dfd54e241af88c8c4aa70e4fc339e72",
|
||||
"evidence/grafana/preflight-7c84f311-e050-406b-8caa-673dc36f1266.json": "61d5719476448f4218cc9ea0517c8fe16796d6995bcf15dac24fcc72c4822013",
|
||||
"evidence/grafana/ui-captures-final.json": "3db531479fe2132b5321232bf2d8a6f430b6e9f428991fe32836c4f12ca7d40a",
|
||||
"evidence/grafana/incidents-95f643fd-617e-4088-a112-126e14333e09.json": "b46a70851170118ac5e0c9dfd8a015b3ed77dfe43b587e9f843c7830b21bb4b3"
|
||||
},
|
||||
"full_security_accepted": false,
|
||||
"native_bao": false,
|
||||
"grade5": false
|
||||
}
|
||||
|
After Width: | Height: | Size: 177 KiB |
|
After Width: | Height: | Size: 142 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 114 KiB |
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 96 files [2.09s]
|
||||
@@ -0,0 +1,139 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
$ bun test student-tests/security-guards.test.ts student-tests/kv-secrets.test.ts student-tests/public-endpoint.test.ts student-tests/operator-crypto.test.ts student-tests/pki.test.ts student-tests/grpc-probe.test.ts student-tests/transport-negative.test.ts student-tests/command-runner.test.ts student-tests/checkpoint-guards.test.ts student-tests/openobserve-topology.test.ts student-tests/openobserve-config.test.ts student-tests/openobserve-accounts.test.ts student-tests/openobserve-request-path.test.ts student-tests/openobserve-response.test.ts student-tests/openobserve-search-window.test.ts student-tests/openobserve-reader.test.ts student-tests/openobserve-account-workflow.test.ts student-tests/grafana-guards.test.ts student-tests/grafana-datasources.test.ts student-tests/http-fixture.test.ts
|
||||
|
||||
student-tests/grafana-datasources.test.ts:
|
||||
(pass) native listDTO may omit auth fields; authenticate the exact UID detail and health readers [0.44ms]
|
||||
(pass) configured root account is rejected before datasource health can masquerade as scoped auth [0.11ms]
|
||||
(pass) HTTP200 health with error body is not a healthy datasource [0.06ms]
|
||||
|
||||
student-tests/openobserve-response.test.ts:
|
||||
(pass) HTTP401 text error preserves native HTTP outcome [0.06ms]
|
||||
(pass) HTTP422 text error preserves native HTTP outcome
|
||||
(pass) HTTP500 text error preserves native HTTP outcome
|
||||
(pass) HTTP200 JSON remains parsed [0.02ms]
|
||||
(pass) HTTP200 malformed success retains the status in its error [0.04ms]
|
||||
|
||||
student-tests/http-fixture.test.ts:
|
||||
(pass) human fixture labels never become invalid API usernames [0.08ms]
|
||||
(pass) unexpected native HTTP result retains its exact outcome before stable failure [0.35ms]
|
||||
(pass) diagnostic write failure cannot replace HTTP400 [0.08ms]
|
||||
|
||||
student-tests/openobserve-account-workflow.test.ts:
|
||||
(pass) saved native200 and403 accounts publish only after both account controls [0.29ms]
|
||||
(pass) positive HTTP401 cannot publish derived credentials [0.06ms]
|
||||
(pass) positive HTTP503 cannot publish derived credentials [0.01ms]
|
||||
(pass) positive HTTP201 cannot publish derived credentials [0.01ms]
|
||||
(pass) unexpected deny HTTP200 cannot publish derived credentials [0.06ms]
|
||||
(pass) unexpected deny HTTP503 cannot publish derived credentials [0.01ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.06ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) extra owner slot never reaches credential publication [0.05ms]
|
||||
(pass) workflow requires explicit native and publishing ports [0.02ms]
|
||||
(pass) invalid query token after a healthy ingest control still cannot publish any derived file [0.08ms]
|
||||
|
||||
student-tests/openobserve-config.test.ts:
|
||||
(pass) Collector uses native file auth and distinct stream-name handling for logs/traces versus metrics [0.29ms]
|
||||
(pass) Grafana queries measured native metric names without legacy namespace or invented suffixes [245.12ms]
|
||||
(pass) Grafana native plugin provisioning uses measured fields and native Basic auth consumers [0.30ms]
|
||||
(pass) Grafana mounts native alert rules using the measured datasource and metric names [0.34ms]
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [406.52ms]
|
||||
|
||||
student-tests/openobserve-accounts.test.ts:
|
||||
(pass) native service-account success saves exact credential before returning without a human-user API [0.27ms]
|
||||
(pass) native HTTP401 never publishes an account [0.07ms]
|
||||
(pass) native HTTP403 never publishes an account [0.01ms]
|
||||
(pass) native HTTP500 never publishes an account
|
||||
(pass) invalid native result fails closed code 3 [0.07ms]
|
||||
(pass) invalid native result fails closed token 0 [0.01ms]
|
||||
(pass) invalid native result fails closed token 4097
|
||||
(pass) invalid native result fails closed user 23
|
||||
(pass) invalid native result fails closed token 4
|
||||
(pass) account persistence failure stays primary and prevents a success result [0.08ms]
|
||||
|
||||
student-tests/checkpoint-guards.test.ts:
|
||||
(pass) checkpoint second snapshot rejects changed bytes, additions and removals [0.14ms]
|
||||
(pass) historical evidence never replaces existing different bytes and permits exact identical bytes [0.22ms]
|
||||
(pass) handover lease rejects a different valid source generation after initial verification [0.42ms]
|
||||
(pass) handover lease rejects source mutation even when receipt is unchanged [0.13ms]
|
||||
(pass) historical finalization requires its accepted source and build generation binding [0.11ms]
|
||||
|
||||
student-tests/kv-secrets.test.ts:
|
||||
(pass) reads the native KVv2 envelope for api [0.78ms]
|
||||
(pass) reads the native KVv2 envelope for worker [0.02ms]
|
||||
(pass) rejects missing KVv2 nesting and required fields [0.06ms]
|
||||
(pass) rejects credentials for another role [0.03ms]
|
||||
(pass) rejects invalid metadata and denied responses [0.04ms]
|
||||
|
||||
student-tests/grafana-guards.test.ts:
|
||||
(pass) Grafana endpoint uses the verified published loopback binding despite two networks [0.11ms]
|
||||
(pass) Grafana endpoint rejects foreign, stopped, wildcard, missing and ambiguous bindings [0.09ms]
|
||||
(pass) real numeric zero is a valid metric sample [0.10ms]
|
||||
(pass) HTTP200 with datasource error, empty, null, nonfinite or ragged values cannot pass [0.12ms]
|
||||
|
||||
student-tests/openobserve-request-path.test.ts:
|
||||
(pass) native URLSearchParams PromQL spaces stay valid before any credential or process port [0.11ms]
|
||||
(pass) rejects invalid request URI "https://foreign/api/default/streams" [0.02ms]
|
||||
(pass) rejects invalid request URI "/api/foreign/streams"
|
||||
(pass) rejects invalid request URI "/api/default/streams\r\nX: bad"
|
||||
(pass) rejects invalid request URI "/api/default/_search#fragment"
|
||||
(pass) rejects invalid request URI "/api/default/space in path"
|
||||
(pass) pinned plugin organization editor endpoint remains available [0.01ms]
|
||||
|
||||
student-tests/openobserve-search-window.test.ts:
|
||||
(pass) actual fractional filesystem mtime serializes native integer microseconds [0.06ms]
|
||||
(pass) invalid search window NaN 1 fails before a native call [0.02ms]
|
||||
(pass) invalid search window 1 Infinity fails before a native call
|
||||
(pass) invalid search window -1 100 fails before a native call
|
||||
(pass) invalid search window 1 1.7976931348623157e+308 fails before a native call
|
||||
(pass) invalid search window 10 1 fails before a native call
|
||||
(pass) invalid search window 1 1 fails before a native call
|
||||
(pass) invalid search window 1 3600002 fails before a native call
|
||||
|
||||
student-tests/openobserve-topology.test.ts:
|
||||
(pass) telemetry storage is a single OpenObserve instead of Prometheus Loki Tempo and their gateways [0.38ms]
|
||||
(pass) OpenObserve has its own persistent data and a closed private gateway namespace [0.20ms]
|
||||
(pass) storage migration retains required neighbors and existing app OTLP contract without OpenObserve secrets [0.14ms]
|
||||
(pass) Collector and Grafana storage transport targets OpenObserve through the verified gateway [0.15ms]
|
||||
(pass) Grafana query gateway permits actual editor metadata and guards native request fields [0.05ms]
|
||||
(pass) Grafana can use an own verified immutable cache alias without changing the canonical image pin [0.05ms]
|
||||
(pass) Grafana uses its own file-delivered encryption key and secure HTTPS cookies [0.06ms]
|
||||
(pass) Grafana cannot fetch extra plugin packages outside the approved cached artifacts [0.03ms]
|
||||
|
||||
student-tests/command-runner.test.ts:
|
||||
(pass) secondary diagnostic failures cannot replace command exit and both receipt writers are attempted [0.20ms]
|
||||
(pass) successful and explicitly allowed command outcomes are returned without diagnostic writes [0.10ms]
|
||||
(pass) runner requires explicit fake ports and preserves primary execution error [0.06ms]
|
||||
|
||||
student-tests/operator-crypto.test.ts:
|
||||
(pass) operator envelope authenticates ciphertext and hides plaintext [105.31ms]
|
||||
(pass) operator envelope requires a sufficiently long passphrase [0.06ms]
|
||||
|
||||
student-tests/public-endpoint.test.ts:
|
||||
(pass) selects the actual published loopback listener despite two LB networks [0.09ms]
|
||||
(pass) rejects invalid published ports [0.06ms]
|
||||
(pass) rejects unpublished, public, stopped and foreign-resource endpoints [0.07ms]
|
||||
|
||||
student-tests/transport-negative.test.ts:
|
||||
(pass) Bun native certificate-required alert counts as client denial while timeout never does [38.91ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.08ms]
|
||||
(pass) client role requires exact allowlist membership [0.06ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.06ms]
|
||||
|
||||
student-tests/grpc-probe.test.ts:
|
||||
(pass) native HTTP2 gRPC probe requires a valid Export response and checks request framing [255.79ms]
|
||||
|
||||
student-tests/openobserve-reader.test.ts:
|
||||
(pass) reader produces fixed historical SQL end and the same PromQL time after three hours [0.86ms]
|
||||
(pass) fresh reader default uses the explicit clock for both native request forms [0.17ms]
|
||||
(pass) reader requires explicit native request and clock ports [0.02ms]
|
||||
|
||||
92 pass
|
||||
0 fail
|
||||
281 expect() calls
|
||||
Ran 92 tests across 20 files. [1315.00ms]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 92 files [128.30ms]
|
||||
@@ -0,0 +1,129 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
$ bun test student-tests/security-guards.test.ts student-tests/kv-secrets.test.ts student-tests/public-endpoint.test.ts student-tests/operator-crypto.test.ts student-tests/pki.test.ts student-tests/grpc-probe.test.ts student-tests/transport-negative.test.ts student-tests/command-runner.test.ts student-tests/checkpoint-guards.test.ts student-tests/openobserve-topology.test.ts student-tests/openobserve-config.test.ts student-tests/openobserve-accounts.test.ts student-tests/openobserve-request-path.test.ts student-tests/openobserve-response.test.ts student-tests/openobserve-search-window.test.ts student-tests/openobserve-reader.test.ts student-tests/openobserve-account-workflow.test.ts student-tests/grafana-guards.test.ts
|
||||
|
||||
student-tests/openobserve-response.test.ts:
|
||||
(pass) HTTP401 text error preserves native HTTP outcome [0.15ms]
|
||||
(pass) HTTP422 text error preserves native HTTP outcome
|
||||
(pass) HTTP500 text error preserves native HTTP outcome
|
||||
(pass) HTTP200 JSON remains parsed [0.03ms]
|
||||
(pass) HTTP200 malformed success retains the status in its error [0.07ms]
|
||||
|
||||
student-tests/openobserve-account-workflow.test.ts:
|
||||
(pass) saved native200 and403 accounts publish only after both account controls [0.45ms]
|
||||
(pass) positive HTTP401 cannot publish derived credentials [0.08ms]
|
||||
(pass) positive HTTP503 cannot publish derived credentials [0.02ms]
|
||||
(pass) positive HTTP201 cannot publish derived credentials
|
||||
(pass) unexpected deny HTTP200 cannot publish derived credentials [0.06ms]
|
||||
(pass) unexpected deny HTTP503 cannot publish derived credentials [0.01ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.07ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.01ms]
|
||||
(pass) invalid saved query shape token cannot publish or probe [0.01ms]
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) extra owner slot never reaches credential publication [0.06ms]
|
||||
(pass) workflow requires explicit native and publishing ports [0.03ms]
|
||||
(pass) invalid query token after a healthy ingest control still cannot publish any derived file [0.10ms]
|
||||
|
||||
student-tests/openobserve-config.test.ts:
|
||||
(pass) Collector uses native file auth and distinct stream-name handling for logs/traces versus metrics [0.32ms]
|
||||
(pass) Grafana queries measured native metric names without legacy namespace or invented suffixes [0.36ms]
|
||||
(pass) Grafana native plugin provisioning uses measured fields and native Basic auth consumers [0.19ms]
|
||||
(pass) Grafana mounts native alert rules using the measured datasource and metric names [0.24ms]
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [436.20ms]
|
||||
|
||||
student-tests/openobserve-accounts.test.ts:
|
||||
(pass) native service-account success saves exact credential before returning without a human-user API [0.22ms]
|
||||
(pass) native HTTP401 never publishes an account [0.07ms]
|
||||
(pass) native HTTP403 never publishes an account
|
||||
(pass) native HTTP500 never publishes an account
|
||||
(pass) invalid native result fails closed code 3 [0.06ms]
|
||||
(pass) invalid native result fails closed token 0
|
||||
(pass) invalid native result fails closed token 4097
|
||||
(pass) invalid native result fails closed user 23
|
||||
(pass) invalid native result fails closed token 4
|
||||
(pass) account persistence failure stays primary and prevents a success result [0.08ms]
|
||||
|
||||
student-tests/checkpoint-guards.test.ts:
|
||||
(pass) checkpoint second snapshot rejects changed bytes, additions and removals [0.14ms]
|
||||
(pass) historical evidence never replaces existing different bytes and permits exact identical bytes [0.26ms]
|
||||
(pass) handover lease rejects a different valid source generation after initial verification [0.41ms]
|
||||
(pass) handover lease rejects source mutation even when receipt is unchanged [0.13ms]
|
||||
(pass) historical finalization requires its accepted source and build generation binding [0.13ms]
|
||||
|
||||
student-tests/kv-secrets.test.ts:
|
||||
(pass) reads the native KVv2 envelope for api [0.16ms]
|
||||
(pass) reads the native KVv2 envelope for worker [0.02ms]
|
||||
(pass) rejects missing KVv2 nesting and required fields [0.04ms]
|
||||
(pass) rejects credentials for another role [0.02ms]
|
||||
(pass) rejects invalid metadata and denied responses [0.04ms]
|
||||
|
||||
student-tests/grafana-guards.test.ts:
|
||||
(pass) Grafana endpoint uses the verified published loopback binding despite two networks [0.08ms]
|
||||
(pass) Grafana endpoint rejects foreign, stopped, wildcard, missing and ambiguous bindings [0.10ms]
|
||||
(pass) real numeric zero is a valid metric sample [0.11ms]
|
||||
(pass) HTTP200 with datasource error, empty, null, nonfinite or ragged values cannot pass [0.09ms]
|
||||
|
||||
student-tests/openobserve-request-path.test.ts:
|
||||
(pass) native URLSearchParams PromQL spaces stay valid before any credential or process port [0.09ms]
|
||||
(pass) rejects invalid request URI "https://foreign/api/default/streams" [0.02ms]
|
||||
(pass) rejects invalid request URI "/api/foreign/streams"
|
||||
(pass) rejects invalid request URI "/api/default/streams\r\nX: bad"
|
||||
(pass) rejects invalid request URI "/api/default/_search#fragment"
|
||||
(pass) rejects invalid request URI "/api/default/space in path"
|
||||
(pass) pinned plugin organization editor endpoint remains available [0.01ms]
|
||||
|
||||
student-tests/openobserve-search-window.test.ts:
|
||||
(pass) actual fractional filesystem mtime serializes native integer microseconds [0.06ms]
|
||||
(pass) invalid search window NaN 1 fails before a native call [0.02ms]
|
||||
(pass) invalid search window 1 Infinity fails before a native call
|
||||
(pass) invalid search window -1 100 fails before a native call
|
||||
(pass) invalid search window 1 1.7976931348623157e+308 fails before a native call
|
||||
(pass) invalid search window 10 1 fails before a native call
|
||||
(pass) invalid search window 1 1 fails before a native call
|
||||
(pass) invalid search window 1 3600002 fails before a native call
|
||||
|
||||
student-tests/openobserve-topology.test.ts:
|
||||
(pass) telemetry storage is a single OpenObserve instead of Prometheus Loki Tempo and their gateways [0.39ms]
|
||||
(pass) OpenObserve has its own persistent data and a closed private gateway namespace [0.07ms]
|
||||
(pass) storage migration retains required neighbors and existing app OTLP contract without OpenObserve secrets [0.13ms]
|
||||
(pass) Collector and Grafana storage transport targets OpenObserve through the verified gateway [0.15ms]
|
||||
(pass) Grafana query gateway permits actual editor metadata and guards native request fields [0.04ms]
|
||||
(pass) Grafana can use an own verified immutable cache alias without changing the canonical image pin [0.05ms]
|
||||
(pass) Grafana uses its own file-delivered encryption key and secure HTTPS cookies [0.06ms]
|
||||
(pass) Grafana cannot fetch extra plugin packages outside the approved cached artifacts [0.03ms]
|
||||
|
||||
student-tests/command-runner.test.ts:
|
||||
(pass) secondary diagnostic failures cannot replace command exit and both receipt writers are attempted [0.20ms]
|
||||
(pass) successful and explicitly allowed command outcomes are returned without diagnostic writes [0.10ms]
|
||||
(pass) runner requires explicit fake ports and preserves primary execution error [0.07ms]
|
||||
|
||||
student-tests/operator-crypto.test.ts:
|
||||
(pass) operator envelope authenticates ciphertext and hides plaintext [106.80ms]
|
||||
(pass) operator envelope requires a sufficiently long passphrase [0.05ms]
|
||||
|
||||
student-tests/public-endpoint.test.ts:
|
||||
(pass) selects the actual published loopback listener despite two LB networks [0.15ms]
|
||||
(pass) rejects invalid published ports [0.07ms]
|
||||
(pass) rejects unpublished, public, stopped and foreign-resource endpoints [0.08ms]
|
||||
|
||||
student-tests/transport-negative.test.ts:
|
||||
(pass) Bun native certificate-required alert counts as client denial while timeout never does [13.30ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.08ms]
|
||||
(pass) client role requires exact allowlist membership [0.05ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.06ms]
|
||||
|
||||
student-tests/grpc-probe.test.ts:
|
||||
(pass) native HTTP2 gRPC probe requires a valid Export response and checks request framing [324.02ms]
|
||||
|
||||
student-tests/openobserve-reader.test.ts:
|
||||
(pass) reader produces fixed historical SQL end and the same PromQL time after three hours [0.93ms]
|
||||
(pass) fresh reader default uses the explicit clock for both native request forms [0.18ms]
|
||||
(pass) reader requires explicit native request and clock ports [0.02ms]
|
||||
|
||||
86 pass
|
||||
0 fail
|
||||
265 expect() calls
|
||||
Ran 86 tests across 18 files. [915.00ms]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 100 files [77.13ms]
|
||||
@@ -0,0 +1,142 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
$ bun test student-tests/security-guards.test.ts student-tests/kv-secrets.test.ts student-tests/public-endpoint.test.ts student-tests/operator-crypto.test.ts student-tests/pki.test.ts student-tests/grpc-probe.test.ts student-tests/transport-negative.test.ts student-tests/command-runner.test.ts student-tests/checkpoint-guards.test.ts student-tests/openobserve-topology.test.ts student-tests/openobserve-config.test.ts student-tests/openobserve-accounts.test.ts student-tests/openobserve-request-path.test.ts student-tests/openobserve-response.test.ts student-tests/openobserve-search-window.test.ts student-tests/openobserve-reader.test.ts student-tests/openobserve-account-workflow.test.ts student-tests/grafana-guards.test.ts student-tests/grafana-datasources.test.ts student-tests/http-fixture.test.ts
|
||||
|
||||
student-tests/grafana-datasources.test.ts:
|
||||
(pass) native listDTO may omit auth fields; authenticate the exact UID detail and health readers [0.43ms]
|
||||
(pass) configured root account is rejected before datasource health can masquerade as scoped auth [0.12ms]
|
||||
(pass) HTTP200 health with error body is not a healthy datasource [0.07ms]
|
||||
|
||||
student-tests/openobserve-response.test.ts:
|
||||
(pass) HTTP401 text error preserves native HTTP outcome [0.07ms]
|
||||
(pass) HTTP422 text error preserves native HTTP outcome
|
||||
(pass) HTTP500 text error preserves native HTTP outcome
|
||||
(pass) HTTP200 JSON remains parsed [0.02ms]
|
||||
(pass) HTTP200 malformed success retains the status in its error [0.02ms]
|
||||
|
||||
student-tests/http-fixture.test.ts:
|
||||
(pass) human fixture labels never become invalid API usernames [0.08ms]
|
||||
(pass) unexpected native HTTP result retains its exact outcome before stable failure [0.37ms]
|
||||
(pass) diagnostic write failure cannot replace HTTP400 [0.07ms]
|
||||
|
||||
student-tests/openobserve-account-workflow.test.ts:
|
||||
(pass) saved native200 and403 accounts publish only after both account controls [0.31ms]
|
||||
(pass) positive HTTP401 cannot publish derived credentials [0.06ms]
|
||||
(pass) positive HTTP503 cannot publish derived credentials [0.01ms]
|
||||
(pass) positive HTTP201 cannot publish derived credentials [0.01ms]
|
||||
(pass) unexpected deny HTTP200 cannot publish derived credentials [0.05ms]
|
||||
(pass) unexpected deny HTTP503 cannot publish derived credentials [0.01ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.06ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) extra owner slot never reaches credential publication [0.05ms]
|
||||
(pass) workflow requires explicit native and publishing ports [0.03ms]
|
||||
(pass) invalid query token after a healthy ingest control still cannot publish any derived file [0.07ms]
|
||||
|
||||
student-tests/openobserve-config.test.ts:
|
||||
(pass) Collector uses native file auth and distinct stream-name handling for logs/traces versus metrics [0.31ms]
|
||||
(pass) Grafana queries measured native metric names without legacy namespace or invented suffixes [0.34ms]
|
||||
(pass) Grafana native plugin provisioning uses measured fields and native Basic auth consumers [19.65ms]
|
||||
(pass) Grafana mounts native alert rules using the measured datasource and metric names [0.43ms]
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [681.18ms]
|
||||
|
||||
student-tests/openobserve-accounts.test.ts:
|
||||
(pass) native service-account success saves exact credential before returning without a human-user API [0.24ms]
|
||||
(pass) native HTTP401 never publishes an account [0.06ms]
|
||||
(pass) native HTTP403 never publishes an account [0.01ms]
|
||||
(pass) native HTTP500 never publishes an account
|
||||
(pass) invalid native result fails closed code 3 [0.06ms]
|
||||
(pass) invalid native result fails closed token 0 [0.01ms]
|
||||
(pass) invalid native result fails closed token 4097
|
||||
(pass) invalid native result fails closed user 23
|
||||
(pass) invalid native result fails closed token 4
|
||||
(pass) account persistence failure stays primary and prevents a success result [0.10ms]
|
||||
|
||||
student-tests/checkpoint-guards.test.ts:
|
||||
(pass) checkpoint second snapshot rejects changed bytes, additions and removals [0.15ms]
|
||||
(pass) historical evidence never replaces existing different bytes and permits exact identical bytes [0.20ms]
|
||||
(pass) handover lease rejects a different valid source generation after initial verification [0.44ms]
|
||||
(pass) handover lease rejects source mutation even when receipt is unchanged [0.12ms]
|
||||
(pass) historical finalization requires its accepted source and build generation binding [0.13ms]
|
||||
|
||||
student-tests/kv-secrets.test.ts:
|
||||
(pass) reads the native KVv2 envelope for api [0.18ms]
|
||||
(pass) reads the native KVv2 envelope for worker [0.02ms]
|
||||
(pass) rejects missing KVv2 nesting and required fields [0.05ms]
|
||||
(pass) rejects credentials for another role [0.02ms]
|
||||
(pass) rejects invalid metadata and denied responses [0.04ms]
|
||||
|
||||
student-tests/grafana-guards.test.ts:
|
||||
(pass) Grafana endpoint uses the verified published loopback binding despite two networks [0.11ms]
|
||||
(pass) Grafana endpoint rejects foreign, stopped, wildcard, missing and ambiguous bindings [0.10ms]
|
||||
(pass) real numeric zero is a valid metric sample [0.11ms]
|
||||
(pass) HTTP200 with datasource error, empty, null, nonfinite or ragged values cannot pass [0.08ms]
|
||||
(pass) native history first creation binds exact collection and user key [0.05ms]
|
||||
(pass) existing native history uses versioned PATCH at the same owned key [0.02ms]
|
||||
(pass) native Grafana evaluator key reordering does not change a rule [0.14ms]
|
||||
|
||||
student-tests/openobserve-request-path.test.ts:
|
||||
(pass) native URLSearchParams PromQL spaces stay valid before any credential or process port [0.09ms]
|
||||
(pass) rejects invalid request URI "https://foreign/api/default/streams" [0.02ms]
|
||||
(pass) rejects invalid request URI "/api/foreign/streams"
|
||||
(pass) rejects invalid request URI "/api/default/streams\r\nX: bad"
|
||||
(pass) rejects invalid request URI "/api/default/_search#fragment"
|
||||
(pass) rejects invalid request URI "/api/default/space in path"
|
||||
(pass) pinned plugin organization editor endpoint remains available [0.02ms]
|
||||
|
||||
student-tests/openobserve-search-window.test.ts:
|
||||
(pass) actual fractional filesystem mtime serializes native integer microseconds [0.05ms]
|
||||
(pass) invalid search window NaN 1 fails before a native call [0.02ms]
|
||||
(pass) invalid search window 1 Infinity fails before a native call
|
||||
(pass) invalid search window -1 100 fails before a native call
|
||||
(pass) invalid search window 1 1.7976931348623157e+308 fails before a native call
|
||||
(pass) invalid search window 10 1 fails before a native call
|
||||
(pass) invalid search window 1 1 fails before a native call
|
||||
(pass) invalid search window 1 3600002 fails before a native call
|
||||
|
||||
student-tests/openobserve-topology.test.ts:
|
||||
(pass) telemetry storage is a single OpenObserve instead of Prometheus Loki Tempo and their gateways [0.49ms]
|
||||
(pass) OpenObserve has its own persistent data and a closed private gateway namespace [0.06ms]
|
||||
(pass) storage migration retains required neighbors and existing app OTLP contract without OpenObserve secrets [0.13ms]
|
||||
(pass) Collector and Grafana storage transport targets OpenObserve through the verified gateway [0.14ms]
|
||||
(pass) Grafana query gateway permits actual editor metadata and guards native request fields [0.05ms]
|
||||
(pass) Grafana can use an own verified immutable cache alias without changing the canonical image pin [0.07ms]
|
||||
(pass) Grafana uses its own file-delivered encryption key and secure HTTPS cookies [0.06ms]
|
||||
(pass) Grafana cannot fetch extra plugin packages outside the approved cached artifacts [0.03ms]
|
||||
|
||||
student-tests/command-runner.test.ts:
|
||||
(pass) secondary diagnostic failures cannot replace command exit and both receipt writers are attempted [0.19ms]
|
||||
(pass) successful and explicitly allowed command outcomes are returned without diagnostic writes [0.09ms]
|
||||
(pass) runner requires explicit fake ports and preserves primary execution error [0.06ms]
|
||||
|
||||
student-tests/operator-crypto.test.ts:
|
||||
(pass) operator envelope authenticates ciphertext and hides plaintext [103.05ms]
|
||||
(pass) operator envelope requires a sufficiently long passphrase [0.04ms]
|
||||
|
||||
student-tests/public-endpoint.test.ts:
|
||||
(pass) selects the actual published loopback listener despite two LB networks [0.09ms]
|
||||
(pass) rejects invalid published ports [0.05ms]
|
||||
(pass) rejects unpublished, public, stopped and foreign-resource endpoints [0.06ms]
|
||||
|
||||
student-tests/transport-negative.test.ts:
|
||||
(pass) Bun native certificate-required alert counts as client denial while timeout never does [0.46ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.06ms]
|
||||
(pass) client role requires exact allowlist membership [0.04ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.05ms]
|
||||
|
||||
student-tests/grpc-probe.test.ts:
|
||||
(pass) native HTTP2 gRPC probe requires a valid Export response and checks request framing [285.12ms]
|
||||
|
||||
student-tests/openobserve-reader.test.ts:
|
||||
(pass) reader produces fixed historical SQL end and the same PromQL time after three hours [0.83ms]
|
||||
(pass) fresh reader default uses the explicit clock for both native request forms [0.18ms]
|
||||
(pass) reader requires explicit native request and clock ports [0.02ms]
|
||||
|
||||
95 pass
|
||||
0 fail
|
||||
287 expect() calls
|
||||
Ran 95 tests across 20 files. [1156.00ms]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 100 files [74.58ms]
|
||||
@@ -0,0 +1,142 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
$ bun test student-tests/security-guards.test.ts student-tests/kv-secrets.test.ts student-tests/public-endpoint.test.ts student-tests/operator-crypto.test.ts student-tests/pki.test.ts student-tests/grpc-probe.test.ts student-tests/transport-negative.test.ts student-tests/command-runner.test.ts student-tests/checkpoint-guards.test.ts student-tests/openobserve-topology.test.ts student-tests/openobserve-config.test.ts student-tests/openobserve-accounts.test.ts student-tests/openobserve-request-path.test.ts student-tests/openobserve-response.test.ts student-tests/openobserve-search-window.test.ts student-tests/openobserve-reader.test.ts student-tests/openobserve-account-workflow.test.ts student-tests/grafana-guards.test.ts student-tests/grafana-datasources.test.ts student-tests/http-fixture.test.ts
|
||||
|
||||
student-tests/grafana-datasources.test.ts:
|
||||
(pass) native listDTO may omit auth fields; authenticate the exact UID detail and health readers [0.42ms]
|
||||
(pass) configured root account is rejected before datasource health can masquerade as scoped auth [0.11ms]
|
||||
(pass) HTTP200 health with error body is not a healthy datasource [0.06ms]
|
||||
|
||||
student-tests/openobserve-response.test.ts:
|
||||
(pass) HTTP401 text error preserves native HTTP outcome [0.07ms]
|
||||
(pass) HTTP422 text error preserves native HTTP outcome
|
||||
(pass) HTTP500 text error preserves native HTTP outcome
|
||||
(pass) HTTP200 JSON remains parsed [0.02ms]
|
||||
(pass) HTTP200 malformed success retains the status in its error [0.02ms]
|
||||
|
||||
student-tests/http-fixture.test.ts:
|
||||
(pass) human fixture labels never become invalid API usernames [0.08ms]
|
||||
(pass) unexpected native HTTP result retains its exact outcome before stable failure [0.37ms]
|
||||
(pass) diagnostic write failure cannot replace HTTP400 [0.08ms]
|
||||
|
||||
student-tests/openobserve-account-workflow.test.ts:
|
||||
(pass) saved native200 and403 accounts publish only after both account controls [0.45ms]
|
||||
(pass) positive HTTP401 cannot publish derived credentials [0.08ms]
|
||||
(pass) positive HTTP503 cannot publish derived credentials [0.02ms]
|
||||
(pass) positive HTTP201 cannot publish derived credentials [0.02ms]
|
||||
(pass) unexpected deny HTTP200 cannot publish derived credentials [0.09ms]
|
||||
(pass) unexpected deny HTTP503 cannot publish derived credentials [0.02ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.10ms]
|
||||
(pass) invalid saved query shape user cannot publish or probe [0.02ms]
|
||||
(pass) invalid saved query shape token cannot publish or probe [0.01ms]
|
||||
(pass) invalid saved query shape token cannot publish or probe
|
||||
(pass) extra owner slot never reaches credential publication [0.08ms]
|
||||
(pass) workflow requires explicit native and publishing ports [0.04ms]
|
||||
(pass) invalid query token after a healthy ingest control still cannot publish any derived file [0.13ms]
|
||||
|
||||
student-tests/openobserve-config.test.ts:
|
||||
(pass) Collector uses native file auth and distinct stream-name handling for logs/traces versus metrics [1.27ms]
|
||||
(pass) Grafana queries measured native metric names without legacy namespace or invented suffixes [0.53ms]
|
||||
(pass) Grafana native plugin provisioning uses measured fields and native Basic auth consumers [0.20ms]
|
||||
(pass) Grafana mounts native alert rules using the measured datasource and metric names [0.27ms]
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [282.42ms]
|
||||
|
||||
student-tests/openobserve-accounts.test.ts:
|
||||
(pass) native service-account success saves exact credential before returning without a human-user API [0.23ms]
|
||||
(pass) native HTTP401 never publishes an account [0.06ms]
|
||||
(pass) native HTTP403 never publishes an account [0.01ms]
|
||||
(pass) native HTTP500 never publishes an account
|
||||
(pass) invalid native result fails closed code 3 [0.06ms]
|
||||
(pass) invalid native result fails closed token 0 [0.01ms]
|
||||
(pass) invalid native result fails closed token 4097
|
||||
(pass) invalid native result fails closed user 23
|
||||
(pass) invalid native result fails closed token 4
|
||||
(pass) account persistence failure stays primary and prevents a success result [0.07ms]
|
||||
|
||||
student-tests/checkpoint-guards.test.ts:
|
||||
(pass) checkpoint second snapshot rejects changed bytes, additions and removals [0.15ms]
|
||||
(pass) historical evidence never replaces existing different bytes and permits exact identical bytes [0.18ms]
|
||||
(pass) handover lease rejects a different valid source generation after initial verification [0.44ms]
|
||||
(pass) handover lease rejects source mutation even when receipt is unchanged [0.13ms]
|
||||
(pass) historical finalization requires its accepted source and build generation binding [0.12ms]
|
||||
|
||||
student-tests/kv-secrets.test.ts:
|
||||
(pass) reads the native KVv2 envelope for api [0.18ms]
|
||||
(pass) reads the native KVv2 envelope for worker [0.02ms]
|
||||
(pass) rejects missing KVv2 nesting and required fields [0.05ms]
|
||||
(pass) rejects credentials for another role [0.02ms]
|
||||
(pass) rejects invalid metadata and denied responses [0.04ms]
|
||||
|
||||
student-tests/grafana-guards.test.ts:
|
||||
(pass) Grafana endpoint uses the verified published loopback binding despite two networks [0.08ms]
|
||||
(pass) Grafana endpoint rejects foreign, stopped, wildcard, missing and ambiguous bindings [0.11ms]
|
||||
(pass) real numeric zero is a valid metric sample [0.11ms]
|
||||
(pass) HTTP200 with datasource error, empty, null, nonfinite or ragged values cannot pass [0.08ms]
|
||||
(pass) native history first creation binds exact collection and user key [0.05ms]
|
||||
(pass) existing native history uses versioned PATCH at the same owned key [0.03ms]
|
||||
(pass) native Grafana evaluator key reordering does not change a rule [0.15ms]
|
||||
|
||||
student-tests/openobserve-request-path.test.ts:
|
||||
(pass) native URLSearchParams PromQL spaces stay valid before any credential or process port [0.09ms]
|
||||
(pass) rejects invalid request URI "https://foreign/api/default/streams" [0.02ms]
|
||||
(pass) rejects invalid request URI "/api/foreign/streams"
|
||||
(pass) rejects invalid request URI "/api/default/streams\r\nX: bad"
|
||||
(pass) rejects invalid request URI "/api/default/_search#fragment"
|
||||
(pass) rejects invalid request URI "/api/default/space in path"
|
||||
(pass) pinned plugin organization editor endpoint remains available [0.02ms]
|
||||
|
||||
student-tests/openobserve-search-window.test.ts:
|
||||
(pass) actual fractional filesystem mtime serializes native integer microseconds [0.05ms]
|
||||
(pass) invalid search window NaN 1 fails before a native call [0.02ms]
|
||||
(pass) invalid search window 1 Infinity fails before a native call
|
||||
(pass) invalid search window -1 100 fails before a native call
|
||||
(pass) invalid search window 1 1.7976931348623157e+308 fails before a native call
|
||||
(pass) invalid search window 10 1 fails before a native call
|
||||
(pass) invalid search window 1 1 fails before a native call
|
||||
(pass) invalid search window 1 3600002 fails before a native call
|
||||
|
||||
student-tests/openobserve-topology.test.ts:
|
||||
(pass) telemetry storage is a single OpenObserve instead of Prometheus Loki Tempo and their gateways [0.57ms]
|
||||
(pass) OpenObserve has its own persistent data and a closed private gateway namespace [0.09ms]
|
||||
(pass) storage migration retains required neighbors and existing app OTLP contract without OpenObserve secrets [0.13ms]
|
||||
(pass) Collector and Grafana storage transport targets OpenObserve through the verified gateway [0.15ms]
|
||||
(pass) Grafana query gateway permits actual editor metadata and guards native request fields [0.05ms]
|
||||
(pass) Grafana can use an own verified immutable cache alias without changing the canonical image pin [0.04ms]
|
||||
(pass) Grafana uses its own file-delivered encryption key and secure HTTPS cookies [0.06ms]
|
||||
(pass) Grafana cannot fetch extra plugin packages outside the approved cached artifacts [0.04ms]
|
||||
|
||||
student-tests/command-runner.test.ts:
|
||||
(pass) secondary diagnostic failures cannot replace command exit and both receipt writers are attempted [0.18ms]
|
||||
(pass) successful and explicitly allowed command outcomes are returned without diagnostic writes [0.10ms]
|
||||
(pass) runner requires explicit fake ports and preserves primary execution error [0.07ms]
|
||||
|
||||
student-tests/operator-crypto.test.ts:
|
||||
(pass) operator envelope authenticates ciphertext and hides plaintext [104.84ms]
|
||||
(pass) operator envelope requires a sufficiently long passphrase [0.03ms]
|
||||
|
||||
student-tests/public-endpoint.test.ts:
|
||||
(pass) selects the actual published loopback listener despite two LB networks [0.09ms]
|
||||
(pass) rejects invalid published ports [0.06ms]
|
||||
(pass) rejects unpublished, public, stopped and foreign-resource endpoints [0.07ms]
|
||||
|
||||
student-tests/transport-negative.test.ts:
|
||||
(pass) Bun native certificate-required alert counts as client denial while timeout never does [0.46ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.06ms]
|
||||
(pass) client role requires exact allowlist membership [0.04ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.06ms]
|
||||
|
||||
student-tests/grpc-probe.test.ts:
|
||||
(pass) native HTTP2 gRPC probe requires a valid Export response and checks request framing [229.17ms]
|
||||
|
||||
student-tests/openobserve-reader.test.ts:
|
||||
(pass) reader produces fixed historical SQL end and the same PromQL time after three hours [0.83ms]
|
||||
(pass) fresh reader default uses the explicit clock for both native request forms [0.18ms]
|
||||
(pass) reader requires explicit native request and clock ports [0.02ms]
|
||||
|
||||
95 pass
|
||||
0 fail
|
||||
287 expect() calls
|
||||
Ran 95 tests across 20 files. [654.00ms]
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"state": "OBSERVED_NATIVE_UI_NOT_FINAL_ACCEPTANCE",
|
||||
"source_capture": "grafana-browser-a63697ff-c000-4d91-a8f7-60c4c6821fba",
|
||||
"receipt": "browser-a63697ff-c000-4d91-a8f7-60c4c6821fba.json",
|
||||
"metric_query_time_milliseconds": 1794801461224,
|
||||
"trace_query_time_milliseconds": 1794785756292,
|
||||
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
||||
"trace_spans": 42,
|
||||
"trace_services": 2,
|
||||
"visible_trace_duration_milliseconds": 812.88,
|
||||
"correlated_log_rows": 3,
|
||||
"copied_raw_pngs": {
|
||||
"screenshots/a63697ff-trace42.png": "54bb8b7aaeb88e011613807f9ce81493e7df98e21adb1318889873a8ef88f210",
|
||||
"screenshots/a63697ff-correlated-logs.png": "8879d48c6734fb86481937e7982e4881807f72df9ed75f7ea34ab2a3843af231",
|
||||
"screenshots/a63697ff-dashboard-bottom.png": "00b79fa30196057967bf9b80495aa879ae98cfd91245ab710ced34ad8882f241"
|
||||
},
|
||||
"images_visually_inspected": true,
|
||||
"dashboard_screenshot_scope": "Bottom panels visible after scrolling all19 titles; not an image of all19 panels together. Pool capacity still12 in this historical capture, before its query correction.",
|
||||
"logs_mode": "Native fastMode, no volume request",
|
||||
"internal_link_clicks_accepted": false,
|
||||
"response_boundary_accepted": false,
|
||||
"clean_browser_console": false,
|
||||
"known_console_outcome": "Grafana page-history user-storage resource404, retained privately; no JavaScript pageerror observed",
|
||||
"credentials_or_login_inputs_copied": false,
|
||||
"native_bao": false
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"scope": "Raw safe captures inspected by author; independent source/archive review pending",
|
||||
"metrics_source_capture": "grafana-browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369",
|
||||
"links_source_capture": "grafana-browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2",
|
||||
"metric_receipt": "browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json",
|
||||
"link_receipt": "browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2.json",
|
||||
"png_sha256": {
|
||||
"screenshots/b8b2e8e1-dashboard-top.png": "f35ac084359d2c1cf64784d6bf427d7e690a7442ada72ddfb50705d041a90727",
|
||||
"screenshots/b8b2e8e1-dashboard-middle.png": "dc7db852b5d67d78fbb63e0e525bcfeb65024a641e087a82caf7ae2f4ece5aff",
|
||||
"screenshots/b8b2e8e1-dashboard-bottom.png": "28d73bafb38f153c806134fec4430a074a5b1e4de562461e2866f0958e841af4",
|
||||
"screenshots/86b82122-native-trace-to-logs.png": "6c89563b449def897b047ba4be66382675b6f1cbf25e3d80bb5368a5838f3d8c"
|
||||
},
|
||||
"all_images_visually_inspected": true,
|
||||
"metric_viewport_scope": "Selected top/middle/bottom panels, not all19 together; all19 finite frames are in the metric receipt",
|
||||
"links_viewport_scope": "Right pane loaded native histogram1 and worker.job1 after specific response await; old left pane remains visible",
|
||||
"cookies_login_inputs_or_private_http_bodies_copied": false,
|
||||
"producer_repeated_for_copy": false
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
# Helper entrypoints and actual consumers
|
||||
|
||||
All maintained orchestration is TypeScript executed with Bun. No authored Python/Node.js/mjs wrapper was introduced; original public Python scripts are preserved and invoked unchanged by Makefile. Shell entrypoints only hand control to Bun, the official PostgreSQL entrypoint, or the installed RustFS server command.
|
||||
|
||||
## Runtime orchestration
|
||||
|
||||
- `scripts/lab.ts`: operator CLI prepare/start/wait/unseal/stop/accept; calls bootstrap, native Compose with pinned manifest/project, native OpenBao API, migration, S3 SDK bridge, readiness and acceptance-session.
|
||||
- `scripts/bootstrap.ts`: called by lab prepare or disposable test-session; local encrypted operator envelope, OpenSSL PKI and exact runtime config files. Hidden operator prompt; no secret arguments/logging.
|
||||
- `scripts/openbao-operator.ts`: lab init/unseal/configuration. Native HTTPS API through curl with CA/hostname; root token in private header file, init/unseal material encrypted before readback; no root token in app.
|
||||
- `scripts/bao-client.ts`: shared native OpenBao HTTP wrapper. Returns full HTTP JSON; consumers use the tested KVv2 parser, not a flattened secret shape.
|
||||
- `scripts/pki.ts`, `operator-crypto.ts`, `security-guards.ts`, `kv-secrets.ts`: explicit libraries used by orchestration and unit/native tests. Native OpenSSL issues/revokes, Node-compatible crypto APIs in Bun encrypt operator data and inspect X509; no custom signing/TLS protocol.
|
||||
- `scripts/topology.ts`, `generate-agent-configs.ts`, `telemetry-dashboard.ts`: reproducible config generators. Checked-in compose, gateway config, both actual HCL and dashboard JSON are delivered; startup consumes those exact paths.
|
||||
- `scripts/db-provision.ts`: local PostgreSQL operator Unix-socket role/GRANT provisioning; app cert roles are not migration/admin roles.
|
||||
- `scripts/s3-provision.ts`: Bun operator orchestration of the native SDK bridge; only the ephemeral operator container gets root S3 config and private response-receipt directory.
|
||||
- `scripts/reload-gateway.ts`: verified owned HAProxy master-worker USR2 reload, preserving the namespace used by its application sidecar; hard-stop-after2s drains old connections.
|
||||
- `scripts/hooks.ts`, `restart.sh`, `stop-one.sh`: public resilience hooks. Read actual backend alias file; target exact owned replica; restart stores without deleting data, unseal and wait.
|
||||
- `scripts/runtime.ts`, `runtime-inspect.ts`, `public-endpoint.ts`: common pinned Compose invocation, private diagnostics, native inspection and safe published-LB binding selection. Multi-network LB uses the actual loopback HostPort, not an arbitrary address.
|
||||
- `scripts/rotation.ts`: operator-only research1 scenario through real API/jobs, native CRL/token/S3 rotation, new leaf and fresh-connection checks; no publishing or external messages.
|
||||
|
||||
## Checks and operator diagnostics
|
||||
|
||||
- `scripts/grafana-cache.ts`: явный remote CLI; проверяет root CACHE-READY, immutable imageID и plugin hashes, создаёт только собственный alias/copy без network download и без изменения cache6. `scripts/grafana.ts prepareGrafana` используется bootstrap, canonical start и preflight: encrypted secret_key capture перед узким mount, exact admin envelope/consumer guard. Его чистые endpoint/frame/rule/history selectors проверяются unit tests.
|
||||
- `scripts/grafana-datasources.ts readGrafanaDatasources`: required request-port reader, production caller — grafana-preflight; list используется только для membership, auth metadata читается из actual UID detail, затем matching health. Tests используют только обязательный fake request.
|
||||
- `scripts/grafana-preflight.ts`: native cached/operator-provider case runner с pinned112/cache guards, private evidence, HTTPS/data-source readback и finally stop. `--incidents` вызывает grafana-incidents; `--browser` вызывает grafana-browser. `--links-only` и `--history-only` выбирают узкий browser case без нового producer; повтор полного incident/smoke не нужен для исправления reader.
|
||||
- `scripts/grafana-incidents.ts`: текущий112 API/worker, bounded encrypted fixture, original worker backlog и DB-error rules, реальные firing/resolved с threshold values, обработка той же queued job; исходные2rules не меняются. Использует scoped operator files/heartbeat, не Bao.
|
||||
- `scripts/grafana-browser.ts`: существующий native Chromium155 через offline cached playwright-core1.65.1; собственный HDD profile/TMPDIR, CA/SAN/time и отдельные native TLS negatives, ограниченный SPKI pin. Проверяет реальные frames/DOM, native plugin trace42, split links со specific response wait, оба actual Grafana response consumers, native histogram и ordinary page-history write/reload. Cookies/login/password/сырые response остаются private; выбранные PNG/DOM копируются только после визуальной проверки и SHA binding.
|
||||
- `scripts/browser-lifecycle.ts`: small required-port ownership factory, вызывается grafana-browser сразу при acquireContext; run охватывает newPage/listener setup, close вызывается один раз, cleanup error отдельно передаётся reporter и не заменяет primary failure. `bun test student-tests/browser-lifecycle.test.ts` выполняет только обязательные fake ports; production entrypoint не импортируется. Этот regression command пока отдельный от замороженного95-test test:unit.
|
||||
- `student-tests/grafana-browser-launch.ts`: explicit remote blank-page positive перед stand. `grafana-gauge-proof.ts`: storage-only fixed-point raw series/labels/start_time/age, original vs timestamp-filtered capacity/observer и absent NoData, без producer. `grafana-response-boundary.ts`: временный synthetic upstream и native HAProxy/mTLS framing controls, exact8МиБ/+1/encoding/chunked/unknown/normalization; останавливает только собственный claim container. Это не SQL work/row cap.
|
||||
|
||||
- `scripts/verify-offline.ts`: guard/OpenSSL unit evidence and config generation; does not certify live services.
|
||||
- `scripts/format-check.ts`: native Bun formatter restricted to authored implementation/config types; non-writing check after write mode.
|
||||
- `scripts/validate-source.ts`: independent non-writing native typecheck/unit/formatter checks and safe result receipts. `validate-gateways.ts` executes the cached native HAProxy parser for current9 exact mounted configs (the pre-OpenObserve11 result remains historical) without contacting an upstream.
|
||||
- `scripts/final-source-checks.ts`: sequential native gofmt/dashboard generation/Bun formatting, then non-writing validation and exact offline binary rebuild. It does not start services or repeat runtime acceptance.
|
||||
- `scripts/export-public-baseline.ts`: runs in the original checkout and verifies original public bytes against HEAD, exporting safe hashes. `package-checkpoint.ts` consumes that baseline and the checked backend lease, checks every delivered config bind, ZIP CRC and every extracted byte; its archive is explicitly a source checkpoint with native gates pending.
|
||||
- `scripts/finalize-preflight.ts`: preserves the accepted source generation as checked<count>-source/build using exclusive create or exact existing-byte equality, verifies the binding to the accepted runtime summary, rebuilds the bounded SDK bridge and checks a new COMPLETE receipt, then validates project labels and tears down only the pinned stand. Legacy unbound summaries are refused; private bind data/test key remain for addressed cleanup.
|
||||
- `scripts/command-runner.ts`: runtime.run uses its required execute/unique/last ports; diagnostic failure cannot replace the primary error and UUID receipts use wx. `scripts/checkpoint-guards.ts`: required fake-port regressions and actual build/finalizer/package callers pin initial receipt/source bytes, preserve historical evidence and bind ZIP verification to the FIRST source map plus exact manifest bytes.
|
||||
- `scripts/image-manifests.ts`: manifest/digest/layer-size inspection only; no pulls. `check-tooling.ts` checks native installed help safely. `diagnose.ts` persists raw logs privately and emits fixed categories; callers must supply services. `diagnose-command.ts` and `diagnose-preflight.ts` read private command outcomes and emit only fixed diagnostic terms/codes and owned container state.
|
||||
- `scripts/preflight-build.ts`: checked source hashes before/after compile, immutable cached runtime alias, exact resulting binary hashes. Compiler is the existing native `/home/rey/.local/share/mise/installs/go/1.27.2/bin/go`, with GOPROXY=off/GOSUMDB=off/-mod=readonly and existing modules. The cached runtime is an explicitly separate preflight, not OpenBao acceptance or the canonical Dockerfile.
|
||||
- `scripts/preflight-run.ts`: calls preflight-build, actual scoped store provisioning, explicit operator file provider, public source/HTTP checks, native PG, cached mTLS, worker privileges, leaf lifetime and `student-tests/freshness-runtime.ts`. The latter observes actual fixed `secret_freshness_failed` events plus exit/restart after the explicit heartbeat stops; it does not seal Bao. Disposable fixture passphrase is in private unmounted `.local-preflight-key` for bounded --resume, excluded from Git/build/ZIP and removed after final teardown; production operator mode uses a hidden prompt.
|
||||
- `scripts/check-source.ts`: copies source bytes excluding private/runtime/build/dependency paths into an owned temporary snapshot and runs the original public `make check` there. This avoids RustFS object directories named policy.json in the public recursive JSON walk; HTTP tests still use the live stand.
|
||||
- `student-tests/probe-pki.ts`: full/cached acceptance creates an independent foreign-CA negative fixture outside service mounts. `student-tests/grpc-probe.ts`: native HTTP/2/TLS client submits the empty OTLP Export request and requires HTTP200/grpc-status0; the historical Tempo matrix used it for ingest controls; current OpenObserve matrix uses native HTTP OTLP, with no protobuf/signing implementation or extra SDK.
|
||||
- `scripts/diagnose-tls.ts`: fixed allowlisted native TLS code/cause summaries from private negative-probe receipts; raw messages stay private. `student-tests/transport-negative.test.ts` proves the installed Bun certificate-required alert is accepted and timeout is rejected.
|
||||
- `scripts/test-session.ts`, `acceptance-session.ts`: disposable test orchestration. Generated operator passphrase stays in process memory; no downloads, full acceptance waits for existing images plus checked backend. This mode is not durable operator recovery.
|
||||
- `scripts/install-dev-types.ts`: task-only standard Bun install of @types/bun with ignore-scripts; normal reproduction uses the checked lockfile. Production scripts have no package dependency.
|
||||
- `scripts/reset-failed-test.ts`: operator-only cleanup preparation for this pinned disposable stand, verifies ownership and privately archives failed state. It is not a general Docker cleanup tool.
|
||||
- `student-tests/*.test.ts`: fake-port/pure regressions, native OpenSSL and native isolated Valkey ACL fixture. `student-tests/wait.ts` checks every intended replica and public HTTPS. Remaining student-tests modules are invoked by acceptance-session against actual deployed boundaries.
|
||||
|
||||
## Explicit native SDK exception
|
||||
|
||||
` scripts/s3-control.go` is a compiled Linux utility using the application's locked `github.com/minio/minio-go/v7` (7.4.1) and native SigV4 signer for RustFS administrative requests and scoped object probes. It is built with the app source, invoked by Bun in a unique task container, and does not replace Bun orchestration. Root explicitly approved this narrow existing-SDK bridge; duplicating SigV4 or downloading a new JavaScript SDK is unnecessary.
|
||||
|
||||
Exact callers: Dockerfile builds `/s3-control`; `s3-provision.ts` runs `-action bootstrap` in the S3 gateway namespace with operator-only config/receipt mounts; `student-tests/privileges.ts` runs `-action prove-worker` in the worker namespace using only the rendered worker config; `rotation.ts` runs `-action prove-stale` with the retired worker credential. No API/worker runtime container mounts the root S3 file or operator receipts.
|
||||
|
||||
The only new backend-owned leaf authored here is `backend/internal/adapter/freshness/**`, explicitly assigned by root. Its explicit read/clock/ticker ports return errors to composition; it never exits, signals or accesses live defaults in unit tests. Backend main/auth/broker changes are owned by the VP backend agent and guarded by BACKEND-READY.json.
|
||||
|
||||
## Перенос storage на OpenObserve, текущая работа
|
||||
|
||||
- `scripts/openobserve-cache.ts --check|--apply` — CLI для read-only проверки публичных cache receipts/платформы/source112 и создания только собственных aliases. `openobserve-session.ts` читает его безопасный image-freeze receipt. Canonical registry pins остаются в topology; cache helper — разрешённый способ использовать проверенные существующие blobs без pulls.
|
||||
- `scripts/openobserve-accounts.ts` — фабрика с обязательными create/save ports; вызывается `scripts/openobserve.ts` и изолированными fake-port tests. Принимает только нативный service_accounts route, сохраняет token до успеха.
|
||||
- `scripts/openobserve.ts prepare|provision` — CLI и native HTTP consumer для session/pipeline. Owner/token envelopes зашифрованы, ответы0600 остаются в operator directory вне mounts/build. Collector получает отдельный header file без CR/LF, Grafana — только query ServiceAccount через private env_file. Root/admin в Grafana не используется.
|
||||
- `scripts/openobserve-session.ts` — отдельный bootstrap/config-validation CLI. Его успешный результат не включает приложение/Grafana/Bao. `scripts/openobserve-pipeline.ts` — scoped CLI для неизменённого checked112 и native всех трёх сигналов; uses existing operator provider, не Bao.
|
||||
- `student-tests/openobserve-signals.ts` — actual native query assertions, вызывается pipeline. Проверяет реальную цепочку API/worker, parent links, native units, correlated logs и конечные PromQL samples; SQL содержит явный LIMIT100.
|
||||
- `scripts/openobserve-config-check.ts` — генерация dashboard и запуск чистых config/topology regressions. Проверка конфигурации не подтверждает Grafana runtime/alerts.
|
||||
|
||||
Прежние helper checkpoints и ZIP8e15 остаются историческими. Новые native receipts находятся в evidence/openobserve; один request.size не объявляется жёстким лимитом результата SQL.
|
||||
|
||||
- `scripts/openobserve-request-path.ts`, `openobserve-response.ts`, `openobserve-search-window.ts` — pure native HTTP parameter/response boundaries called by openobserve.ts or openobserve-signals.ts and explicit regressions. No credential/process defaults.
|
||||
- `scripts/openobserve-query-policy.ts` — native HAProxy ACL text consumed only by topology generator, adapted from checked lab6 policy without auth/userlist.
|
||||
- `scripts/openobserve-readback.ts` — bounded recovery CLI for the exact retained failed parent dataset; uses openobserve-signals assertions, reuses persisted data and stops storage. It is not a fresh dataset bootstrap.
|
||||
- `student-tests/openobserve-transport.ts`, `openobserve-gateway.ts` — native storage-only CLI checks. First invokes matrix scope openobserve and native account/rawport negatives; second generates and parses exact current gateway configs, then runs23 HTTP cases and binds pre/post configSHA. Both preserve source112 lease, fixed stage and primary failure, with own teardown.
|
||||
|
||||
- `scripts/validate-source.ts --openobserve` and `scripts/check-source.ts --openobserve` retain current migration results under evidence/openobserve instead of overwriting historical pre-migration source/public receipts. Their default consumers retain the existing security scope.
|
||||
|
||||
- Reader createSignalAssertions requires explicit request/clock ports; production assertOpenObserveSignals binds real ports, while reader.test.ts supplies only fakes and checks actual SQL end/PromQL time. createAccountWorkflow requires positive/deny/publish ports; provisionOpenObserve uses it before all derived publication, with exact validated credential snapshots. openobserve-account-workflow.test.ts never invokes the production process/client entrypoint.
|
||||
- student-tests/openobserve-error-ratio.ts reads the mounted dashboard/rule expression and evaluates all3 mathematical classes on native OpenObserve. It reuses existing encrypted service accounts, verifies their unchanged hashes and production native200/403 guard, starts no producer and stops its storage-only stand.
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"kind": "RAW_HISTORICAL_PROJECT_ROOT_DOCUMENTS",
|
||||
"files": {
|
||||
"RUN.md": "ff4aa61591f3c22d5a250adab2d1980d7ba827ed7bf5b78109687826929c884a",
|
||||
"REPORT.md": "8335c8c3b153544773570888428d7aa5f2009a5275de0e3235a1c0fb2535a751",
|
||||
"HELPERS.md": "7d9ce3f8b28ec1b31db25a8810f2a3c1b86bb01040c6f2b779f46b18e28f5243",
|
||||
"STATUS.md": "667f8f81469023c996fb1ef875ebc30cead6169373938a802aad17a73c371456",
|
||||
"READINESS.json": "a7c5b3997c56dfb712017fcd30e3e06b79076b71f667c36e6c7c15c830759ecc"
|
||||
},
|
||||
"relative_reference_origin": "project root; historical references are provenance, not relocated operator instructions",
|
||||
"scope": "before current native-composite documentation; original flags and bytes preserved"
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"state": "SOURCE_CHECKPOINT_NATIVE_GATES_PENDING",
|
||||
"backend_checked_at": "2026-11-15T19:04:33.200Z",
|
||||
"backend_files": 112,
|
||||
"backend_handover_sha256": "09fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609",
|
||||
"cached_preflight": "PASS",
|
||||
"preflight_receipt": "evidence/preflight/summary.json",
|
||||
"source_receipt": "evidence/preflight/checked112-source.json",
|
||||
"build_receipt": "evidence/preflight/checked112-build.json",
|
||||
"finalization_receipt": "evidence/preflight/finalization.json",
|
||||
"source_checks": "evidence/grafana/source/source-checks.json",
|
||||
"source_typecheck_files": 102,
|
||||
"source_typecheck_receipt": "evidence/grafana/lifecycle-typecheck-1acb06cc-b875-4230-a1d0-4d52cb6417af.txt",
|
||||
"unit_tests": 95,
|
||||
"unit_assertions": 287,
|
||||
"unit_scope": "standard frozen test:unit command; lifecycle regression is separate",
|
||||
"targeted_lifecycle_tests": 6,
|
||||
"targeted_lifecycle_assertions": 19,
|
||||
"lifecycle_check_receipt": "evidence/grafana/lifecycle-checks-1acb06cc-b875-4230-a1d0-4d52cb6417af.json",
|
||||
"remaining_owned_containers": 0,
|
||||
"native_openbao_accepted": false,
|
||||
"native_telemetry_accepted": false,
|
||||
"grade5_accepted": false,
|
||||
"teacher_grade": null,
|
||||
"private_cleanup_retained": true,
|
||||
"openobserve_scope": {
|
||||
"native_bootstrap": true,
|
||||
"native_service_accounts": true,
|
||||
"native_actual112_all3": true,
|
||||
"native_restart_persistence": true,
|
||||
"native_ingest_query_mtls": true,
|
||||
"native_query_guard_cases": 23,
|
||||
"native_grafana": true,
|
||||
"native_alert_transitions": true,
|
||||
"native_bao": false,
|
||||
"provider": "scoped operator files and heartbeat, not Bao",
|
||||
"all3_receipt": "evidence/openobserve/persisted-readback-8fa17baa-a9f5-419c-bf24-e9ac820fdfbf.json",
|
||||
"transport_receipt": "evidence/openobserve/transport-e500b6fc-a04d-47f1-9058-d52a9bf3c27a.json",
|
||||
"query_guard_receipt": "evidence/openobserve/query-guard-d359332e-24a1-4fb4-a357-2a193a39706e.json",
|
||||
"native_error_ratio_classes": 3,
|
||||
"existing_saved_accounts_authenticated_before_publish": true,
|
||||
"native_invalid_token_tested": false,
|
||||
"review_fix_receipt": "evidence/openobserve/error-ratio-4b928b8b-c1eb-4b24-a9a9-b9579f1fda93.json"
|
||||
},
|
||||
"grafana_scope": {
|
||||
"version": "13.3.1",
|
||||
"image_id": "sha256:1c88285f1dd391a62232c010e6c224846e6a73bdc583b3365be2eba614b7919e",
|
||||
"plugin_version": "1.0.1",
|
||||
"plugin_modified": false,
|
||||
"download_bytes_coordinator_only": 559001001,
|
||||
"download_quota_grafana_plugin_only": 600000000,
|
||||
"own_second_artifact_download_bytes": 0,
|
||||
"runtime_egress_bytes_measured": false,
|
||||
"available_native_cases_passed": true,
|
||||
"final_source_review_pending": false,
|
||||
"source_review": "evidence/reviews/review-grafana13-lab7-implementation.md",
|
||||
"source_review_sha256": "665345febb8abf4fbe6a731127644b5dec88b7594588f991197e734466c6a4f9",
|
||||
"source_review_current_files": 39,
|
||||
"browser_metric_panels": 19,
|
||||
"trace_spans": 42,
|
||||
"trace_parent_relations": 41,
|
||||
"response_cap_bytes": 8388608,
|
||||
"response_scope": "recognized native identity Content-Length; not SQL work, RAM or decompression cap",
|
||||
"provider": "scoped operator files and heartbeat, not Bao",
|
||||
"cache_receipt": "evidence/grafana/cache-freeze-5c2e02c0-ccdd-4a95-a1c1-74cee6d7d408.json",
|
||||
"incident_receipt": "evidence/grafana/incidents-e80b4c4d-df97-4cc9-b6d4-7ba651e0542b.json",
|
||||
"metric_ui_receipt": "evidence/grafana/browser-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json",
|
||||
"links_receipt": "evidence/grafana/browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2.json",
|
||||
"response_receipt": "evidence/grafana/response-consumers-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json",
|
||||
"framing_receipt": "evidence/grafana/response-framing-be70ca46-35ef-4420-965d-20019dfb2061.json",
|
||||
"histogram_receipt": "evidence/grafana/histogram-b8b2e8e1-a42d-41c0-bbde-cbcabfd16369.json",
|
||||
"history_receipt": "evidence/grafana/browser-35db454d-556e-494d-8350-9e1837e4e271.json",
|
||||
"https_receipt": "evidence/grafana/https-identity-35db454d-556e-494d-8350-9e1837e4e271.json",
|
||||
"raw_history_get404_count": 2,
|
||||
"unexpected_history_events": 0,
|
||||
"existing_history_patch_native_tested": false,
|
||||
"bao_image_runnable_cache_present": false,
|
||||
"bao_layer_bytes_upper_bound": 80087069,
|
||||
"bao_missing_deduplicated_bytes_measured": false,
|
||||
"bao_85mb_permission_received": false,
|
||||
"sii_download_permission_received": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
# Лабораторная 7: безопасность мессенджера
|
||||
|
||||
Медведев Андрей Михайлович, БПИ2303. Цель — все требования уровня 4 и трек 1 уровня 5 «Компрометация worker». Оценка и принятие преподавателем не заявляются. Публикации/PR не выполнялись; Git commit не выдумывается.
|
||||
|
||||
Исходный README/COURSE/CONTRIBUTING, public tests и OpenAPI сохраняются. Текущий Backend7 передан владельцем через BACKEND-READY.json, checkedAt 15.11.2026 19:04:33.200 UTC: 109 основных файлов и 3 файла freshness; SHA25609fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609. Producer flags runtimeSecurity/runtimeTelemetry=false описывают source handover; выполненный ниже cached runtime имеет отдельные receipts. Проверка source/unit/race/lint/build владельца не заменяет runtime этого отчёта. Использована помощь ИИ; независимые reviews включены в evidence/reviews/: исходная инфраструктура, freshness и targeted checkpoint helpers.
|
||||
|
||||
Запуск находится в RUN.md, entrypoints и SDK exception перечислены в HELPERS.md. Native OpenObserve/Collector/Grafana проверены отдельно, включая browser trace/log correlation и два original alert incidents. Пользователь разрешил600МБ только для Grafana/plugin; единая загрузка root составила559001001байт, Lab7 использовал cache. Native OpenBao и оставшиеся security/research gates не закрыты; отдельный85МБ вопрос Bao и СИИ остаются без разрешения. Полный уровень3/4/5 и оценка не заявляются.
|
||||
|
||||
Текущий39-file Grafana implementation прошёл [независимый source/evidence review](evidence/reviews/review-grafana13-lab7-implementation.md), SHA665345febb8abf4fbe6a731127644b5dec88b7594588f991197e734466c6a4f9. Единственный finding cleanup до newPage закрыт required-port factory и отдельными6fake tests/19assertions; независимый reviewer выполнил9tests/26expect. Native successes до fix сохранены отдельно и не считаются воспроизведением этой failure branch. Текущий typecheck102/formatter0, frozen standard unit95/287; lifecycle regression запускается отдельно. Новый source ZIP получает отдельную byte-проверку.
|
||||
|
||||
## Текущий scoped результат OpenObserve
|
||||
|
||||
По разрешённому переносу storage вместо трёх backend работает OpenObserve1.1.2, Collector-k8s0.163.2 сохранён отдельно. Native bootstrap/query, оба mTLS listener и закрытый raw transport проверены. Backend112 и ZIP8e15 сохранены; старый ZIP является историей до OpenObserve.
|
||||
|
||||
Первый app preflight завершился exit1 из-за URI guard: он отвергал plus в native URLSearchParams PromQL. Первый persisted readback также exit1: fractional filesystem mtimeMs попал в JSON search start_time, где требуется i64. Оба неудачных command outcomes и stop0 сохранены. Исправления прошли настоящие RED/GREEN regressions для producer encoding, status-before-decode и safe integer microseconds; формат instant PromQL не менялся.
|
||||
|
||||
Corrected storage-only readback завершился exit0 и вернул42spans с41parent relation,3correlated API/worker logs и пять конечных PromQL результатов. Native units подтверждены через CAST исходных nanosecond timestamps и duration/_timestamp microseconds. После restart сохранилась та же трасса; smoke/producer не повторялись. Доказательство: evidence/openobserve/persisted-readback-8fa17baa-a9f5-419c-bf24-e9ac820fdfbf.json.
|
||||
|
||||
Отдельные native negative controls обоих listener5080/5082 прошли exit0 с positive controls до/после каждого набора. Grafana ingest/admin/foreign paths403, native ServiceAccount admin rotation403, raw15080/5081 ECONNREFUSED. Новая HTTP policy прошла23 native cases и HAProxy parser: evidence/openobserve/query-guard-d359332e-24a1-4fb4-a357-2a193a39706e.json. Request.size не объявляется hard SQL result cap. Root/admin не передаётся Grafana; обе native SA роли умеют read/write, минимальные права задаёт отдельный mTLS query/ingest gateway.
|
||||
|
||||
Grafana13.3.1 с native Prometheus GET datasource и готовым сторонним unsigned pluginID openobserve1.0.1 проверен в Chromium. Девятнадцать панелей получили finite samples; trace42/41parents показана native waterfall с ненулевыми длительностями. Реальные clicks logs→trace→logs связали выбранный worker span с одной worker.job в его собственном окне. Обе исходные Unified Alert rules прошли настоящие firing/resolved без изменения thresholds или synthetic expressions. Подробные receipts, safe PNG и ограничения находятся в [GRAFANA-NATIVE.md](docs/GRAFANA-NATIVE.md). Native Bao/полный security outage/track5 остаются незавершёнными; данные/ключи сохранены приватно вне package.
|
||||
|
||||
## Архитектура и границы
|
||||
|
||||
Две Go API-реплики и отдельный worker сохраняют бизнес-контракт lab6. PostgreSQL хранит пользователей, sessions, chats/messages, attachment metadata и durable jobs/outbox; RustFS хранит staging/originals/variants; Valkey Streams доставляет работу, SQL outbox закрывает COMMIT→publish gap. Source of truth для состояния задачи — PostgreSQL, очередь не подменяет durable job. Побочные S3 эффекты выполняются вне SQL transaction, retries/lease/version checks принадлежат проверенному backend.
|
||||
|
||||
Внешний HTTPS LB проверяет server SAN каждой реплики и предъявляет cert CN=lb. API gateway требует client CA/CRL и разрешённый CN, затем передаёт запрос только на loopback API в общем network namespace. App использует отдельную outbound identity api, worker — worker. Остальные сетевые границы шифруются, broker/Collector/S3 и telemetry gateways требуют соответствующие client roles. Локальные plaintext hops замкнуты внутри одного namespace и не опубликованы. PostgreSQL поддерживает native TLS с direct ALPN postgresql; cert auth связывает CN с SQL role.
|
||||
|
||||
OpenBao non-dev file storage, manual init/unseal и отдельные cert-auth роли спроектированы без bootstrap root secret у приложения. API и worker получают только собственный KVv2 path; native Agent держит short-lived token в памяти и рендерит exact files0600. Публичный CA распространяется, encrypted CA private key и recovery shares остаются у оператора. Эти native сценарии пока не исполнены. Модель угроз и проверяемые контроли: security/THREAT_MODEL.md, contracts/trust-matrix.md, docs/SECURITY-CASES.md, API-BOUNDARY.md.
|
||||
|
||||
Argon2id backend использует 32 МиБ/t2/p1 с rehash, общий rate limit в PostgreSQL4096buckets и bounded KDF concurrency. Shared username-hash buckets допускают коллизии, то есть два разных username могут разделить квоту. S3 principals разделены по prefix; API cache-only Valkey identity, отдельный publisher-only XADD и worker consumer с XAUTOCLAIM/XACK/XDEL. App non-root/read_only/cap-dropALL/no-new-privileges, CPU/RAM/pids/tmpfs ограничены. PostgreSQL entrypoint исключение capabilities требуется только для ownership и privilege drop, данные stores находятся в отдельных persistent bind paths.
|
||||
|
||||
## Проверенные результаты
|
||||
|
||||
| Требование / сценарий | Реально выполненная проверка | Наблюдение / evidence |
|
||||
|---|---|---|
|
||||
| Guards до реализации | Bun security guards RED→GREEN, затем настоящий OpenSSL PKI | RED3NOT_IMPLEMENTED; GREEN4tests/22assertions, evidence/security/offline-tests.txt и red-green.json |
|
||||
| TLS DB по финальному transport | Native PostgreSQL18.6 + HAProxy3.2.26, настоящий login/SELECT через worker gateway | worker, ssl=true, TLSv1.3, client DN/CN worker; evidence/security/postgres-transport.json |
|
||||
| DB negative trust/auth | Wrong CA, hostname, SQL role impersonation, plaintext cross-container | Каждый отказ по конкретной причине; не timeout; тот же postgres-transport.json |
|
||||
| Scoped queue recovery | Native Valkey9.1.2, PEL с настоящим XREADGROUP→XAUTOCLAIM | RED NOPERM; после ACL fix GREEN1test/4assertions. Финальный split fixture GREEN1test/7assertions, consumer XADD и publisher consumer command NOPERM; private native receipt синхронизируется в evidence |
|
||||
| Freshness fail closed | Explicit fake read/clock/ticker ports; реальные bounded file guards | RED6 fail; author LinuxGo1.26.9 race GREEN11top-level+9timestamp cases; independent Go1.27.4 darwin/arm64 PASS; backend owner Go1.27.2 Linux whole-backend race отдельно; evidence/security/freshness-red-green.json и evidence/reviews/review-freshness.md |
|
||||
| Partial resource cleanup | Nil ticker.C с валидным Stop | Независимый P3 воспроизведён RED stops0/want1, исправлен и независимо перепроверен |
|
||||
| KVv2 native JSON shape | Реальный parser полного HTTP envelope, valid/malformed/wrong-role fixtures | RED valid-envelope rejected; GREEN5tests/9assertions; независимые10unit/30expect и actual audit15requests/12assertions без liveBao; evidence/security/review-kv.md |
|
||||
| Multi-network LB test driver | Две сети, owned running labels, real loopback binding selector | RED INVALID_SERVICE_NETWORK; GREEN3tests/11assertions; независимые9selector cases PASS, native lifetime gate отдельно |
|
||||
| Generated trust configuration | Native HAProxy parse11gateway configs и независимый in-memory generator readback | Parser PASS исходного среза; reviewer15artifacts/112assertions. Не означает nativeBao/telemetry acceptance |
|
||||
| Final source checks | Native Bun1.4.4 strict check, unit suite и non-writing formatter после native gofmt/Bun formatting | PASS65TypeScript files;24tests/77assertions; non-writing format PASS; evidence/security/source-checks.json и source-*.txt |
|
||||
| Argon2id budget, проверенный handover | Native Go1.27.2, omarchy,1CPU/2GiB, concurrency1/2/4, game-running exit1 непосредственно перед каждым профилем | p95 27,52/80,76/156,4мс; VmHWM70,08/134,1/168,3МиБ, все verify успешны; ARGON-BUDGET.md и lab7-argon-budget.txt. Это KDF budget, не сквозной HTTP DoS |
|
||||
| HTTPS API/pipeline, current112 cached preflight | Неизменённые make test и make test-security с CA и hostname validation | Оба PASS; evidence/preflight/public-test.txt и public-test-security.txt. Provider scoped operator files, не Bao |
|
||||
| Core mTLS negative acceptance | API1/API2/broker/S3, correct identity до и после каждого набора | No cert/foreignCA/same-CAwrongrole/wronghostname/foreigntrust denied; evidence/preflight/tls-matrix.json |
|
||||
| Worker least privilege | Реальные SQL, SigV4 S3 и Valkey операции | Разрешены attachment/job query и variant object; запрещены users/sessions/chats/messages/DDL, forbidden prefix, bucket admin, anonymous object, queue admin/чужиеkeys; evidence/security/worker-privileges.json. Не доказывает полный rotation track |
|
||||
| Leaf lifetime на actual listener | Перезагрузка HAProxy с expired и future server leaf, восстановление исходного | CERT_HAS_EXPIRED и CERT_NOT_YET_VALID, затем verified HTTPS ready; evidence/preflight/certificate-lifetime.json |
|
||||
| Runtime freshness expiry | Остановлен явный operator heartbeat, max age120с/poll5с, проверены fixed event и exit/restart каждого процесса | API1 122,453с; API2 124,965с; worker126,351с до наблюдаемого event+exit/restart, включая sampling/drain; восстановление ready. evidence/preflight/freshness-expiry.json. Не nativeBao seal |
|
||||
| Actual stop deadline | После восстановления одновременно остановлены API1/API2/worker | 1,521с, все stopped, меньше15с; evidence/preflight/summary.json |
|
||||
| Current112 SLO persistence | Native PostgreSQL aggregate после реального нового upload, migration6 | ready_with_current_facts1, missing_first_fact0, negative_durations0;4legacy ready rows оставлены unknown. evidence/security/current112-slo-query.sql и current112-slo-facts.json |
|
||||
|
||||
Первый libpq18 запрос с SCRAM-over-loopback-proxy отклонился из-за SCRAM-SHA-256-PLUS channel binding. Исправление использует поддерживаемую native certificate authentication, а operator сохраняет direct verify-full+SCRAM. Успешный результат не выдаётся за SCRAM login приложения. Ошибки traversal bind-root PostgreSQL и неподдерживаемого Valkey CLIENT ACL устранены до положительных проверок.
|
||||
|
||||
## Непройденные обязательные gates
|
||||
|
||||
Historical current112 cached preflight завершился полностью: HCt7f finished/exit0, затем finalization HCt7g finished/exit0. Exact initial source lease удерживался через compile/image pack и приёмку; summary.accepted_generation связан с checked112-source.json/checked112-build.json. Все112 source hashes и установленные app/worker/SDK binary hashes проверены. Finalization записал новый COMPLETE SDK receipt и остановил pinned stand; private bind data/test key сохранены. Native OpenBao/telemetry/grade5=false в этих исторических receipts не переписывались после отдельной OO/GF приёмки.
|
||||
|
||||
Предыдущий102 runtime сохраняется сырым в evidence/history102/ и immutable checked102-*; его freshness121,303–128,023с и stop1,857с не переименованы в112. Старый ZIP1841ce… остаётся историческим. Четыре найденных helper P2 закрыты отдельным review evidence/reviews/review-vp7-checkpoint-helpers.md: primary error при diagnostic I/O failure, exclusive historical evidence, FIRST snapshot ZIP и pinned initial build lease. Исходный review119files не выдаётся за проверку новой версии.
|
||||
|
||||
Не исполнены native OpenBao init/unseal/cert-auth policy/Agent render+renew, token expiry/sealed lifecycle; оставшиеся extended security matrix/secret-leaf rotation/revocation; полный persistence и фактический failover каждой реплики7; dependency/image scan с разбором применимости; сквозной HTTP login DoS при измеренном KDF budget; полный runtime secret-leak audit. Три native сигнала, имена/labels, Grafana correlation/19panels/два alert incidents проверены отдельно и не заменяют эти gates. Source review не закрывает live пункты; CVE/RPS/latency без измерений не приводятся.
|
||||
|
||||
## Исследовательский трек 1
|
||||
|
||||
Гипотеза: worker credential позволяет завершить pipeline в разрешённых S3 prefixes, SQL attachment/job tables и consumer queue, но не читать users/sessions/messages, создавать роли/схемы, писать произвольный bucket prefix, администрировать S3/Valkey или публиковать через consumer identity. Отзыв worker leaf/token и S3 secret с последующей выдачей новой scoped identity должен восстановить обработку тех же queued jobs без потери исходного содержимого.
|
||||
|
||||
Методика реализована в scripts/rotation.ts и student-tests/privileges.ts: создать синтетические pending uploads, остановить worker, проверить allow/deny конкретных операций, отозвать leaf через CRL и token через native Bao API, принудительно завершить старые соединения native HAProxy reload/drain, изменить S3 secret и KVv2 через CAS, выдать новый leaf, перезапустить Agent/worker, сравнить IDs и байты восстановленных вложений. Нельзя считать существующий pooled connection доказательством отзыва: отрицательные пробы открывают новое соединение.
|
||||
|
||||
Трек пока не завершён; native SQL/S3/queue allow/deny проверены, полные отзыв/ротация и восстановление через Bao ещё не выполнены. Сравнение последствий до/после и время полного восстановления не измерены. Сценарий выполняется на одном host и синтетических данных, не доказывает HA при потере host/store, компрометации CA или root оператора.
|
||||
|
||||
## Ограничения и продолжение
|
||||
|
||||
Freshness max age120с/poll5с — временный default. При нормальном localFS/scheduling stale обнаруживается примерно до125с плюс graceful drain; ReadFile проверяет context до/после syscall, но не прерывает зависший filesystem. Runtime замер выше включает уже наблюдаемый exit/restart, а не только момент первого stale read. Stop grace15с больше штатного drain8с+SDKshutdown3с; measured cached current112 stop1,521с не заменяет полный nativeBao sealed test. Проверка остановки не является отдельным runtime измерением ветки ForceClose с намеренно зависшим handler.
|
||||
|
||||
Canonical Dockerfile отдельно от cached runtime. Reusing frozen VP5 transport image допустим только с проверенными binary hashes и не подтверждает canonical build. Все private credentials/failed runtime directories остаются за пределами ZIP; старые test-state архивы требуют адресной операторской очистки. Подготовленная работа не отправлена преподавателю. Cached current112 проверен и остановлен; после разрешения загрузок остаётся выполнить полный native stand и обновить отчёт только измеренными receipts.
|
||||
|
||||
## Исторический checkpoint трёх исправлений независимого review
|
||||
|
||||
Доля HTTP-ошибок теперь использует fallback только числителя: при2xx без5xx получается0; при2/10 получается0,2; отсутствие всех HTTP-серий остаётся NoData. Это проверено native PromQL в OpenObserve, а не сравнением строки. Receipt: evidence/openobserve/error-ratio-4b928b8b-c1eb-4b24-a9a9-b9579f1fda93.json. Native Grafana rendering/firing-resolved этим не подтверждается.
|
||||
|
||||
Historical reader фиксирует один конец snapshot для SQL и PromQL, включая запуск значительно позже исходного parent. Его фабрика требует явные clock/request ports; тесты проверяют фактические emitted bodies/time. Startup provisioner проверяет expected ingest/query slots и native200/403 перед записью derived credentials. Существующие аккаунты сохранены, новые не создавались; invalid-token native проверка не заявляется, отрицательные401/503/root-slot случаи проверены через обязательные fake workflow ports. Работа приложения после runtime падения telemetry от этого startup guard не зависит. Полный актуальный check:88TS,79tests/243assertions, nonwriting formatter0.
|
||||
@@ -0,0 +1,90 @@
|
||||
# Запуск лабораторной 7
|
||||
|
||||
Медведев Андрей Михайлович, БПИ2303. Рабочая цель: весь уровень 4 и трек 1 уровня 5 из оригинального README. Выполненные проверки перечислены в REPORT.md; цель не означает полученную оценку. Native OpenObserve/Grafana и два настоящих alert incidents проверены отдельно. Полный security stand и исследовательский трек ещё не приняты: native OpenBao и оставшиеся extended gates не закрыты.
|
||||
|
||||
Работать из корня lab7 на Linux amd64. Проверенный изолированный каталог: `/mnt/data/home/bench-saves/mtuci-vp7-security-20261115`, проект Compose всегда `mtuci-vp7-security`. Не запускать эту копию одновременно с другой копией того же проекта. Мак используется для редактирования, стенд и сборки выполняются на omarchy с низким приоритетом.
|
||||
|
||||
## Текущий перенос хранилища телеметрии
|
||||
|
||||
В текущей конфигурации Prometheus/Loki/Tempo заменены одним OpenObserve1.1.2 с собственными persistent local data/metadata. Grafana13.3.1 и Collector-k8s0.163.2 остаются обязательными; backend112 не меняется. Native storage, собственные ServiceAccount, оба mTLS listener, три сигнала, restart persistence, девятнадцать панелей, native trace42/log links и два original alert firing/resolved проверены отдельными receipts в [GRAFANA-NATIVE.md](docs/GRAFANA-NATIVE.md). Native OpenBao остаётся отдельным gate.
|
||||
|
||||
Collector0.163.2-k8s использует native OTLP HTTP через mTLS5080, header file без конечного CR/LF и отдельные logs/traces messenger exporters; metrics не получают stream-name. Grafana использует native Prometheus datasource с явным GET и готовый сторонний plugin openobserve v1.0.1; query transport идёт через mTLS5082. Query ServiceAccount не является Admin, но native OSS роль допускает read/write: ограничения обеспечивает CN/method/path gateway. HTTP listener OpenObserve15080 и gRPC5081 закрыты внутри namespace.
|
||||
|
||||
Рабочие кешированные aliases и их exact imageIDs привязаны к evidence/openobserve/image-freeze.json. Проверка разрешённых публичных cache inputs выполнялась командой `bun scripts/openobserve-cache.ts --check`; первичное создание только собственных aliases — отдельным --apply. Ни одна команда не тянула слои и не изменяла Azur/lab6 stand. При ordinary prepare/start новые owner/token хранятся только в зашифрованных operator envelopes и узких private consumer files, не в source/build. Existing OpenObserve volume и аккаунты повторным start не ротируются.
|
||||
|
||||
Native scoped proofs находятся в evidence/openobserve: failed parent pipeline-fc1a31a6… остаётся FAILED, corrected persisted-readback-8fa17baa… связывает112 source,42spans/41parents/3лога и пять PromQL samples; same trace сохранился после restart. transport-e500b6fc… и tls-matrix-45a4e5ca… содержат отрицательные TLS/role controls. query-guard-d359332e… подтверждает23 native HTTP cases и exact configSHA. Все эти storage-only stands остановлены. Cached provider — явные operator files/heartbeat, а не Bao.
|
||||
|
||||
Preflight helpers привязаны к существующему изолированному dataset и receipts. Не повторять успешный smoke ради диагностического сбоя: сначала сохранить primary stage/status, затем дочитать прежние данные. Полный путь prepare/start/accept ниже сохраняет обязательные native gates. Request.size допускает native omitted/0 и целое1…1000; SQL имеет независимый LIMIT, это не hard row/work cap. Body cap64КиБ, search window до1ч; range guard консервативно принимает integer span1…3599с. Native GF backend и browser proxy проверены отдельно: большой9МиБ SQL-ответ отклонён, маленькие положительные запросы сохранены. HAProxy пропускает только распознанную identity/Content-Length framing до8МиБ; unknown/chunked/encoded response отклоняется. Это не decompression, RAM или абсолютный deadline bound.
|
||||
|
||||
## Требования и закреплённые образы
|
||||
|
||||
Нужны Docker Engine с Compose v2, Bun 1.4.4, OpenSSL, Bash, make и Python 3.9+ для неизменённых публичных проверок. Go 1.27.2 нужен для native офлайн-сборки; canonical Dockerfile содержит собственный builder. Все сервисные образы закреплены digest в `scripts/topology.ts` и сгенерированном `compose.yaml`. Metadata OpenBao находится в `OPENBAO-IMAGE.json`; общие telemetry digests соответствуют handover lab6. Точный installed image ID cached runtime фиксируется отдельно в `evidence/security/preflight-build.json` после успешной сборки.
|
||||
|
||||
OpenObserve1.1.2 и Collector-k8s0.163.2 взяты из проверенного public cache в собственные immutable aliases. Пользователь разрешил600000000байт только для Grafana13.3.1/plugin1.0.1 на omarchy; root выполнил одну загрузку559001001байт, включая metadata. Lab7 повторно ничего не скачивал. OpenBao2.7.2 имеет80087069байт compressed layer payload как upper bound, а не измеренные missing/deduplicated bytes; runnable Docker cache не найден. Отдельный вопрос до85МБ Bao ещё без согласия; СИИ и прежний общий запрос4ГБ также не разрешены этим600МБ. Автоматического pull нет: pull_policy=never и image guards останавливают отсутствие cache. Canonical builder/base и apt ImageMagick требуют существующего cache или отдельного разрешения.
|
||||
|
||||
Порты только loopback: HTTPS API 18443, OpenBao 18445, Grafana 18447. API/worker/DB/S3/Valkey/Collector и telemetry storage не публикуют собственных портов. Только LB, OpenBao и Grafana gateway имеют дополнительную edge network: на проверенном Docker 29.9.2 internal-only network не создавала фактический опубликованный listener. Проверять реальный ответ HTTPS, а не только PortBindings конфигурации.
|
||||
|
||||
## Чистая подготовка
|
||||
|
||||
1. Распаковать проверенный архив или использовать полный checkout вместе с backend. Handover `BACKEND-READY.json` обязателен: helper сверяет каждый SHA256 до и после сборки. Не переносить меняющийся backend предыдущей лабораторной.
|
||||
2. Зависимости проверок: `bun install --offline --frozen-lockfile --ignore-scripts`. Native cache содержит types и playwright-core1.65.1; используется уже установленный Chromium155, browser download не нужен. Runtime TypeScript использует Bun; helper Go — закреплённый minio-go из backend/go.mod.
|
||||
3. Выполнить `bun scripts/lab.ts help`, затем `bun scripts/lab.ts prepare`. Ввести в скрытом prompt собственную фразу не короче 20 символов и сохранить её у оператора. Она нужна для unseal и rotation, не передаётся аргументом команды. Повторный prepare на существующей `.local` намеренно останавливается, чтобы не перезаписать CA/данные.
|
||||
4. Проверить `bun run check`, `bun run format:check`, `bun run test:unit` и `make check`. Unit PKI создаёт и убирает только собственный временный каталог. Native queue fixture запускается отдельно через `bun run test:acl`, использует свой сервер и временную ACL identity.
|
||||
|
||||
Дополнительный обязательный regression lifecycle: `bun test student-tests/browser-lifecycle.test.ts`. Он не запускает Chromium, сервисы или native process control: factory получает только required fake ports и проверяет cleanup при newPage/listener failure и сохранение primary error.
|
||||
|
||||
Перед Grafana start нужны также готовые plugin assets, не один Docker image. На текущем omarchy `bun scripts/grafana-cache.ts` проверяет coordinator public CACHE-READY и копирует точные unmodified assets в собственный `.local/plugins/openobserve`; соседние source/credentials не используются. Cache-only private `.env` выбирает `VP7_GRAFANA_IMAGE=mtuci-vp7-grafana-cache:13.3.1-1c88285f1dd3`, совпадающий с cache receipt; без override canonical default — public digest из topology. `grafana-preflight.ts` устанавливает эту строку под guard автоматически. На другой машине следует заранее предоставить pinned image и тот же SHA-verified public plugin artifact; source ZIP не содержит ELF, Docker layers или private dataset.
|
||||
|
||||
Scoped Grafana replay требует retained native dataset и `.local-preflight-key` из disposable operator-provider preflight; его hardcoded trace/window не является fresh-volume bootstrap. Полный ordinary operator path — prepare/start/accept, с native Bao gates. Отдельные CLI cases и принятые receipts перечислены в [GRAFANA-NATIVE.md](docs/GRAFANA-NATIVE.md); отсутствие сохранённого dataset должно давать явный отказ, а не пустой200 PASS.
|
||||
|
||||
prepare создаёт `.env`, `.local/pki`, persistent data и encrypted `.local/operator/services.enc`. Закрытый ключ CA зашифрован; init root/unseal shares позже сохраняются только в encrypted операторском envelope. Эти пути исключены и из git, и из Docker build context. Не переносить `.local`, `.env`, operator envelope или failed-state архивы в ZIP/CI artifacts. Публичный `.local/pki/lb/ca.crt` можно передать проверяющему отдельно: он не является приватным ключом.
|
||||
|
||||
На omarchy долгую команду запускать через низкоприоритетный scope: `systemd-run --user --scope --slice=background.slice -p CPUWeight=20 -p IOWeight=20 nice -n 15 bun scripts/lab.ts start`. Эта команда предполагает, что `bun` уже разрешается в установленный 1.4.4; в проверенном окружении binary находится в `/home/rey/.local/share/mise/installs/bun/latest/bin/bun`. Никакой version-manager auto-install не нужен.
|
||||
|
||||
## Полный запуск после получения образов
|
||||
|
||||
`bun scripts/lab.ts start` запрашивает операторскую фразу, проверяет handover и наличие всех pinned images, регенерирует конфигурацию, проверяет Compose, собирает canonical app, запускает stores/OpenBao, выполняет init или unseal, миграции, точные SQL GRANT и scoped S3 bootstrap. Потом запускает Agent, TLS gateways, две API-реплики, worker и telemetry и ждёт живой HTTPS на каждой реплике.
|
||||
|
||||
Первый init: OpenBao non-dev server с persistent file storage, 3 shares / threshold 2; init response шифруется до readback. В приложение root/shares не монтируются. При последующем рестарте OpenBao требуется manual unseal: `bun scripts/lab.ts unseal`. Это операторское действие, а не встроенный в приложение root credential. Cert-auth API и worker выдаёт отдельные short-lived scoped tokens, без default policy и token sink. Agent оставляет token в памяти и рендерит только свой KVv2 path.
|
||||
|
||||
Готовность проверить через `bun scripts/lab.ts wait`, затем `make test BASE_URL=https://localhost:18443 CA_FILE="$PWD/.local/pki/lb/ca.crt"`. Внешнюю отрицательную TLS-проверку выполнить через `make test-security BASE_URL=https://localhost:18443 CA_FILE="$PWD/.local/pki/lb/ca.crt"`. Не применять curl -k, verify=false и TLS-off между контейнерами. Локальные plaintext endpoints находятся только внутри общего network namespace приложения и его TLS gateway; эта закрытая граница показана в trust matrix.
|
||||
|
||||
## Полная приёмка и исследовательский трек
|
||||
|
||||
`bun scripts/lab.ts accept` запускает полный stand и проверяет публичные check/smoke/security, native PostgreSQL login/query, реализованные mTLS cases, scoped OpenBao, SQL/S3/queue privileges, persistence, отказ обеих API-реплик, expired/future leaf, worker/S3 rotation, token expiry, secret guard и sealed lifecycle. Public checker выполняется в source-only копии, вне runtime policy.json object directories. Actual auditMatrix(full) реализует8cases: API1/API2, broker с api identity, S3 с worker identity, оба клиента Collector и OpenObserve ingest5080/query5082. PostgreSQL проверяется отдельно. Это не заявление о покрытии каждого declared edge/role: полный native security stand остаётся gate. Команда скрыто запрашивает фразу и изменяет только синтетические данные/credentials своего stand.
|
||||
|
||||
Приёмка записывает безопасные результаты в `evidence/security/`. Ошибка сохраняет точную стадию, а сырые ответы/логи остаются в `.local/diagnostics` и operator receipts. Не публиковать эти private файлы. PASS всей сессии возможен только после последнего сценария; отдельный unit/config PASS его не заменяет. Команда может длиться несколько минут из-за token/freshness expiry и восстановления задач.
|
||||
|
||||
Для ручного resilience используются проверенные hook-файлы: `make test-persistence BASE_URL=https://localhost:18443 CA_FILE="$PWD/.local/pki/lb/ca.crt" ACTION_SCRIPT="$PWD/scripts/restart.sh"` и `make test-failover BASE_URL=https://localhost:18443 CA_FILE="$PWD/.local/pki/lb/ca.crt" ACTION_SCRIPT="$PWD/scripts/stop-one.sh"`. Failover hook читает реальный `/tmp/messenger-instance-id`, связывает его с owned контейнером и останавливает только эту реплику. После каждого ручного отказа снова поднять реплики полным start и дождаться wait. Для подтверждения обеих реплик используется accept с отдельными receipts, а не два одинаковых произвольных stop.
|
||||
|
||||
Cached preflight: `bun scripts/preflight-run.ts` предназначен для нового disposable состояния, замороженного VP5 runtime и checked7 source. Он использует существующий native Go cache с GOPROXY=off/GOSUMDB=off/-mod=readonly, создаёт уникальный vp7 alias по image ID и сверяет три бинарника после упаковки. Scoped файлы и heartbeat в этом режиме выпускает явный операторский provider. Это проверка HTTPS/API/pipeline/ACL/freshness без pull; она не является native OpenBao или telemetry acceptance. Случайная тестовая фраза сохраняется в0600 `.local-preflight-key` вне container mounts/build/Git/ZIP для повторного `bun scripts/preflight-run.ts --resume`; удалить её после teardown. Такой fixture режим не используется для долговременного операторского стенда.
|
||||
|
||||
Current112 source19:04:33.200Z отдельно прошёл весь defined cached preflight: HTTPS publicsmoke/security, четыре core mTLS boundary, SQL/S3/queue ACL, expired/future LB leaf, default120с expiry всех трёх процессов и восстановление. Наблюдаемый event+exit/restart122,453–126,351с включает sampling и drain; subsequent actualstop1,521с. Stand завершён, owned containers0; source/build leases и accepted generation находятся в evidence/preflight/checked112-* и summary.json. Старые102 receipts и ZIP остаются отдельной историей, не подменяют112. Эти результаты не являются nativeBao/telemetry acceptance.
|
||||
|
||||
## Настройки и соответствие skeleton
|
||||
|
||||
`.env.example` сохранён без изменений как исходный логический интерфейс. Фактический `.env` содержит только UID/GID, три локальных порта и session TTL; секретных значений в нём нет. API слушает APP_HOST=127.0.0.1:8080 в namespace gateway; APP_ENV=lab, две API-реплики. DATABASE_URL_FILE, CACHE_URL_FILE и S3_CONFIG_FILE указывают на read-only файлы Agent. Worker дополнительно читает BROKER_PUBLISH_URL_FILE; producer и consumer usernames должны различаться. Раздельные S3_ACCESS_KEY_ID_FILE/S3_SECRET_ACCESS_KEY_FILE заменены одним нативным S3_CONFIG_FILE с полями Endpoint/Access/Secret/Bucket. BROKER_URL_FILE заменён существующим CACHE_URL_FILE для consumer и отдельным publisher file. SESSION_STORE=postgres соответствует фактической SQL реализации; лимит входа общий в фиксированной PostgreSQL таблице login_limits.
|
||||
|
||||
SECRET_FRESHNESS_FILE=/run/app/freshness и SECRET_MAX_AGE_SECONDS=120 — временный документированный default, не фиксированное число из задания. RFC3339Nano timestamp принимается только конечного неотрицательного возраста до max age включительно; future/malformed/oversize/I/O failure закрывают приложение. Poll 5 с, обычный localFS даёт обнаружение до примерно 125 с плюс graceful drain. Это не универсальный wall-clock bound при зависшем filesystem/host. Native Bao template обновляет timestamp только внутри успешного чтения своего KV path.
|
||||
|
||||
MAX_UPLOAD_BYTES=10 МиБ и MAX_IMAGE_PIXELS=40 млн реализованы как backend limits. Worker concurrency=2 и попытки=5 закреплены backend; JOB_TIMEOUT соответствует bounded processing контекстам backend, не неиспользуемой переменной skeleton. PG_MAX_CONNS=4. Argon2id использует 32 МиБ/t2/p1 с уникальным salt и сохранёнными параметрами. В переданном ARGON-BUDGET.md native профили1/2/4 verify имеют p95 27,52/80,76/156,4 мс и VmHWM70,08/134,1/168,3 МиБ; это измерение KDF, не полного HTTP DoS. Каждому API/worker выделено 2 ГиБ с GOMEMLIMIT=1536MiB: API тоже декодирует ограниченное изображение, 256 МиБ было бы недостаточным обоснованием. Worker CPU=1, API CPU=0,5; app non-root/read_only/dropALL/no-new-privileges/tmpfs. Stop grace 15 с покрывает 8 с drain и 3 с SDK shutdown; фактическая проверка stop обязательна.
|
||||
|
||||
PostgreSQL использует native TLS18 с ALPN postgresql. App/worker CN точно равен SQL role и проверяется cert auth. Operator/migration используют native verify-full+client cert+SCRAM. Начальный SCRAM-over-local-TLS-proxy вариант libpq18 отверг как channel-binding stripping; успешный cert-auth query отдельно зафиксирован. Stateful bind mounts объясняют исключения read-only данных, а PostgreSQL entrypoint кратко получает только необходимые capabilities для ownership и drop UID.
|
||||
|
||||
## Ошибки, восстановление и остановка
|
||||
|
||||
Если start упал, сначала читать только безопасный stage из evidence/STATUS; сырые `.local/diagnostics` не выводить в общий лог. Повторный start использует тот же encrypted operator envelope и persistent stores. Не повторять init при uncertain response: проверить /sys/init через штатный helper и сохранить оригинальный encrypted outcome. Native S3 SDK operator receipts находятся в `.local/operator/s3-receipts`, каждое действие получает новый exclusive receipt.
|
||||
|
||||
При queue backlog проверить worker и его freshness/Agent, затем DB/outbox и native ACL команды, включая XAUTOCLAIM. Publisher не имеет consumer-команд, worker не имеет XADD; восстановление идёт через отдельный publisher клиент. При telemetry incident API должен оставаться доступным; bounded exporter поведение не доказывается dashboard JSON. Диагностика: `bun scripts/diagnose.ts worker worker-agent worker-gateway broker`, raw logs private. Текущие native metric names/labels связаны с docs/OPENOBSERVE-NATIVE-SCHEMA.json; новый image/SDK требует повторной сверки фактических consumers.
|
||||
|
||||
Остановка с сохранением всех данных: `bun scripts/lab.ts stop`. После завершения работы проверить, что pinned Compose project не имеет running контейнеров. Для нового disposable прогона `bun scripts/reset-failed-test.ts` проверяет owned claim/labels, выполняет pinned profile-all down и перемещает состояние в `.local-failed-<timestamp>`; это архивирование, не физическое уничтожение данных. Такой архив остаётся приватным и не входит в Git/build/ZIP. Физическое удаление старого private архива пока не автоматизировано: оператор должен отдельно выбрать точный каталог после проверки ownership; общий docker prune запрещён. Пароль долговременного стенда хранит оператор: без него encrypted CA/recovery material не восстановить.
|
||||
|
||||
## Остатки до сдачи
|
||||
|
||||
Нужны native OpenBao render/renew/seal, оставшаяся полная security matrix/rotation/worker research, dependency/image scans с triage, сквозной HTTP login DoS при измеренном KDF budget, полный HTTPS persistence/оба failover и финальная полная приёмка. Native GF/OO результаты имеют отдельные receipts и не заменяют Bao. Наличие команды означает процедуру, а не её PASS. Текущие outcomes смотри в REPORT.md и STATUS.md.
|
||||
|
||||
## Точечные исправления независимого review
|
||||
|
||||
Доля HTTP-ошибок теперь использует fallback только числителя: при2xx без5xx получается0; при2/10 получается0,2; отсутствие всех HTTP-серий остаётся NoData. Это проверено native PromQL в OpenObserve, а не сравнением строки. Receipt: evidence/openobserve/error-ratio-4b928b8b-c1eb-4b24-a9a9-b9579f1fda93.json. Native Grafana rendering/firing-resolved этим не подтверждается.
|
||||
|
||||
Historical reader фиксирует один конец snapshot для SQL и PromQL, включая запуск значительно позже исходного parent. Его фабрика требует явные clock/request ports; тесты проверяют фактические emitted bodies/time. Startup provisioner проверяет expected ingest/query slots и native200/403 перед записью derived credentials. Существующие аккаунты сохранены, новые не создавались; invalid-token native проверка не заявляется, отрицательные401/503/root-slot случаи проверены через обязательные fake workflow ports. Работа приложения после runtime падения telemetry от этого startup guard не зависит. Исторический OO correction checkpoint:88TS,79tests/243assertions, nonwriting formatter0; текущий Grafana check и отдельный lifecycle regression указаны выше и в READINESS.json.
|
||||
@@ -0,0 +1,115 @@
|
||||
# VP7 native OpenBao completion in progress
|
||||
|
||||
The user explicitly approved at most85000000 additional artifact bytes only on omarchy for pinned OpenBao2.7.2. Download completed wholeexit0 at80099233bytes; verified9config/layer blobs and manifest a78eb12a…, native linux/amd64 import and bao version2.7.2/build9e0a0d3c3504a0a00b45e61355afac5e35c78379 exit0. Safe evidence: evidence/openbao/download-cache-bf3bbd5d.json SHA9284d9db34b613f234f9c51783dd461184bd1ca6067b102621049e52c3cb4ba6. No other artifact downloads are authorized by this quota.
|
||||
|
||||
Native file-backend bootstrap failed before init: OpenBao2.7 removed file storage. The supported single-node PebbleDB replacement uses /bao/data/pebbledb; no network/PG/image replacement was needed. Native init saved root/shares encrypted in the same process and unsealed successfully, then API audit creation returned400. Declarative audit HCL replaces that disabled API path without enabling its unsafe flag. Native policy bootstrap-f067e92a-cda6-499a-bde7-1aac49ccf373.json finished COMPLETE/wholeexit0/stop0; both roles own200/foreign403/admin403/renew/revoke-denied, forbidden identity400 in evidence/security/openbao-policy.json. Audit guard/config attribution is explicit in evidence/openbao/audit-configuration-f067.json; a successful raw HTTP transport body was not retained and is not invented. All failed bootstrap/probe receipts remain historical.
|
||||
|
||||
Full integration uses the explicit checked112 cached runtime with pre/post source/image/three-binary guards. Canonical Dockerfile is unchanged and no new canonical build PASS is claimed. Root found BuildKit cache separately; earlier Docker image-inspect absence alone did not establish absence of all builder cache. Backend112 and four checkpoint guards remain unchanged.
|
||||
|
||||
Before the native seal/failover cases, required fake-port oracle fixes reject unrelated/old-cause restarts and stale failover receipts: sealed RED10fail/2controls→GREEN12tests19expect; failover RED7fail/3controls→GREEN10/11; checked runtime routing RED2fail/3controls→GREEN5/7. Actual consumers are extended.ts, acceptance-session.ts and hooks.ts; outer cleanup is scripts/native-security.ts, reusing the tested required-port ownership helper. Native nonwriting source checks before the portable-Git delta passed110TS/128unit tests343expect/formatter0; the prior typecheck failure from a misplaced receipt field was corrected before any fault run. Evidence: evidence/openbao/source-877c6a38-4275-440e-a77c-a7c60b20eb24/.
|
||||
|
||||
The source-only runtime has no .git, so the mandatory Git tracking audit now requires real canonical Mac query/HEAD/empty-result proof bound to operational source hashes and an expected SHA in the native operation lease. It never substitutes zero from missing .git. Producer/reader required-port tests RED7fail/2controls→GREEN9/11. The complete new source check, narrow independent review and native integration/rotation/seal stages are still in progress. Native policy PASS alone is not full security/telemetry/grade5 completion.
|
||||
|
||||
Historical source515/ZIPca313 and all prior source/docs/archive reviews and closure remain immutable. Public evidence replaced by the new integration will first be preserved under an owned private history path; no old result is relabeled as the new native run.
|
||||
|
||||
## Historical native Grafana checkpoint before OpenBao approval
|
||||
|
||||
Native Grafana cases and current39 independent implementation review have finished. Bounded final docs/archive readback and a new source package are next. All owned main-project and response-fixture containers are stopped. Backend112/19protected and historical ZIP361/manifest79dd/closureea74 remain unchanged. No full security/Bao/grade5 completion is claimed.
|
||||
|
||||
Current stack: OpenObserve1.1.2, Collector-k8s0.163.2, Grafana13.3.1, unmodified ready-made OpenObserve1.0.1 plugin. Approved download quota600000000bytes applies only to GF/plugin; root used559001001bytes once, own7 cache preparation used no second artifact download. Total runtime egress bytes were not measured. OpenBao85MB question and SII authorization remain pending. Runnable pinned Bao image was absent in Docker inventory;80087069compressed layer bytes are only an upper bound, not deduplicated missingbytes.
|
||||
|
||||
Completed native command scopes and outcomes:
|
||||
|
||||
- run-p2198113-i27233964, invocationf8c14a0611a3400597e3c489a83c0aa7, wholeexit0: preflight-1b430ef3… SHA295a9c281d2367a9b896cabea82a938eb3f593b6c92fe4fbebedab701a7cd16c; incidents-e80b4c4d… SHA94a075b55cdc38b4b67b3c6a3758f200b3c0e660e51b4953010add6716e44c6c. Original worker rule firing61.229s/A60.063806>30, samejobready, resolved8.331s/A0. DB rule firing48.889s/A0.7087477391>0.05 from32 instrumented direct-mTLS API5xx, resolved68s/A0. Public LB503 was not counted as application5xx. No threshold/vector patch; operator-provider, not Bao; global/appstop0.
|
||||
- run-p2408853-i27418590, invocationf73cf9fcf3c441c4a0d3d496c310e509, wholeexit0/stop0: gauges-4fc181c9… SHAb76fe1b7b5d638487ff2acf3d9412d9e6581ea8dd2eee539d6d32db04ae6205b. SAMEpoint1794801461224: raw oldworker age83.224s/newworker2.224s, full labels including start_time retained. Old capacity2→filtered1, observer0→1, absent[]. Both instanceID and start_time differ in this dataset. Pool samepoint proof7da4a965…:12→10, absent[], with oldworker poolcapacity2. Only capacity/observer/poolcapacity query expressions changed to existing6 timestamp>time()-10 style; no Go/producer changes, other gauges not claimed freshness-safe.
|
||||
- run-p2520507-i27696494, invocationf3031042af294015ac0d7787d0900518, wholeexit0/stop0: response-framing-be70ca46… native HAProxy/mTLS9cases. Exact8388608bytes200; +1/encoding/chunked/unknown502/35marker; duplicateequal/leadingzero native-normalized bounded responses accepted. This is recognized framing, not SQL work/decompression/RAM cap.
|
||||
- run-p2570709-i27726658, invocation114a8be17b9146ab977d6f09d15e63b6, wholeexit0/stop0: browser-b8b2e8e1… contains actual19nonempty finite native Prometheus browser frames, existingtrace42 waterfall. Response-consumers-b8b2…: browser9437661B/200 historicalRED→502/35B marker; native plugin backend400/144B; bothpositive200/one row. Histogram9: omitted/0→2buckets/sum3,1→1bucket/sum1,negative/1001→400,fraction/string/null/object→422. Its reverse-link observation was NOT accepted: old-left-pane row matched before newrightpane response; corrected separately below.
|
||||
- run-p2600615-i27631456, invocationaa9f664977f54f35b1f0910d4689e539, wholeexit0/stop0: browser-86b82122… SHA7c44010cb88d151f2cecc3db65badb8f2d02b79905e40b988cb333645a94a9be. Real log→trace click returns42spans/41parent relations. Selected attachment.process span54d90849005639d4 native href window1794785659919…1794785660468ms; reverse POST200 returns one worker.job at1794785660451568us with same trace/span and a newly rendered row. No old-pane match or3-row span-window oracle. No producer/incidents/cap repeated.
|
||||
- run-p2634863-i27806786, invocation9e092860a59240e889b5253ba2a325ac, wholeexit0/stop0: browser-35db454d… normal own page-history GET404×2→UI POST201→samekeyreloadGET200. Rawdiagnosticevents4, expectedoptional4, unexpected0; not literalconsole0. No script seed/flags. Same-image shipped JS/map source copied to docs/reference/grafana-history; own keyfg4fpuerxx79cb proven independently from6. https-identity-35db… positive200 before/after, wrongCA/wronghostname curl60; native leaf validity checked.
|
||||
|
||||
Failures remain raw. Health timeout had no measured OOM/restarts; native listDTO auth-field omission was fixed with UID-detail/health RED/GREEN. Historical idle p50 NoData was not zero-filled. Invalid hyphenated fixture username and evaluator JSON-key ordering were helper defects, fixed with actual-producer/semantic tests. Browser socket-directory failure used an absent TMPDIR; it is not evidence of long-path/locked-profile cause. Separate native short-profile blank launch exit0 preceded replay. Capture ordering now saves wire before metric guard and tags the request's dispatch stage. Native browser15sgrid at oldrange gave empty short histogram samples; end+5s and per-visible-panel response waits gave19finite targets without new traffic. Split-link readback now binds specific SQL/window response before accepting a new DOM row.
|
||||
|
||||
See docs/GRAFANA-NATIVE.md and the safe PNG/DOM/capture receipts in evidence/grafana. Private cookies/password/raw HTTP/profiles remain outside source/build/ZIP. Canonical bootstrap/start now call prepareGrafana before its exact secret-key bind is consumed. Shipped Go initializer source at actual buildda3… is unavailable; public tag password validation remains reference-only, while native64hex admin auth was measured. Native Bao/full security/grade5 false. Final source checks finished wholeexit0:100TS,95unit tests/287expect, formatter0 in evidence/grafana/source; run-p2764764-i27815802/invocation5e04bb897a164ed1b3f4a8f23c9f2eb7. Earlier same-phase receipts are preserved under source-before-final-c714c1d2 and source-before-scope-cli-bfbb13. Public source check --grafana finishedexit0 in run-p2770986-i27943800/invocationf58dd9672cad42cf82d1d9504839d6b9; older OO public-check bytes remain unchanged. Native-shape history selector RED2fail/5controls→GREEN7tests23expect covers own POST/existing versioned PATCH/foreign route, without live fake ports; native PATCH itself is not claimed. Independent source review is closed below; docs/archive readback and a new package remain pending.
|
||||
|
||||
Implementation freeze: evidence/grafana/review-source-41c6b438-c674-424f-a9f9-081a9ff66904.json SHAdff06308dcaa446bd941a9e50bbe3753ae5acd3501b20ae11dcbd8324222f677 contains37source/60evidence and separate112backend/4guard leases. SII confirmed a lifecycle gap in browser595c8b4f…: newPage/listeners were outside the context ownership scope. Root released only that source path plus new helper/test. New delta review-lifecycle-delta-f74fcdf1-f211-41a7-8e08-66f58c03ab9e.json SHAa1cbaaaf890d7ad9715648131b2116f6a8064bf822b5ad7010295a75e42c6095 binds browser e82d3534…, helper1cffda81…, testd65a3dc3…. Other36source/all60evidence/backend112/4guards were reverified unchanged. Factory requires acquire/run/close/reportCleanupFailure ports; close covers every postacquire setup and preserves primary errors. RED3fail/3controls→GREEN6/19; native102type/nonwritingfmt0, wholeexit0 run-p2921536-i28029807/invocationae408c03f00846ebb467f96ae34c67e2. No live browser/producer/fault replay. Package.json remains leased, so lifecycle test is a documented separate mandatory command, not silently included in95standard tests. CLAUDE now refers to global resource-ownership rule with local ticker/Chromium examples. The delta was submitted for review; its independent closure is recorded below.
|
||||
|
||||
Additive control-plane record outside frozen60: native-control-748a9e0b-f1ae-4b4c-b8ce-ae4e19774cba.json SHAad624de1c4a24d4fc5801bc0c6b219460f482893bc68b4f85d15f923b9b6de45. Own persisted Codex thread/cwd were verified before extraction. It binds actual launch/poll-completion tool records for sessions90027/88872/47621/81041, all exit0; source call/output line hashes and sequential tool-output positions are included. Signal is not exposed by exec schema; no null/finished_ms was invented. Event times are tool-return times, not measured remote finish timestamps. b8 wrapper is explicit preflight96875a3e→browserb8b2 diagnostics; separate FAILED7c84f311 belongs to the earlier ca31 attempt. Frozen records were not rewritten.
|
||||
|
||||
Current independent result: evidence/reviews/review-grafana13-lab7-implementation.md is raw SHA665345febb8abf4fbe6a731127644b5dec88b7594588f991197e734466c6a4f9, SOURCE_PASS_CURRENT39_WITH_SCOPED_OWNER_NATIVE_EVIDENCE, GF7-LIFECYCLE-1 CLOSED. Reviewer separately ran9pure lifecycle tests/26expect, verified39source/old60/additive control/delta/112backend/4guards and retained source/native evidence without starting the stand. The earlier paragraph's delta-pending state describes its submission; this is its closure. Raw ac4 pending history is preserved. Five public metadata mirrors plus an explicit local navigation wrapper resolve current/history raw report links from each containing file without rewriting either report. No sibling implementation/private files were copied. Parent docs now state OO1.1.2/Collector-k8s0.163.2/GF13.3.1/plugin1.0.1, exact600MB/559001001budget and pending85MB Bao/SII. Active RUN's old790MiB/Tempo matrix prose was replaced by the actual8implemented cases; original assignments and historical receipts remain unchanged. New source ZIP/independent archive review is not yet claimed.
|
||||
|
||||
## Historical Grafana preparation before native completion
|
||||
|
||||
The user authorized up to600MB only on omarchy for Grafana13.3.1 and the unmodified OpenObserve1.0.1 plugin. Root coordinated ONE download559001001bytes and exact CACHE-READY handover. Own cache preparation finished exit0: imageID1c88285f1dd391a62232c010e6c224846e6a73bdc583b3365be2eba614b7919e, alias mtuci-vp7-grafana-cache:13.3.1-1c88285f1dd3; plugin archive SHAe0c2cbcc7cf6d05bcfaa606db39e52249eb0dd234376e45a3f896353831c2fd5, backend ELF SHAdc91fdfaf25708cb2573c4e533754cb5cc5ecd02d43beb7ee21bee06fbc09c50. No second download or lab6/Azur mutation occurred. The old ZIP361cae/manifest79dd/closureea74 remain historical checkpoints.
|
||||
|
||||
Cases and actual consumers are documented in docs/GRAFANA-ACCEPTANCE-CASES.md and docs/GRAFANA-INITIALIZER.md. The native image /run.sh and pinned13.3.1 initializer/password policy were read before first user startup. Existing encrypted admin password matches its exact consumer file. A separate random Grafana secret_key is encrypted before publication, HTTPS cookies are secure, and automatic extra plugin downloads/key retrieval are disabled. Actual mounted topology allows only an own verified cached Grafana alias. Lab7 alert group10s uses the default native10s scheduler; no experimental or1s override is used.
|
||||
|
||||
Three completed native preflights are FAILED and retained separately, all with stop_exit0. First: PUBLISHED_HTTPS_GRAFANA_HEALTH timeout; private last-probe retention was added to the actual readiness call (no OOM/restarts observed). Second: native HTTPS health13.3.1/databaseOK and DNS passed, then the authored list DTO guard rejected omitted auth metadata. The actual Grafana list does not expose those fields; the UID detail + matching health reader now does, covered by meaningful native-shape RED/GREEN. Third: both exact UID/auth detail and health readers passed, then historical HTTPp50 returned NoData and the finite-sample guard rejected it at HISTORICAL_METRIC_PANEL_2. No historical failure is relabeled PASS, and no zero-fill is applied. Safe receipts are evidence/grafana/preflight-*.json; request bodies/errors remain private.
|
||||
|
||||
Current strict native typecheck94files and targeted15tests/66expect passed. Earlier current-phase complete type/unit/nonwriting checks passed before the UID reader correction; their receipts remain evidence/grafana/source. Additional RED/GREEN source tests cover the cached alias, file-delivered security key/cookie, disabled plugin preinstall and numeric/public-endpoint guards. Final full source checks/review/ZIP are still required after this phase.
|
||||
|
||||
Root explicitly authorized fresh bounded API/worker112 operator-provider fixtures for the NEW mandatory Grafana/alert incidents. Do not repeat full public smoke/security or120s freshness. Fresh19-panel numeric acceptance, real worker/DB incidents with original rules firing/resolved, browser metrics/logs/trace42 correlation and actual8MiB response limits remain pending. A known native6 result proves the plugin backend limit but identifies a browser datasource-proxy cap gap; no cap claim is transferred to7. Root will share its exact native guard delta when verified.
|
||||
|
||||
No OpenBao/SII download is authorized. Docker has no runnable image for pinned OpenBaoa78eb; declared compressed layer payload80087069bytes is an upper bound, not a measured deduplicated missing-byte count. Root has asked a separate85MB question but has not supplied user approval. NativeBao/grade5/fulltelemetry flags remain false. Own stand stopped after the third preflight; do not start another job while one owns it.
|
||||
|
||||
## Historical OpenObserve source/available-native phase
|
||||
|
||||
OpenObserve migration resumed by explicit user authorization. The accepted current112/8e15 checkpoint below is historical evidence; it is not OpenObserve acceptance. New write boundary/cases: docs/OPENOBSERVE-MIGRATION.md; shared root contract: ../OPENOBSERVE-BOUNDARY.md. Backend112 remains frozen; no large pulls are authorized. Current work starts with actual generator RED, then verified native ingest/query/plugin/auth boundary and separate runtime/review evidence.
|
||||
|
||||
Ownership is limited to lab7 infrastructure, tests/docs/evidence and backend/internal/adapter/freshness. Other backend source is owned and frozen by the VP backend owner. Runtime uses only `/mnt/data/home/bench-saves/mtuci-vp7-security-20261115` and pinned Compose project `mtuci-vp7-security`; lab5/6/shared runner were untouched.
|
||||
|
||||
## Historical OpenObserve available-native checkpoint
|
||||
|
||||
Backend112 and historical ZIP8e15 remain unchanged. Native runtime uses own OpenObserve1.1.2/Collector-k8s0.163.2 aliases frozen from verified public descriptor/cache receipts and linux/amd64 identity, without pulls or changes to lab6/Azur. Initial generator RED3fail/1control became GREEN4pass/34expect. Config/dashboard and separate account fake-port regressions were run before native provisioning.
|
||||
|
||||
Native bootstrap HC vp7-oo-native-bootstrap finished exit0: own encrypted owner, distinct native ingest/query service_accounts captured encrypted in the same process, authenticated query200 through Grafana mTLS identity and native Collector validate. Both native service_accounts can ingest and query; the method/path/CN gateway provides the split, not a claimed native read-only role. Source roles/policy came from checked OPENOBSERVE-IDENTITIES; no lab6 credential was read or reused.
|
||||
|
||||
The first current112 app run vp7-oo-all3-native exited1 after successful HTTPS readiness/public smoke because the authored URI validator rejected URLSearchParams plus in spaced PromQL. Its failed receipt pipeline-fc1a31a6-7c89-4e10-98d4-fb127a6e352a.json and smoke output are retained. The first persisted readback also exited1 on native422: fractional filesystem mtimeMs became noninteger JSON search microseconds. These are historical failed commands, never relabeled PASS. Pure regressions now cover actual producer encoding, status-first text errors and fractional-time conversion; primary native status/content type/request kind are recorded before decode.
|
||||
|
||||
Corrected storage-only readback vp7-oo-persisted-readback2 finished exit0. Receipt evidence/openobserve/persisted-readback-8fa17baa-a9f5-419c-bf24-e9ac820fdfbf.json binds source112 SHA09fe, the raw failed-parent SHA,42spans/41parent relations/3correlated API+worker logs and five finite native PromQL results. start_time/end_time are ns, duration/_timestamp are us; parent field is reference_parent_span_id. Native restart retained the same trace and metrics; producer/smoke were not repeated. The provider remained existing scoped operator files + explicit heartbeat, not Bao. Storage stop exited0 and owned running containers were0.
|
||||
|
||||
Required two-listener transport vp7-oo-transport-native finished exit0. evidence/openobserve/transport-e500b6fc-a04d-47f1-9058-d52a9bf3c27a.json and tls-matrix-45a4e5ca-9422-4e7e-9874-d20b048fce99.json prove ingest5080/query5082 authenticated controls before/after no-client/foreignCA/wrongrole/wrongSAN/wrongtrust negatives, Grafana ingest/admin/foreign-org403, native query SA admin-rotate403 and raw15080/5081 ECONNREFUSED. No timeout was counted as denial. These receipts predate the next HTTP input-guard delta; TLS listener identity fields remain unchanged.
|
||||
|
||||
Root released initial13+consumer5 review source leases for the next approved delta. The checked lab6 dd110001bbd7473d5909fbb634e1497fc38655e3db26c1cbc9a7aedcea39e109 native query ACLs are being adapted to the same mTLS identities, without HTTP userlist/auth copying. Request.size is an input guard, not a hard SQL result-row cap. Native Grafana/plugin rendering, data-proxy limit applicability, alert firing/resolved, native Bao delivery/lifecycle, full outage/recovery and grade5 acceptance remain false/pending. No large download approval has arrived. The adapted policy passed23 native cases plus both OO/Grafana gateway parsers in vp7-oo-query-guard-native, finished exit0/stop0. Its exact pre/post configSHA is d1d4270e54c8fb3e4964f41950cc2c255dbbb244a5ef63da28c8a5909cf684ab. Native nonwriting checks finished exit0:85TS files,63unit tests/206assertions, formatter0 (evidence/openobserve/source). The unchanged public source check also passed in its source-only snapshot (evidence/openobserve/public-source-check.txt). Current required work is independent narrow source review and a new scoped source package; no additional runtime probes are planned for this phase.
|
||||
|
||||
## Historical bounded independent-review corrections
|
||||
|
||||
The initial65-file manifest review-final-source.json remains historical and unchanged. Independent review confirmed three defects: absent5xx gave an empty ratio, historical SQL end used a moving wall clock, and saved encrypted SA records were rendered without native authentication validation. The bounded correction uses numerator-only fallback, a required-port signal reader with one fixed historical end, and required positive/deny/publish workflow ports consumed by the real provisioner before derived writes/start success. No backend or old checkpoint guard changed.
|
||||
|
||||
Actual native math RED had healthy2xx/absent5xx=[], positive2/10=0.2, all-absent=[]; GREEN has0/0.2/[] in evidence/openobserve/error-ratio-4b928b8b-c1eb-4b24-a9a9-b9579f1fda93.json. The same native command proved both EXISTING saved SAs positive200/admin-deny403 through production provisionOpenObserve; encrypted account bytes stayed unchanged, accounts_created=false, producer_started=false and stop_exit0. No native invalid-token test is claimed.
|
||||
|
||||
Reader RED1fail/2controls became GREEN3tests/13expect, asserting actual SQL bodies and all5PromQL times after a3hour fake clock jump. Workflow RED11fail/1control became GREEN13tests/24expect, including query401 after valid ingest and no publication on401/503/unexpected statuses/root-slot/malformed inputs. Current complete nonwriting checks:88TS,79unit tests/243expect, format0. Native Grafana/Bao/alert transitions and teacher/grade5 acceptance remain false.
|
||||
|
||||
## Historical accepted pre-OpenObserve checkpoint
|
||||
|
||||
## Current checked generation
|
||||
|
||||
BACKEND-READY checkedAt2026-11-15T19:04:33.200Z contains109main+3freshness=112files, rawSHA25609fe19253582282e489406600f3ee20c1e52d786778d6ce90f9d9da4146e5609. All112 hashes were verified before/after transfer and pinned through native Go1.27.2 compile/image packing/runtime acceptance. The cached runtime image is an immutable VP7-only alias of the existing VP5 runtime; installed app/worker/SDK hashes are in evidence/preflight/checked112-build.json. No image pulls occurred.
|
||||
|
||||
Current112 defined cached preflight HCt7f finished/exit0, followed by finalization HCt7g finished/exit0. Exact receipts: evidence/preflight/checked112-source.json, checked112-build.json, summary.json and finalization.json. Summary accepted_generation binds initial source text/hash and build/binary hashes. The provider is explicitly scoped operator files + heartbeat, not OpenBao. NativeBao/telemetry/grade5 flags remain false.
|
||||
|
||||
## Historical cached security checks
|
||||
|
||||
- Public HTTPS smoke/security PASS with verified CA/hostname; both required replicas ready and actual published loopback ingress observed.
|
||||
- Native PostgreSQL18.6 query through HAProxy ALPNpostgresql: worker, ssltrue, TLSv1.3, CNworker. WrongCA/name, role impersonation and cross-container plaintext denied. This is native certificate auth; operator retains directTLS+SCRAM. Do not call the app query a SCRAM success.
|
||||
- Current112 SQL migration6 and real upload persisted accepted_at/first_ready_at: one ready row with current facts, zero ready missing first fact, zero negative duration, four legacy ready rows retained unknown. SQL/result are evidence/security/current112-slo-query.sql and current112-slo-facts.json.
|
||||
- Core mTLS matrix PASS on API1/API2/broker/S3: no client/foreignCA/same-CA wrongrole/wronghostname/foreigntrust denied with positive controls before/after. Native worker SQL/S3/queue allow/deny passed. Actual expired/future LB leaf rejected and original verifiedHTTPS restored without rebuild.
|
||||
- Default120s freshness heartbeat stopped; fixed failure event plus exit/restart observed API1 122.453s/API2 124.965s/worker126.351s, including sampling/drain. Recoveryready followed by all3 actualstop1.521s<15s. No hung-filesystem wall-clock guarantee and no nativeBao seal claim.
|
||||
- Owned stand teardown verified remainingcontainers0. Private bind data, failed state archives and test key remain for addressed cleanup; they are excluded from Git/build/ZIP.
|
||||
- Native Bun1.4.4 strict65files, unit24tests/77assertions and non-writing formatter PASS. Native Go/Bun formatting and exact offline binary build completed in HCt7d finished/exit0. Safe receipts are evidence/security/source-checks.json and source-*.txt.
|
||||
- Native HAProxy3.2.26 parsed all11 configurations including TempoALPNh2. Native HTTP2TLS fixture accepted an empty OTLP Export and rejected grpc-status7; evidence/security/grpc-http2-fixture.txt and final source-unit.txt. This is not nativeTempo acceptance.
|
||||
- Native Valkey9.1.2 pending-entry XAUTOCLAIM and producer/consumer ACL fixture PASS1test/7assertions, including workerXADD/publisher-consume denial. Source guards/OpenSSL and KVv2/multi-network regressions remain documented in their original evidence.
|
||||
- Backend owner measured KDF budget separately: ARGON-BUDGET.md and raw lab7-argon-budget.txt. It does not establish full HTTPDoS resistance.
|
||||
|
||||
## Independent review and historical evidence
|
||||
|
||||
Included byte-identical reviews: evidence/reviews/review-vp7-infra.md (original119source snapshot), review-freshness.md (independent Go1.27.4 darwin/arm64; author LinuxGo1.26.9 and owner LinuxGo1.27.2 scopes separate), and review-vp7-checkpoint-helpers.md (targeted final fourP2 closure). The helper supplement SHA is503f5b2c4f45da8fcd04468186cfc04fe97131f51ddf426672d8b51ea0c7ba37. Frozen12helper paths matched native/Mac twice, evidence/security/helper-fix-freeze.sha256.
|
||||
|
||||
The four corrected helpers preserve primary failures despite diagnostic I/O errors, use exclusive immutable accepted-history snapshots, verify ZIP against the FIRST source map/exact manifest bytes, and pin the initial handover/source lease through every build phase. Actual independent fake-boundary regressions and author8tests/25assertions passed without live side effects. No broad audit was added.
|
||||
|
||||
Old102 raw source/ready remain privately under .local-source102; old public receipts are retained under evidence/history102 and immutable checked102-* files. Old ZIP1841ce0dba846b19d854e6b95b46da2efed2c035ec6e821aef03d3f2f837552b is historical and was not overwritten or relabeled current112. Original37public files match HEAD; only allowed student templates/ignore files changed. A new source checkpoint must independently verify its manifest, entryset, every extracted byte,25config bind sources and CRC. Final ZIP closure belongs in excluded submission receipts, without changing frozen packaged source.
|
||||
|
||||
## Historical unverified gates at the pre-OpenObserve checkpoint
|
||||
|
||||
Full native OpenBao non-dev init/unseal/cert-auth/Agent render+renew/token expiry/seal/rotation remains gated by absent images and pending download permission. Full telemetry storage/Collector/Grafana live names/labels/correlation and extended matrix, dependency/image scan triage, complete source/image/log/telemetry leak audit, full HTTPS persistence/both-replica failure through the nativeBao stand, and grade5 worker revoke/rotate/recovery are unverified. Canonical Dockerfile build remains separate from cached runtime.
|
||||
|
||||
Target is full level4 plus original grade5 track1; no level3/4/5 completion, awarded grade, teacher acceptance or publication is claimed. Current112 cached checkpoint is tested and stopped. No new probes are planned before final source packaging and independent ZIP-only readback.
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"scope": "cached",
|
||||
"actual_listener": "verified published loopback LB TLS binding; native HAProxy master-worker reload",
|
||||
"outcomes": [
|
||||
{
|
||||
"mode": "expired",
|
||||
"code": "CERT_HAS_EXPIRED"
|
||||
},
|
||||
{
|
||||
"mode": "future",
|
||||
"code": "CERT_NOT_YET_VALID"
|
||||
}
|
||||
],
|
||||
"restored_verified_https": true,
|
||||
"image_rebuild": false
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"scope": "checked7 source, cached VP5 runtime only; no Bao/telemetry acceptance",
|
||||
"module_fetch": "GOPROXY=off GOSUMDB=off GOFLAGS=-mod=readonly; existing native cache",
|
||||
"image_build_network": "none",
|
||||
"source_files_verified": 102,
|
||||
"images": {
|
||||
"runtime": {
|
||||
"source": "mtuci-vp5:local",
|
||||
"id": "sha256:22d0a63d522e7a322c7ea0a0319be7cb1f303089bc1ab1c26e1238da36f06050",
|
||||
"alias": "mtuci-vp7-preflight-runtime:22d0a63d522e7a32"
|
||||
}
|
||||
},
|
||||
"compiler": "go version go1.27.2 linux/amd64",
|
||||
"binaries": {
|
||||
"app": "fc49dc6e4378471fb7feb61006c59cdf75009bf46d07a91a5e1f8684e6397236",
|
||||
"worker": "6b338fb2c2037a35e55faf3a1f8545cd00775fd9ddb21be372e474af23d51c5a",
|
||||
"s3-control": "36147911c3fb641863611ad68f037f4190740575b149291e1b611326dbe9cd8f"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"checkedAt": "2026-11-15T17:47:34.608880+00:00",
|
||||
"validationScope": "Go1.27.2 Linux source/unit/race/lint/static build + isolated real PostgreSQL and native Valkey ACL integration",
|
||||
"runtimeTelemetry": false,
|
||||
"runtimeSecurity": false,
|
||||
"productionFreshnessStop": "API and worker production entrypoints passed on lab5 real dependency stand; OpenBao seal/rotation remains separate",
|
||||
"commands": [
|
||||
"go generate ./internal/adapter/repository/postgres ./internal/adapter/handler",
|
||||
"go test -race ./...",
|
||||
"go tool golangci-lint run ./...",
|
||||
"CGO_ENABLED=0 go build -o ../lab7-app-check ./cmd/app",
|
||||
"CGO_ENABLED=0 go build -o ../lab7-worker-check ./cmd/worker",
|
||||
"test -z \"$(gofmt -l .)\"",
|
||||
"RUN_SECURITY_DB_TESTS=1 /security-db.test -test.v -test.run ^TestSharedLoginLimitAndRehashCASInRealPostgres$"
|
||||
],
|
||||
"source": "lab7 final broker identity split + concurrent rehash + audit + lifecycle",
|
||||
"files": {
|
||||
"go.mod": "b0e80ef1c70d6f3ed506383cbf358c644d299d8e84e44bd166c24fdc7063039f",
|
||||
"go.sum": "d8f0a6a0b68268ac02e58c0232ec13c6a12d8bc3c3d9a4a148806566d8d02fca",
|
||||
"codegen.yaml": "e4d37ce5c5a9f969f696833cd59a6e1b86f99fb2b0de69101a1aa5f4a539aebe",
|
||||
".golangci.yaml": "215578dee14bcef1b66759a68543083e0a624611efcdb785197307b50cb7725d",
|
||||
"generator-overlay.yaml": "e666da2959b31befed713a8366237de53070a565f93850d6daae7a582a038819",
|
||||
"cmd/app/main.go": "9b0607b63978740131fa72fe03e896de895d597eafac7f46dd5b5d173a346f34",
|
||||
"cmd/worker/main.go": "43c0ae3faeb035d5c70ec25286e68f39f885bd9e51c18f59fa0b93d0f351120f",
|
||||
"integration/object_metadata_test.go": "598e973575d57c6ee563f0b15d0111d37b27de6774c6f486c998dbc70594f15d",
|
||||
"internal/config/config.go": "58795b18980c4dd938c73721ab937d06410af94edc156b7a7aa9b2c4c2388238",
|
||||
"internal/config/config_test.go": "390e3b5a4682719a0b25a8eb9aefeda9a9d1c774d3f8d1f08062c79a58d8859a",
|
||||
"internal/adapter/handler/handler.go": "1a99601365ed52aa36f5ef2b6be4dc760e28e1ad5cc38eb6790d69c5559751ce",
|
||||
"internal/adapter/handler/auth.go": "3889f58ac4c58b798192776ea05455d52735a2c024ba664ab9af5eb405187557",
|
||||
"internal/adapter/handler/api.gen.go": "4034501f5c661c87af3b81d0d1ecb9996050828569bea7e85b3604a2a8c8bdbe",
|
||||
"internal/adapter/handler/utf8_test.go": "eac6a14b5f3b0ea9aa5329337afc6db27e17f5c17999874da9ce3592dc7a4205",
|
||||
"internal/adapter/handler/message_json_test.go": "8dd976c4cad81ee531c76165787b2c8b6052057d934ae4b09b60d8a261cf30e5",
|
||||
"internal/adapter/handler/gate_test.go": "f7938bdeb5617ed3611303c54818000de9861dde5915fa2c6fa0f74e1fa33268",
|
||||
"internal/adapter/handler/stats.go": "5cd375e5a0db8cc3596293d323e635b86fef22d8ec680f310ab5a460f8176f64",
|
||||
"internal/adapter/handler/gate.go": "b662058ebc59010f30d21da12404837aa2329fe5e5590761efdd9140c1d24e9c",
|
||||
"internal/adapter/handler/api.go": "9d9f109e13c9322287b29ed18e7913e0e8d5a9ef2dc4be23f10c7686de3f70fe",
|
||||
"internal/adapter/handler/attachments.go": "608827653c4d3e4252dff863d30007e93b1bf82579bbe71d8b647bf22128b1b2",
|
||||
"internal/adapter/handler/middleware.go": "41ce83f0b7eaf25aecdbeb99d5292066f25e2043e08c0f681db2cfc80c01c528",
|
||||
"internal/adapter/handler/json.go": "d6458b8e8e4426816ec8c855ff6c8d88a151161bc1560e4b98df0ea4b0dbf6be",
|
||||
"internal/adapter/handler/errors.go": "d8eedca0f42718525ed81c2ace576a99b0a4a890f717c46215705798932c13a3",
|
||||
"internal/adapter/repository/postgres/pipeline_integration_test.go": "58274475a02f1098a0f79a65a9e8d7608d05dfa26213f90c706a9239fabb586c",
|
||||
"internal/adapter/repository/postgres/observability.go": "11a84fcff5e3ffa910d10966096cb5891e92563dd2cd66368da532fc3cbbabf0",
|
||||
"internal/adapter/repository/postgres/security.go": "1c5fd2e788b0b74040f87da666b73b7632df76d25daebc64020a33840ace0a29",
|
||||
"internal/adapter/repository/postgres/security_integration_test.go": "bc5e6cc1824e8547d3f5fe0897ed5efa1557437cd2542301216256319401ee2c",
|
||||
"internal/adapter/repository/postgres/pipeline.go": "9a367d7a50a9418e96851c253f61ace4a54753044e7fa672c73a3b4526a22245",
|
||||
"internal/adapter/repository/postgres/attachments.go": "88f8b8744d95407421eafc111ecc83bcb4b145f1683618d69cac19a8d1c39500",
|
||||
"internal/adapter/repository/postgres/repository.go": "e380d7c0c52a2447653db9e4d13db432f4c1330e3205a0396510d957441bb978",
|
||||
"internal/adapter/repository/postgres/queries/models.go": "a128a1c4c34ebf85e8f5bd171bbd9b96c769bac9114ab0607970beae8f0fdf53",
|
||||
"internal/adapter/repository/postgres/queries/core.sql.go": "9a0e082263cbea39535de9c7c72c41a39a551efc9ee57fdd7b08856831d074b3",
|
||||
"internal/adapter/repository/postgres/queries/db.go": "4863732830879d4162be215ff245375b953359de23bcd821ed7abc5c32a36c0f",
|
||||
"internal/adapter/repository/postgres/queries/attachments.sql.go": "ccbdaac42ee599d318eae05bb6e0b3580e43c7437ce2cbc9268aa27068460213",
|
||||
"internal/adapter/repository/postgres/queries/idempotency.sql.go": "cf6fbc316e93339e0f938c7ca82007e29c3e32f1a21ee1433a2ce8784697f002",
|
||||
"internal/adapter/repository/postgres/queries/pipeline.sql.go": "82c3e339f3aae0b9e12f05eb299e615d6f293bbb88fb8139b36a20de5fe6b395",
|
||||
"internal/adapter/repository/postgres/queries/observability.sql.go": "a3af883ad89c08a45d325833169bb516da4c78e3d0c9bed1983b07b5b93923e7",
|
||||
"internal/adapter/repository/postgres/queries/security.sql.go": "bd3c3b6205b8ec955e27c6f0f3ef9b23364533920b5290bc566cd458bceeeca2",
|
||||
"internal/adapter/password/argon_test.go": "ce3d120d41c4f1e4f2c944289cd6852cfaca29ec11ab5e3ff9d0748036344b59",
|
||||
"internal/adapter/password/argon.go": "30fef7f8624019544262acfb7f1694a4003791e6d3a9acc7c7c7576aac73b0f3",
|
||||
"internal/adapter/password/argon_benchmark_test.go": "8d2b8fd14132c35ccd5b8008af9c8c088c84a1015fa36b252e1d5fce91bc581d",
|
||||
"internal/adapter/lifecycle/environment.go": "d897867f594dca3c79acd3bd3979e0d15bacb588415d8b3d794ec34d2317181c",
|
||||
"internal/adapter/lifecycle/lifecycle.go": "de660d859305e47c36c4d7671d0354e1c027a7cda7ba84639bdec4e9bbbaf9a5",
|
||||
"internal/adapter/lifecycle/lifecycle_test.go": "d398eb9075654cfd4eb23edafa3bb3c741a822b315ef0d3e9d710b3a0d6d17e9",
|
||||
"internal/adapter/storage/bootstrap.go": "44c8f422826b29f85a918029bb71a62cd3018190f8efe889cbeee63d19d7039e",
|
||||
"internal/adapter/storage/readiness_test.go": "a6c79cba7af74ce67e69678085e5bb267a47f9dd7be57daf003ba03951274a5c",
|
||||
"internal/adapter/storage/s3.go": "99a717604c71da5c181bef74612a603abe3cfc913ccb3da84ed581a57a11ccd8",
|
||||
"internal/adapter/imagefile/variants.go": "50762d1e2af635c9a9344d2721ee145bb9d9d43408f680fc280cdd493aeef886",
|
||||
"internal/adapter/imagefile/variants_integration_test.go": "d25e3371432128e58073ff61e1b87fa741bc32ee7d9bc6e8cb40ae3f3a5b4434",
|
||||
"internal/adapter/imagefile/stress_test.go": "3d7b0671f57ce5e01fa7e175a86c16a51d56d8f11ec6d3bfb09b2c8bfe8c04d8",
|
||||
"internal/adapter/imagefile/variants_test.go": "79c24a3d5c0cb339a32fdea28eb56689703f35ad3c668c464ea7a4f5e82322e5",
|
||||
"internal/adapter/imagefile/image_test.go": "a2dc0d3797a5c2ac7ad46a7453a34ea13aba94c3385d2692032705610026dc71",
|
||||
"internal/adapter/imagefile/image.go": "8a9b399b22573992fd7fd4c87096f953b46c1bc7cad4e09c023923919d755375",
|
||||
"internal/adapter/queue/identities_test.go": "0ec224f6524ffcaf7710605a560ae17b06a294b3d4e4a96ac50a59cb86e37917",
|
||||
"internal/adapter/queue/streams.go": "9d0f1068b8c28d30606c53593d0d183d6627d9c31688e2061a74c4c44a5b8bc1",
|
||||
"internal/adapter/queue/clients.go": "c0b253da9110b9fcb7599277e197da9ab009d3813a5b88d290e48f36a2bd053c",
|
||||
"internal/adapter/queue/identities_integration_test.go": "d7c3171d8420ea705d0a0d7aef9f275b5355f484e89439cb0b450112d1f3924e",
|
||||
"internal/adapter/telemetry/telemetry.go": "16e21c5fc2dd06546e645f284b85e203d83da580b4fb2d5542bfcfd7f076f508",
|
||||
"internal/adapter/telemetry/gauges.go": "80d5dcdacc1730a545a36014a1c44b049b64e9be84deb24640a108eff3c711ed",
|
||||
"internal/adapter/telemetry/dependencies.go": "636ed9dcd5ec19833944de7ccacc241457c967a6fac19bb91e646fb2b12b78db",
|
||||
"internal/application/usecase/auth_security_test.go": "642b594d94965e2ed76cfb5eefa67ed620a4c372f70d0c1230690c3a318de61f",
|
||||
"internal/application/usecase/pipeline_retry_test.go": "6068c07fdaa61fdb0bb0b73bd2094aacdec7a10ff2db1ebd64decb3288f2de5c",
|
||||
"internal/application/usecase/auth.go": "8935ab9bbe126e7edf12f0a16e0b7b95f5f360e7b48a7ce547e82e659c07cd5f",
|
||||
"internal/application/usecase/messenger.go": "c58aba0d3f5d0ab92fab5d2771b90a3af5ad06e6afe0c7cc46f481a429e89f48",
|
||||
"internal/application/usecase/pipeline.go": "9b2cfb652a43681bb8d352a09c914bcd9d80a78f4348b6a113cb9be214f85498",
|
||||
"internal/application/usecase/attachments.go": "0c835f88c72b90753b5458960f7b345e6e51b964070ce37eaae129a4c296b0ca",
|
||||
"internal/application/usecase/reconcile_pipeline_test.go": "75e1fb5fcc5ffb2188a2368688e5505a4bf54453c2800b5e46c8e9e23de89b7c",
|
||||
"internal/application/usecase/reconcile_test.go": "fdbcfad86851fc97a3cf635b6d884c41b43084eedc42b3c4847790c5eaad4a6f",
|
||||
"internal/application/usecase/reconcile.go": "239edee16f767dd16b116791900994540a8f99ae3403fd0308f5e2c0797a892d",
|
||||
"internal/domain/repository/repository.go": "0008747c69b32df9e4b7f36fd1ac157dee537d5e1e415bd48bd55b0b05852362",
|
||||
"internal/domain/model/model_test.go": "77bb8767ac1352bd3551e724eaaeaad4fe93eae248cc8c3008ee8b1c08adddca",
|
||||
"internal/domain/model/user.go": "c20c8b8d8a9c0327a3a24afd74f3051d78caed1d2f0851baf340ef61ac502a92",
|
||||
"internal/domain/model/trace.go": "9ff395bce67142f6808fa7c652e50db2a68cf4e34c128fb04af408566a14220a",
|
||||
"internal/domain/model/page.go": "cd6a07579bff01aa0d8a11b34fd000a804142b321cef302d386bdb95e9c7f953",
|
||||
"internal/domain/model/message.go": "0e0126663d2de04c9d14c8c7427f42a9fb733e3b170ceee7ed86c2138f51b23c",
|
||||
"internal/domain/model/postgres_text_test.go": "8c245eef99a97261daf0aa16fec9edd7bcd3253ec4144c50b4f8e56e45e2186e",
|
||||
"internal/domain/model/job.go": "4fe11ef63d4c0ac842ac3992cc65f5ce164d8813e9e7323207af4bf54558b45f",
|
||||
"internal/domain/model/text.go": "c9410cacd9d1b2fd7f3f2cb7e4112e637ecc494f6e4b6da649f936ce0c9a0457",
|
||||
"internal/domain/model/attachment.go": "e532f2c8e8c123d0fda6101bff4b21168527a0a446e53f566f5e5919b972133b",
|
||||
"internal/domain/model/chat.go": "3f7454f48ef442c277fd2741ce5aeeccf03d590bd2d31b9b89fa39f0ba05de7f",
|
||||
"internal/domain/model/errors.go": "e0a6322f36b3a8ef7b75f70294fedeb3ad70e37ba63d7325bb1bde8ad332d4a6",
|
||||
"internal/domain/port/auth.go": "0087a19007cce3e90bddce4d24909217820993fb4b6ce125f3c6d9da4d86763a",
|
||||
"internal/domain/port/pipeline.go": "5fe7c6909cbaf6a21a4be5d9ed0c2b1551681894d0054463cdba13ea09c21aac",
|
||||
"internal/domain/port/objects.go": "4d22b5ef5ff6fa13404884c160fe52bd7cef4099f84b29268137c27034a0f3ec",
|
||||
"db/migrate.go": "33044d905354f24fff194fefd35ee9327d63d6e5062ded8496e518b6ce38dbea",
|
||||
"db/migrations/00003_attachments.sql": "6b4f707dde32f0c3f531741c108bcf0f22be05c9e2ede327f27a1d9ef0cfcc7f",
|
||||
"db/migrations/00001_core.sql": "b6bd8c70d51aed6c966e07eebffd262af2e694c8b3479c70bbf9a9eacf5a7aad",
|
||||
"db/migrations/00005_replay_audit.sql": "234a04177bca08621fa38b135cb8086bcdd55ae9084008b25814751e1dd742a4",
|
||||
"db/migrations/00002_idempotency.sql": "97c98785547db8391c1fa0a685e4d4bcc810b8f79055c0e2fc6ef473cd38b37b",
|
||||
"db/migrations/00004_login_limits.sql": "6be837dee2d6c2d1dd80c6b6324e52001c0913160ef0532852410266d1f4af8b",
|
||||
"db/sqlc/sqlc.yaml": "803b161e063692398c93152b11a08f9e42e1bf3c72a1e64553b82c494545fd10",
|
||||
"db/sqlc/queries/idempotency.sql": "5bdec86e85705f7805fb603e2c792bb87c11cf3156952fa48e7bcee35fd683ca",
|
||||
"db/sqlc/queries/pipeline.sql": "6c5fa5356024da6e70b7e3116a0765e2865342d7ca474caa4f647c04e4fb9cf4",
|
||||
"db/sqlc/queries/security.sql": "43456c3cc7c586e854c8f98a7aa9c4a9fdd0dfc07b113e04c33af6174dc3d454",
|
||||
"db/sqlc/queries/core.sql": "1aed3d0d2fc04650351d86d15837cf3239636844727e799aabf5ddd534429f33",
|
||||
"db/sqlc/queries/observability.sql": "0378fcb25c62a1d844f8b71bffb50596ee213d698755ae5be8a2e307c0d1381d",
|
||||
"db/sqlc/queries/attachments.sql": "8e64f0e6169fab7664b0f4a97f2be353553b93c0c928d10678cb930e44de37da",
|
||||
"pkg/logger/logger.go": "d839f31015eee692065c31d2538a4cb4c841b0d89e690f0ab8baf80168510556",
|
||||
"pkg/server/server.go": "3ce957e4e45a94453610217007a9dbf0e8b9723346ff9cc8a3e5aa8ff3676527"
|
||||
},
|
||||
"preservedFreshness": {
|
||||
"internal/adapter/freshness/freshness.go": "551a4d8d3780598fa363edd3fcd4cd4bb6450ce52846a4257aeea1bf4bb0a978",
|
||||
"internal/adapter/freshness/file_test.go": "00069226fad9fa5f6ba3a4e3e679d5e7122ce1cbed137a5d71da82bfe190e5ad",
|
||||
"internal/adapter/freshness/freshness_test.go": "85b5354f7935e3767f93ee000e0a00cce7f92d381abe5561c41e77807b7609fb"
|
||||
},
|
||||
"brokerIdentity": "BROKER_PUBLISH_URL_FILE required, separate nonempty ACL usernames; publisher XADD, consumer XACK/XDEL. Real Valkey cross-role commands rejected NOPERM. Full TLS security stack acceptance remains separate.",
|
||||
"argonBenchmark": "ARGON-BUDGET.md: three profiles game-running exit1, one CPU, current-profile verification"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"new_sdk_bootstrap_receipt_complete": true,
|
||||
"owned_containers_remaining": 0,
|
||||
"bind_data_retained": true,
|
||||
"private_test_key_retained_for_addressed_cleanup": true,
|
||||
"native_bao_accepted": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"provider": "explicit operator heartbeat stopped; not OpenBao seal",
|
||||
"max_age_seconds": 120,
|
||||
"poll_seconds": 5,
|
||||
"observed": {
|
||||
"worker": {
|
||||
"event": "secret_freshness_failed",
|
||||
"seconds": 121.303
|
||||
},
|
||||
"api1": {
|
||||
"event": "secret_freshness_failed",
|
||||
"seconds": 124.994
|
||||
},
|
||||
"api2": {
|
||||
"event": "secret_freshness_failed",
|
||||
"seconds": 128.023
|
||||
}
|
||||
},
|
||||
"limit": "measured local filesystem and scheduling only; no hung-filesystem wall-clock guarantee"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/security.py --base-url "https://localhost:18443" --ca-file "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/pki/lb/ca.crt"
|
||||
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "https://localhost:18443" --ca-file "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/pki/lb/ca.crt"
|
||||
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"state": "PASS",
|
||||
"provider": "operator scoped files + explicit heartbeat (not OpenBao)",
|
||||
"pulls": false,
|
||||
"https_api_pipeline": true,
|
||||
"core_mtls": true,
|
||||
"least_privilege": true,
|
||||
"certificate_lifetime": true,
|
||||
"stop_seconds": 1.857,
|
||||
"openbao_acceptance": false,
|
||||
"telemetry_acceptance": false,
|
||||
"grade5_acceptance": false
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"scope": "cached",
|
||||
"results": [
|
||||
{
|
||||
"service": "api1-gateway",
|
||||
"port": 8443,
|
||||
"permitted_role": "lb",
|
||||
"missing_client": "ERR_SSL_TLSV1_ALERT_CERTIFICATE_REQUIRED",
|
||||
"foreign_client": "ERR_SSL_TLSV1_ALERT_UNKNOWN_CA",
|
||||
"wrong_role": "ROLE_CLOSED_BEFORE_APPLICATION_RESPONSE",
|
||||
"wrong_hostname": "ERR_TLS_CERT_ALTNAME_INVALID",
|
||||
"foreign_trust": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
|
||||
},
|
||||
{
|
||||
"service": "api2-gateway",
|
||||
"port": 8443,
|
||||
"permitted_role": "lb",
|
||||
"missing_client": "ERR_SSL_TLSV1_ALERT_CERTIFICATE_REQUIRED",
|
||||
"foreign_client": "ERR_SSL_TLSV1_ALERT_UNKNOWN_CA",
|
||||
"wrong_role": "ROLE_CLOSED_BEFORE_APPLICATION_RESPONSE",
|
||||
"wrong_hostname": "ERR_TLS_CERT_ALTNAME_INVALID",
|
||||
"foreign_trust": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
|
||||
},
|
||||
{
|
||||
"service": "broker-gateway",
|
||||
"port": 6379,
|
||||
"permitted_role": "api",
|
||||
"missing_client": "ERR_SSL_TLSV1_ALERT_CERTIFICATE_REQUIRED",
|
||||
"foreign_client": "ERR_SSL_TLSV1_ALERT_UNKNOWN_CA",
|
||||
"wrong_role": "ROLE_CLOSED_BEFORE_APPLICATION_RESPONSE",
|
||||
"wrong_hostname": "ERR_TLS_CERT_ALTNAME_INVALID",
|
||||
"foreign_trust": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
|
||||
},
|
||||
{
|
||||
"service": "s3-gateway",
|
||||
"port": 9000,
|
||||
"permitted_role": "worker",
|
||||
"missing_client": "ERR_SSL_TLSV1_ALERT_CERTIFICATE_REQUIRED",
|
||||
"foreign_client": "ERR_SSL_TLSV1_ALERT_UNKNOWN_CA",
|
||||
"wrong_role": "ROLE_CLOSED_BEFORE_APPLICATION_RESPONSE",
|
||||
"wrong_hostname": "ERR_TLS_CERT_ALTNAME_INVALID",
|
||||
"foreign_trust": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
|
||||
}
|
||||
],
|
||||
"positive_controls": "before and after every negative set",
|
||||
"timeouts_counted_as_denial": false
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"runtime":"Go1.26.9 linux/amd64, existing golang1.26 image, networknone, background.slice","red":{"command":"go test -race -v .","entrypoint":"explicit fake-port New factory; Check/Run stub","exit_code":1,"top_level_tests_failed":6},"green":{"command":"go test -race -v .","exit_code":0,"top_level_tests_passed":10,"timestamp_subcases_passed":9,"elapsed_seconds":1.013},"scope":"backend/internal/adapter/freshness only; production shutdown wiring belongs to root VP owner","covered":["startup now/boundary/stale/future/empty/malformed/oversize/extra/trim","I/O safe error","later expiry and ticker stop","later read failure","cancellation","factory timing/ports","closed ticker","bounded real file","symlink and directory denial"]}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"native": "HAProxy3.2.26 cached pinned digest",
|
||||
"scope": "configuration parser only, not upstream/runtime acceptance",
|
||||
"results": [
|
||||
{
|
||||
"service": "lb",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "api1-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "api2-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "worker-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "broker-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "s3-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "collector-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "prometheus-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "loki-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "tempo-gateway",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"service": "grafana-gateway",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"runtime":"Bun1.4.4 omarchy background.slice","red":{"fixture":"native HTTP JSON KVv2 envelope, correct API+worker roles","old_reader":"result.data.data (one level too shallow)","passed":2,"failed":3,"error":"BAO_MISSING_ROLE_SECRETS on valid nested payload"},"green":{"passed":5,"failed":0,"assertions":9,"checks":["native API envelope","native worker envelope including publisher identity","missing nesting and required fields","wrong role","metadata version and denied HTTP status"]},"scope":"offline parser regression; native OpenBao service acceptance remains pending"}
|
||||
@@ -0,0 +1,14 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [527.79ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.21ms]
|
||||
(pass) client role requires exact allowlist membership [0.11ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.13ms]
|
||||
|
||||
4 pass
|
||||
0 fail
|
||||
22 expect() calls
|
||||
Ran 4 tests across 2 files. [582.00ms]
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"service": "PostgreSQL18.6",
|
||||
"direct_tls": "HAProxy ALPN postgresql, verifyhost postgres",
|
||||
"actual_query": {
|
||||
"role": "worker",
|
||||
"tls": true,
|
||||
"protocol": "TLSv1.3",
|
||||
"identity": "/CN=worker"
|
||||
},
|
||||
"wrong_hostname": "ERR_TLS_CERT_ALTNAME_INVALID",
|
||||
"wrong_ca": "SELF_SIGNED_CERT_IN_CHAIN",
|
||||
"plaintext": "pg_hba.conf rejects connection",
|
||||
"different_database_role": "certificate authentication failed"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"scope": "checked7 source, cached VP5 runtime only; no Bao/telemetry acceptance",
|
||||
"module_fetch": "GOPROXY=off GOSUMDB=off GOFLAGS=-mod=readonly; existing native cache",
|
||||
"image_build_network": "none",
|
||||
"source_files_verified": 102,
|
||||
"backend_checked_at": "2026-11-15T17:47:34.608880+00:00",
|
||||
"source_handover_sha256": "10059628e1281cbc18adc931b8a0fb8ccbf774c1cd4223d825d28f08c4e43201",
|
||||
"s3_control_source_sha256": "29cde9404b161e9fec2d43ff6a9e2ddf21af480ea76c887daf7403848983c40f",
|
||||
"images": {
|
||||
"runtime": {
|
||||
"source": "mtuci-vp5:local",
|
||||
"id": "sha256:22d0a63d522e7a322c7ea0a0319be7cb1f303089bc1ab1c26e1238da36f06050",
|
||||
"alias": "mtuci-vp7-preflight-runtime:22d0a63d522e7a32"
|
||||
}
|
||||
},
|
||||
"compiler": "go version go1.27.2 linux/amd64",
|
||||
"binaries": {
|
||||
"app": "fc49dc6e4378471fb7feb61006c59cdf75009bf46d07a91a5e1f8684e6397236",
|
||||
"worker": "6b338fb2c2037a35e55faf3a1f8545cd00775fd9ddb21be372e474af23d51c5a",
|
||||
"s3-control": "5c6ad096222ade5452574a43c9343ae91dd4d596104f68dac02b15bd6c8837a3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"checkedAt": "2026-11-15T17:47:34.608880+00:00",
|
||||
"validationScope": "Go1.27.2 Linux source/unit/race/lint/static build + isolated real PostgreSQL and native Valkey ACL integration",
|
||||
"runtimeTelemetry": false,
|
||||
"runtimeSecurity": false,
|
||||
"productionFreshnessStop": "API and worker production entrypoints passed on lab5 real dependency stand; OpenBao seal/rotation remains separate",
|
||||
"commands": [
|
||||
"go generate ./internal/adapter/repository/postgres ./internal/adapter/handler",
|
||||
"go test -race ./...",
|
||||
"go tool golangci-lint run ./...",
|
||||
"CGO_ENABLED=0 go build -o ../lab7-app-check ./cmd/app",
|
||||
"CGO_ENABLED=0 go build -o ../lab7-worker-check ./cmd/worker",
|
||||
"test -z \"$(gofmt -l .)\"",
|
||||
"RUN_SECURITY_DB_TESTS=1 /security-db.test -test.v -test.run ^TestSharedLoginLimitAndRehashCASInRealPostgres$"
|
||||
],
|
||||
"source": "lab7 final broker identity split + concurrent rehash + audit + lifecycle",
|
||||
"files": {
|
||||
"go.mod": "b0e80ef1c70d6f3ed506383cbf358c644d299d8e84e44bd166c24fdc7063039f",
|
||||
"go.sum": "d8f0a6a0b68268ac02e58c0232ec13c6a12d8bc3c3d9a4a148806566d8d02fca",
|
||||
"codegen.yaml": "e4d37ce5c5a9f969f696833cd59a6e1b86f99fb2b0de69101a1aa5f4a539aebe",
|
||||
".golangci.yaml": "215578dee14bcef1b66759a68543083e0a624611efcdb785197307b50cb7725d",
|
||||
"generator-overlay.yaml": "e666da2959b31befed713a8366237de53070a565f93850d6daae7a582a038819",
|
||||
"cmd/app/main.go": "9b0607b63978740131fa72fe03e896de895d597eafac7f46dd5b5d173a346f34",
|
||||
"cmd/worker/main.go": "43c0ae3faeb035d5c70ec25286e68f39f885bd9e51c18f59fa0b93d0f351120f",
|
||||
"integration/object_metadata_test.go": "598e973575d57c6ee563f0b15d0111d37b27de6774c6f486c998dbc70594f15d",
|
||||
"internal/config/config.go": "58795b18980c4dd938c73721ab937d06410af94edc156b7a7aa9b2c4c2388238",
|
||||
"internal/config/config_test.go": "390e3b5a4682719a0b25a8eb9aefeda9a9d1c774d3f8d1f08062c79a58d8859a",
|
||||
"internal/adapter/handler/handler.go": "1a99601365ed52aa36f5ef2b6be4dc760e28e1ad5cc38eb6790d69c5559751ce",
|
||||
"internal/adapter/handler/auth.go": "3889f58ac4c58b798192776ea05455d52735a2c024ba664ab9af5eb405187557",
|
||||
"internal/adapter/handler/api.gen.go": "4034501f5c661c87af3b81d0d1ecb9996050828569bea7e85b3604a2a8c8bdbe",
|
||||
"internal/adapter/handler/utf8_test.go": "eac6a14b5f3b0ea9aa5329337afc6db27e17f5c17999874da9ce3592dc7a4205",
|
||||
"internal/adapter/handler/message_json_test.go": "8dd976c4cad81ee531c76165787b2c8b6052057d934ae4b09b60d8a261cf30e5",
|
||||
"internal/adapter/handler/gate_test.go": "f7938bdeb5617ed3611303c54818000de9861dde5915fa2c6fa0f74e1fa33268",
|
||||
"internal/adapter/handler/stats.go": "5cd375e5a0db8cc3596293d323e635b86fef22d8ec680f310ab5a460f8176f64",
|
||||
"internal/adapter/handler/gate.go": "b662058ebc59010f30d21da12404837aa2329fe5e5590761efdd9140c1d24e9c",
|
||||
"internal/adapter/handler/api.go": "9d9f109e13c9322287b29ed18e7913e0e8d5a9ef2dc4be23f10c7686de3f70fe",
|
||||
"internal/adapter/handler/attachments.go": "608827653c4d3e4252dff863d30007e93b1bf82579bbe71d8b647bf22128b1b2",
|
||||
"internal/adapter/handler/middleware.go": "41ce83f0b7eaf25aecdbeb99d5292066f25e2043e08c0f681db2cfc80c01c528",
|
||||
"internal/adapter/handler/json.go": "d6458b8e8e4426816ec8c855ff6c8d88a151161bc1560e4b98df0ea4b0dbf6be",
|
||||
"internal/adapter/handler/errors.go": "d8eedca0f42718525ed81c2ace576a99b0a4a890f717c46215705798932c13a3",
|
||||
"internal/adapter/repository/postgres/pipeline_integration_test.go": "58274475a02f1098a0f79a65a9e8d7608d05dfa26213f90c706a9239fabb586c",
|
||||
"internal/adapter/repository/postgres/observability.go": "11a84fcff5e3ffa910d10966096cb5891e92563dd2cd66368da532fc3cbbabf0",
|
||||
"internal/adapter/repository/postgres/security.go": "1c5fd2e788b0b74040f87da666b73b7632df76d25daebc64020a33840ace0a29",
|
||||
"internal/adapter/repository/postgres/security_integration_test.go": "bc5e6cc1824e8547d3f5fe0897ed5efa1557437cd2542301216256319401ee2c",
|
||||
"internal/adapter/repository/postgres/pipeline.go": "9a367d7a50a9418e96851c253f61ace4a54753044e7fa672c73a3b4526a22245",
|
||||
"internal/adapter/repository/postgres/attachments.go": "88f8b8744d95407421eafc111ecc83bcb4b145f1683618d69cac19a8d1c39500",
|
||||
"internal/adapter/repository/postgres/repository.go": "e380d7c0c52a2447653db9e4d13db432f4c1330e3205a0396510d957441bb978",
|
||||
"internal/adapter/repository/postgres/queries/models.go": "a128a1c4c34ebf85e8f5bd171bbd9b96c769bac9114ab0607970beae8f0fdf53",
|
||||
"internal/adapter/repository/postgres/queries/core.sql.go": "9a0e082263cbea39535de9c7c72c41a39a551efc9ee57fdd7b08856831d074b3",
|
||||
"internal/adapter/repository/postgres/queries/db.go": "4863732830879d4162be215ff245375b953359de23bcd821ed7abc5c32a36c0f",
|
||||
"internal/adapter/repository/postgres/queries/attachments.sql.go": "ccbdaac42ee599d318eae05bb6e0b3580e43c7437ce2cbc9268aa27068460213",
|
||||
"internal/adapter/repository/postgres/queries/idempotency.sql.go": "cf6fbc316e93339e0f938c7ca82007e29c3e32f1a21ee1433a2ce8784697f002",
|
||||
"internal/adapter/repository/postgres/queries/pipeline.sql.go": "82c3e339f3aae0b9e12f05eb299e615d6f293bbb88fb8139b36a20de5fe6b395",
|
||||
"internal/adapter/repository/postgres/queries/observability.sql.go": "a3af883ad89c08a45d325833169bb516da4c78e3d0c9bed1983b07b5b93923e7",
|
||||
"internal/adapter/repository/postgres/queries/security.sql.go": "bd3c3b6205b8ec955e27c6f0f3ef9b23364533920b5290bc566cd458bceeeca2",
|
||||
"internal/adapter/password/argon_test.go": "ce3d120d41c4f1e4f2c944289cd6852cfaca29ec11ab5e3ff9d0748036344b59",
|
||||
"internal/adapter/password/argon.go": "30fef7f8624019544262acfb7f1694a4003791e6d3a9acc7c7c7576aac73b0f3",
|
||||
"internal/adapter/password/argon_benchmark_test.go": "8d2b8fd14132c35ccd5b8008af9c8c088c84a1015fa36b252e1d5fce91bc581d",
|
||||
"internal/adapter/lifecycle/environment.go": "d897867f594dca3c79acd3bd3979e0d15bacb588415d8b3d794ec34d2317181c",
|
||||
"internal/adapter/lifecycle/lifecycle.go": "de660d859305e47c36c4d7671d0354e1c027a7cda7ba84639bdec4e9bbbaf9a5",
|
||||
"internal/adapter/lifecycle/lifecycle_test.go": "d398eb9075654cfd4eb23edafa3bb3c741a822b315ef0d3e9d710b3a0d6d17e9",
|
||||
"internal/adapter/storage/bootstrap.go": "44c8f422826b29f85a918029bb71a62cd3018190f8efe889cbeee63d19d7039e",
|
||||
"internal/adapter/storage/readiness_test.go": "a6c79cba7af74ce67e69678085e5bb267a47f9dd7be57daf003ba03951274a5c",
|
||||
"internal/adapter/storage/s3.go": "99a717604c71da5c181bef74612a603abe3cfc913ccb3da84ed581a57a11ccd8",
|
||||
"internal/adapter/imagefile/variants.go": "50762d1e2af635c9a9344d2721ee145bb9d9d43408f680fc280cdd493aeef886",
|
||||
"internal/adapter/imagefile/variants_integration_test.go": "d25e3371432128e58073ff61e1b87fa741bc32ee7d9bc6e8cb40ae3f3a5b4434",
|
||||
"internal/adapter/imagefile/stress_test.go": "3d7b0671f57ce5e01fa7e175a86c16a51d56d8f11ec6d3bfb09b2c8bfe8c04d8",
|
||||
"internal/adapter/imagefile/variants_test.go": "79c24a3d5c0cb339a32fdea28eb56689703f35ad3c668c464ea7a4f5e82322e5",
|
||||
"internal/adapter/imagefile/image_test.go": "a2dc0d3797a5c2ac7ad46a7453a34ea13aba94c3385d2692032705610026dc71",
|
||||
"internal/adapter/imagefile/image.go": "8a9b399b22573992fd7fd4c87096f953b46c1bc7cad4e09c023923919d755375",
|
||||
"internal/adapter/queue/identities_test.go": "0ec224f6524ffcaf7710605a560ae17b06a294b3d4e4a96ac50a59cb86e37917",
|
||||
"internal/adapter/queue/streams.go": "9d0f1068b8c28d30606c53593d0d183d6627d9c31688e2061a74c4c44a5b8bc1",
|
||||
"internal/adapter/queue/clients.go": "c0b253da9110b9fcb7599277e197da9ab009d3813a5b88d290e48f36a2bd053c",
|
||||
"internal/adapter/queue/identities_integration_test.go": "d7c3171d8420ea705d0a0d7aef9f275b5355f484e89439cb0b450112d1f3924e",
|
||||
"internal/adapter/telemetry/telemetry.go": "16e21c5fc2dd06546e645f284b85e203d83da580b4fb2d5542bfcfd7f076f508",
|
||||
"internal/adapter/telemetry/gauges.go": "80d5dcdacc1730a545a36014a1c44b049b64e9be84deb24640a108eff3c711ed",
|
||||
"internal/adapter/telemetry/dependencies.go": "636ed9dcd5ec19833944de7ccacc241457c967a6fac19bb91e646fb2b12b78db",
|
||||
"internal/application/usecase/auth_security_test.go": "642b594d94965e2ed76cfb5eefa67ed620a4c372f70d0c1230690c3a318de61f",
|
||||
"internal/application/usecase/pipeline_retry_test.go": "6068c07fdaa61fdb0bb0b73bd2094aacdec7a10ff2db1ebd64decb3288f2de5c",
|
||||
"internal/application/usecase/auth.go": "8935ab9bbe126e7edf12f0a16e0b7b95f5f360e7b48a7ce547e82e659c07cd5f",
|
||||
"internal/application/usecase/messenger.go": "c58aba0d3f5d0ab92fab5d2771b90a3af5ad06e6afe0c7cc46f481a429e89f48",
|
||||
"internal/application/usecase/pipeline.go": "9b2cfb652a43681bb8d352a09c914bcd9d80a78f4348b6a113cb9be214f85498",
|
||||
"internal/application/usecase/attachments.go": "0c835f88c72b90753b5458960f7b345e6e51b964070ce37eaae129a4c296b0ca",
|
||||
"internal/application/usecase/reconcile_pipeline_test.go": "75e1fb5fcc5ffb2188a2368688e5505a4bf54453c2800b5e46c8e9e23de89b7c",
|
||||
"internal/application/usecase/reconcile_test.go": "fdbcfad86851fc97a3cf635b6d884c41b43084eedc42b3c4847790c5eaad4a6f",
|
||||
"internal/application/usecase/reconcile.go": "239edee16f767dd16b116791900994540a8f99ae3403fd0308f5e2c0797a892d",
|
||||
"internal/domain/repository/repository.go": "0008747c69b32df9e4b7f36fd1ac157dee537d5e1e415bd48bd55b0b05852362",
|
||||
"internal/domain/model/model_test.go": "77bb8767ac1352bd3551e724eaaeaad4fe93eae248cc8c3008ee8b1c08adddca",
|
||||
"internal/domain/model/user.go": "c20c8b8d8a9c0327a3a24afd74f3051d78caed1d2f0851baf340ef61ac502a92",
|
||||
"internal/domain/model/trace.go": "9ff395bce67142f6808fa7c652e50db2a68cf4e34c128fb04af408566a14220a",
|
||||
"internal/domain/model/page.go": "cd6a07579bff01aa0d8a11b34fd000a804142b321cef302d386bdb95e9c7f953",
|
||||
"internal/domain/model/message.go": "0e0126663d2de04c9d14c8c7427f42a9fb733e3b170ceee7ed86c2138f51b23c",
|
||||
"internal/domain/model/postgres_text_test.go": "8c245eef99a97261daf0aa16fec9edd7bcd3253ec4144c50b4f8e56e45e2186e",
|
||||
"internal/domain/model/job.go": "4fe11ef63d4c0ac842ac3992cc65f5ce164d8813e9e7323207af4bf54558b45f",
|
||||
"internal/domain/model/text.go": "c9410cacd9d1b2fd7f3f2cb7e4112e637ecc494f6e4b6da649f936ce0c9a0457",
|
||||
"internal/domain/model/attachment.go": "e532f2c8e8c123d0fda6101bff4b21168527a0a446e53f566f5e5919b972133b",
|
||||
"internal/domain/model/chat.go": "3f7454f48ef442c277fd2741ce5aeeccf03d590bd2d31b9b89fa39f0ba05de7f",
|
||||
"internal/domain/model/errors.go": "e0a6322f36b3a8ef7b75f70294fedeb3ad70e37ba63d7325bb1bde8ad332d4a6",
|
||||
"internal/domain/port/auth.go": "0087a19007cce3e90bddce4d24909217820993fb4b6ce125f3c6d9da4d86763a",
|
||||
"internal/domain/port/pipeline.go": "5fe7c6909cbaf6a21a4be5d9ed0c2b1551681894d0054463cdba13ea09c21aac",
|
||||
"internal/domain/port/objects.go": "4d22b5ef5ff6fa13404884c160fe52bd7cef4099f84b29268137c27034a0f3ec",
|
||||
"db/migrate.go": "33044d905354f24fff194fefd35ee9327d63d6e5062ded8496e518b6ce38dbea",
|
||||
"db/migrations/00003_attachments.sql": "6b4f707dde32f0c3f531741c108bcf0f22be05c9e2ede327f27a1d9ef0cfcc7f",
|
||||
"db/migrations/00001_core.sql": "b6bd8c70d51aed6c966e07eebffd262af2e694c8b3479c70bbf9a9eacf5a7aad",
|
||||
"db/migrations/00005_replay_audit.sql": "234a04177bca08621fa38b135cb8086bcdd55ae9084008b25814751e1dd742a4",
|
||||
"db/migrations/00002_idempotency.sql": "97c98785547db8391c1fa0a685e4d4bcc810b8f79055c0e2fc6ef473cd38b37b",
|
||||
"db/migrations/00004_login_limits.sql": "6be837dee2d6c2d1dd80c6b6324e52001c0913160ef0532852410266d1f4af8b",
|
||||
"db/sqlc/sqlc.yaml": "803b161e063692398c93152b11a08f9e42e1bf3c72a1e64553b82c494545fd10",
|
||||
"db/sqlc/queries/idempotency.sql": "5bdec86e85705f7805fb603e2c792bb87c11cf3156952fa48e7bcee35fd683ca",
|
||||
"db/sqlc/queries/pipeline.sql": "6c5fa5356024da6e70b7e3116a0765e2865342d7ca474caa4f647c04e4fb9cf4",
|
||||
"db/sqlc/queries/security.sql": "43456c3cc7c586e854c8f98a7aa9c4a9fdd0dfc07b113e04c33af6174dc3d454",
|
||||
"db/sqlc/queries/core.sql": "1aed3d0d2fc04650351d86d15837cf3239636844727e799aabf5ddd534429f33",
|
||||
"db/sqlc/queries/observability.sql": "0378fcb25c62a1d844f8b71bffb50596ee213d698755ae5be8a2e307c0d1381d",
|
||||
"db/sqlc/queries/attachments.sql": "8e64f0e6169fab7664b0f4a97f2be353553b93c0c928d10678cb930e44de37da",
|
||||
"pkg/logger/logger.go": "d839f31015eee692065c31d2538a4cb4c841b0d89e690f0ab8baf80168510556",
|
||||
"pkg/server/server.go": "3ce957e4e45a94453610217007a9dbf0e8b9723346ff9cc8a3e5aa8ff3676527"
|
||||
},
|
||||
"preservedFreshness": {
|
||||
"internal/adapter/freshness/freshness.go": "551a4d8d3780598fa363edd3fcd4cd4bb6450ce52846a4257aeea1bf4bb0a978",
|
||||
"internal/adapter/freshness/file_test.go": "00069226fad9fa5f6ba3a4e3e679d5e7122ce1cbed137a5d71da82bfe190e5ad",
|
||||
"internal/adapter/freshness/freshness_test.go": "85b5354f7935e3767f93ee000e0a00cce7f92d381abe5561c41e77807b7609fb"
|
||||
},
|
||||
"brokerIdentity": "BROKER_PUBLISH_URL_FILE required, separate nonempty ACL usernames; publisher XADD, consumer XACK/XDEL. Real Valkey cross-role commands rejected NOPERM. Full TLS security stack acceptance remains separate.",
|
||||
"argonBenchmark": "ARGON-BUDGET.md: three profiles game-running exit1, one CPU, current-profile verification"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"case":"LB attached to private and edge networks","red":{"failed":1,"passed":2,"error":"INVALID_SERVICE_NETWORK before lifetime verification"},"green":{"passed":3,"failed":0,"checks":["actual published127.0.0.1 binding with two networks","invalid ports","unpublished/public/stopped/foreign-resource denial"]},"implementation":"certificateLifetime reads owned running LB inspect, exact8443/tcp loopback HostPort, servernamelocalhost; no arbitrary first network","native_expired_future_tls_acceptance":"pending cached API stand"}
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"suite": "student-tests/security-guards.test.ts",
|
||||
"runtime": "Bun1.4.4 on omarchy, low priority background.slice",
|
||||
"red": {
|
||||
"exit_code": 1,
|
||||
"passed": 0,
|
||||
"failed": 3,
|
||||
"reason": "NOT_IMPLEMENTED exported guard functions"
|
||||
},
|
||||
"green": {
|
||||
"exit_code": 0,
|
||||
"output": "offline-tests.txt"
|
||||
},
|
||||
"note": "PKI integration not yet run; no runtime or grade claim."
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
# Independent KVv2 review checkpoint
|
||||
|
||||
Reviewer hc t64 / mtuci-ips, source read-only. Reviewer explicitly reported10pure unit tests/30expect PASS and actual auditBao with a fake HTTP boundary15requests/12assertions PASS, without native OpenBao/network/write. FindingP2 in the flattened KV reader is closed for these exact source hashes:
|
||||
|
||||
- scripts/kv-secrets.ts 686a9373f6bddde2b0547b4153ff47d6a7f2f443e1c3324c79605d6b6beecd61
|
||||
- student-tests/kv-secrets.test.ts 1b778daaf309a31043d07a29563b17857efaf7e9baaae69455f4bbe3e9cccc1e
|
||||
- student-tests/bao-policy.ts 4c6d58092a4e1c9cb2f4668d8b6631596dcadc1c44417e8eb247f95c631fe746
|
||||
|
||||
This checkpoint does not establish native Bao auth/render/renew/seal or completion of lab7. Final formatting/source changes require fresh hash readback and independent review of the complete infrastructure slice. Root holds the review orchestration.
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"check": "typecheck",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "unit",
|
||||
"exit": 0
|
||||
},
|
||||
{
|
||||
"check": "format",
|
||||
"exit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS_NATIVE_FORMAT_NONWRITING_CHECK
|
||||
$ bun scripts/format-check.ts
|
||||
@@ -0,0 +1,2 @@
|
||||
$ bun check --no-script --threads=2
|
||||
✓ No type errors in 65 files [69.87ms]
|
||||
@@ -0,0 +1,49 @@
|
||||
bun test v1.4.4 (38afee6c8)
|
||||
$ bun test student-tests/security-guards.test.ts student-tests/kv-secrets.test.ts student-tests/public-endpoint.test.ts student-tests/operator-crypto.test.ts student-tests/pki.test.ts student-tests/grpc-probe.test.ts student-tests/transport-negative.test.ts student-tests/command-runner.test.ts student-tests/checkpoint-guards.test.ts
|
||||
|
||||
student-tests/pki.test.ts:
|
||||
(pass) issued leaf verifies exact SAN, issuer, validity and matching key [444.19ms]
|
||||
|
||||
student-tests/checkpoint-guards.test.ts:
|
||||
(pass) checkpoint second snapshot rejects changed bytes, additions and removals [0.21ms]
|
||||
(pass) historical evidence never replaces existing different bytes and permits exact identical bytes [0.33ms]
|
||||
(pass) handover lease rejects a different valid source generation after initial verification [0.60ms]
|
||||
(pass) handover lease rejects source mutation even when receipt is unchanged [0.20ms]
|
||||
(pass) historical finalization requires its accepted source and build generation binding [0.18ms]
|
||||
|
||||
student-tests/kv-secrets.test.ts:
|
||||
(pass) reads the native KVv2 envelope for api [0.21ms]
|
||||
(pass) reads the native KVv2 envelope for worker [0.02ms]
|
||||
(pass) rejects missing KVv2 nesting and required fields [0.05ms]
|
||||
(pass) rejects credentials for another role [0.03ms]
|
||||
(pass) rejects invalid metadata and denied responses [0.05ms]
|
||||
|
||||
student-tests/command-runner.test.ts:
|
||||
(pass) secondary diagnostic failures cannot replace command exit and both receipt writers are attempted [0.27ms]
|
||||
(pass) successful and explicitly allowed command outcomes are returned without diagnostic writes [0.13ms]
|
||||
(pass) runner requires explicit fake ports and preserves primary execution error [0.10ms]
|
||||
|
||||
student-tests/operator-crypto.test.ts:
|
||||
(pass) operator envelope authenticates ciphertext and hides plaintext [129.85ms]
|
||||
(pass) operator envelope requires a sufficiently long passphrase [0.11ms]
|
||||
|
||||
student-tests/public-endpoint.test.ts:
|
||||
(pass) selects the actual published loopback listener despite two LB networks [0.15ms]
|
||||
(pass) rejects invalid published ports [0.10ms]
|
||||
(pass) rejects unpublished, public, stopped and foreign-resource endpoints [0.09ms]
|
||||
|
||||
student-tests/transport-negative.test.ts:
|
||||
(pass) Bun native certificate-required alert counts as client denial while timeout never does [0.61ms]
|
||||
|
||||
student-tests/security-guards.test.ts:
|
||||
(pass) age rejects future, invalid and stale receipts [0.10ms]
|
||||
(pass) client role requires exact allowlist membership [0.08ms]
|
||||
(pass) network endpoints require TLS and an exact intended hostname [0.09ms]
|
||||
|
||||
student-tests/grpc-probe.test.ts:
|
||||
(pass) native HTTP2 gRPC probe requires a valid Export response and checks request framing [267.62ms]
|
||||
|
||||
24 pass
|
||||
0 fail
|
||||
77 expect() calls
|
||||
Ran 24 tests across 9 files. [905.00ms]
|
||||
@@ -0,0 +1 @@
|
||||
{"runtime":"Bun1.4.4 / Valkey9.1.2 pinned existing image, omarchy background.slice","command":"bun test student-tests/valkey-reclaim.test.ts","exit_code":0,"passed":1,"assertions":4,"elapsed_seconds":13.72,"positive_control":"real XADD and XREADGROUP pending entry","observed":"worker XAUTOCLAIM succeeds; pending entry returned and owner restarted; FLUSHALL NOPERM","scope":"missing+xautoclaim fix before producer/consumer split; final split rerun remains required","teardown":"owned native server and scratch cleaned before PASS"}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"server": "Valkey9.1.2 existing image",
|
||||
"real_pending_entry_seeded": true,
|
||||
"reclaim_denied": false,
|
||||
"pending_entry_returned": true,
|
||||
"new_owner_confirmed": true
|
||||
}
|
||||