Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Complete Docker action verification proof

pulse-triage[bot]f9340e333437
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 122824f2cf..0584ced876 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -5599,6 +5599,15 @@ neither backup, snapshot, restore, retention, nor recovery authority; those
operations remain governed by their existing resource capabilities and action
lifecycle contracts.
+### Docker action verification remains separate from recovery truth
+
+The shared Docker / Podman action executor performs its post-mutation daemon
+observation through a separately request-bound typed protocol. It may project
+independent `ActionResultV2` evidence only when the observer and executor trust
+domains differ. That evidence verifies the bounded container action; it is not
+backup success, restore verification, recovery freshness, or storage health,
+and storage/recovery consumers must not reinterpret it as any of those facts.
+
### Retained storage observations preserve freshness truth
The shared storage adapter may retain the last successful capacity observation
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index 30080cec5c..397228648d 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -21337,6 +21337,10 @@ func TestContract_DockerLifecycleActionsResolveCommandAgentAndDispatchOneTypedOp
"ActionDispatchOperationKinds",
"BindActionDispatch",
"ReconcileActionDispatch",
+ "observer dockerContainerPostconditionObserver",
+ "ObserveDockerContainer(context.Context, string, agentexec.DockerContainerObservationPayload)",
+ "executor.observer = agentDockerContainerPostconditionObserver{commander: commander}",
+ "independent = &observation",
"dockerContainerExecutionResult",
} {
if !strings.Contains(src, snippet) {
@@ -21346,6 +21350,21 @@ func TestContract_DockerLifecycleActionsResolveCommandAgentAndDispatchOneTypedOp
if strings.Contains(src, "ExecuteCommand(ctx, agentID") || strings.Contains(src, "docker inspect -f") || strings.Contains(src, "podman inspect -f") {
t.Fatal("docker lifecycle executor regressed to raw command dispatch or server-authored agent inspect")
}
+ resultSource, err := os.ReadFile("docker_container_action_result.go")
+ if err != nil {
+ t.Fatalf("read docker_container_action_result.go: %v", err)
+ }
+ resultSrc := string(resultSource)
+ for _, snippet := range []string{
+ `ObserverKind: "docker_daemon_observer"`,
+ `ObserverTrustDomain: independent.TrustDomain`,
+ `ExecutorTrustDomain: "agent:" + agentID`,
+ `EvidenceClass: unified.ActionEvidenceIndependent`,
+ } {
+ if !strings.Contains(resultSrc, snippet) {
+ t.Fatalf("docker lifecycle result must preserve independent verification snippet %q", snippet)
+ }
+ }
if !strings.Contains(sharedSrc, "GetAgentForHost(hostname string) (string, bool)") {
t.Fatal("shared action command interface must keep hostname-based command-agent resolution available")
}