Skip to content

Improve Docker Sandboxes resilience and onboarding - #16

Merged
joecklau merged 11 commits into
developfrom
feature/perf_tuning
Aug 7, 2026
Merged

Improve Docker Sandboxes resilience and onboarding#16
joecklau merged 11 commits into
developfrom
feature/perf_tuning

Conversation

@joecklau

@joecklau joecklau commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make Docker Sandboxes the primary onboarding path and improve cross-architecture handling
  • add lifecycle-wide external dependency supervision, retry policy, and configurable manager logging
  • harden GitHub App token refresh, host-trust and credential isolation, egress relay behavior, and Docker Sandboxes process supervision
  • update provider configuration, templates, documentation, and regression coverage for the new lifecycle behavior

Testing

  • Not rerun as part of pull request creation; see the individual commits for their scoped validation.

Present Docker Sandboxes as EPAR's public-facing provider, hide compatibility providers behind an explicit wizard reveal, retire Tart from onboarding, and require explicit provider types while preserving existing provider defaults and runtime compatibility.
Default Docker Sandboxes to best-effort architecture emulation so unsupported binfmt_misc hosts continue after exact native guest and Docker verification. Preserve required and native-only modes, emit visible warnings, and update onboarding, template assets, tests, and documentation.
Route Windows overlay traffic through an authenticated host relay with separate workflow and private-dockerd TLS paths so host-approved inspection roots work without Docker Sandboxes credential injection.

Scope admission to capabilities attached to the exact EPAR sandbox, scrub Docker credentials, enforce the job-start egress boundary, retain best-effort architecture emulation, and add lifecycle, race, template, checksum, and documentation coverage.
Keep unattended EPAR controllers alive across typed transient GitHub, registry, image, and runner-download failures with durable bounded or continuous supervision. Preserve fail-fast defaults, exact cleanup, local-first status, and documented autorun behavior.
Move successful Docker Sandboxes host-trust relay refresh diagnostics to debug while keeping info as the default. Expose logging.level through configuration, generated examples, documentation, and tests.
Recover a cached installation token rejected with HTTP 401 by invalidating it and retrying once with a freshly minted token. Keep repeated 401 responses terminal and preserve typed transient refresh failures for outage supervision.
Throttle host-trust transport reconciliation to its lease refresh cadence, retry one malformed read-only inventory response without weakening strict parsing, suppress shutdown-only health warnings, and terminate interactive preparation progress cleanly.
@joecklau
joecklau marked this pull request as ready for review August 7, 2026 14:45
@joecklau
joecklau merged commit 94ddfdc into develop Aug 7, 2026
12 checks passed
@joecklau
joecklau deleted the feature/perf_tuning branch August 8, 2026 14:26
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