Prepare verified laboratory 7 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 20afc2c790
commit eb1b5c7b84
677 changed files with 208256 additions and 64 deletions
@@ -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%
+209
View File
@@ -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
}
+2
View File
@@ -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
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

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]
+142
View File
@@ -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]
+26
View File
@@ -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
}
+18
View File
@@ -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
}