Skip to content

Harden Docker Sandboxes lifecycle recovery - #37

Merged
joecklau merged 10 commits into
developfrom
feature/sandbox_stability_improvement
Aug 21, 2026
Merged

Harden Docker Sandboxes lifecycle recovery#37
joecklau merged 10 commits into
developfrom
feature/sandbox_stability_improvement

Conversation

@joecklau

Copy link
Copy Markdown
Contributor

Summary

  • Harden Docker Sandboxes control-plane recovery for create-time admission failures reported by the known failed to run sandbox container signature.
  • Use the explicit stop, authoritative stopped-state confirmation, quiescence, sanitized detached start, running-state confirmation, and stable-inventory sequence.
  • Keep exclusive-auto as the default, keep observe non-mutating, and prevent admission incidents from causing repeated daemon restarts through later inventory failures.
  • Remove only exact empty staging directories after immediate create failure and update operator/security documentation.

Validation

  • go test ./...
  • go test -race ./internal/provider/dockersandboxes ./internal/pool
  • go vet ./...
  • git diff --check

The full test suite passed with test temporary files redirected away from macOS /var path redirection. No sbx reset or sbx logout behavior was added.

@joecklau
joecklau deployed to epar-live-ci August 20, 2026 15:00 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 20, 2026 18:04 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 20, 2026 19:16 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 20, 2026 20:04 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 21, 2026 07:43 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 21, 2026 09:04 — with GitHub Actions Active
@joecklau
joecklau deployed to epar-live-ci August 21, 2026 11:28 — with GitHub Actions Active
@joecklau
joecklau marked this pull request as ready for review August 21, 2026 11:40
@joecklau
joecklau merged commit 27387c9 into develop Aug 21, 2026
20 checks passed
@joecklau
joecklau deleted the feature/sandbox_stability_improvement branch August 21, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants