Bound readiness probe overhead and export native screenshots from regular storage

This commit is contained in:
dh committed 2026-10-03 18:06:04 +02:00
1 parent cfe8c13f4a
commit f3bb8411e5
3 files changed
+144 -80

No files matched your search

+1 -1
View File
@@ -610,7 +610,7 @@ static class NativeDiagnostic
AssertContainer(inspection.Output, token);
using (var document = JsonDocument.Parse(inspection.Output))
if (document.RootElement[0].GetProperty("Id").GetString() != id || !document.RootElement[0].GetProperty("State").GetProperty("Running").GetBoolean()) throw new InvalidOperationException("Owned guest container is no longer running for the optional monitor capture.");
var screen = "/dev/shm/native-diagnostic-screen-" + token + ".ppm";
var screen = "/tmp/native-diagnostic-screen-" + token + ".ppm";
var monitor = await Command("docker", ["exec", id, "sh", "-c", """
test -S /run/shm/monitor.sock || exit 1
rm -f -- "$1" || exit 1