Prepare verified laboratory 6 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 470d9d6f1e
commit 7d56e52fd0
335 changed files with 31206 additions and 72 deletions
+5
View File
@@ -0,0 +1,5 @@
// Empty SQLite on the owned HDD completed641 migrations during the old120s
// deadline without an error. Allow bounded cold initialization, not only warm restart.
const deadline=Date.now()+600000;
while(Date.now()<deadline){try{const response=await fetch('http://127.0.0.1:28306/api/health',{signal:AbortSignal.timeout(2000)}),body=await response.json();if(response.status===200&&body.database==='ok'&&body.version==='13.3.1'){console.log('Grafana13.3.1 database and HTTP server ready');process.exit(0)}}catch{}await Bun.sleep(500);}
throw new Error('Grafana native readiness deadline exceeded');