Skip to content

feat(docker): add provisioning progress events#1567

Open
drew wants to merge 1 commit into
mainfrom
docker-status-updates
Open

feat(docker): add provisioning progress events#1567
drew wants to merge 1 commit into
mainfrom
docker-status-updates

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented May 26, 2026

Summary

Add Docker driver provisioning progress events so sandbox creation can return after validation while image pull and container startup continue in the background.

Related Issue

N/A

Changes

  • Track pending Docker sandboxes in memory and surface them through get/list/watch snapshots while provisioning runs.
  • Emit Docker platform progress metadata for sandbox allocation, image cache hits/pulls, layer pull progress, container creation, startup, and provisioning failures.
  • Handle delete/stop operations for pending Docker sandboxes and clean up token files consistently.
  • Configure local gateway:docker runs with generated sandbox JWT material so Docker supervisors can authenticate back to the gateway.
  • Fail Docker sandbox creation early when gateway JWT auth is missing instead of starting a restart-looping container.
  • Add Docker driver tests for progress metadata and pending sandbox snapshots.
  • Update Docker runtime architecture and driver README documentation.

Testing

  • mise run pre-commit passes
  • cargo test -p openshell-driver-docker passes
  • bash -n tasks/scripts/gateway-docker.sh passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

@drew drew requested review from a team, derekwaynecarr, maxamillion and mrunalp as code owners May 26, 2026 16:12
@drew drew force-pushed the docker-status-updates branch from c517a95 to 8e7ab6a Compare May 26, 2026 16:30
@drew drew force-pushed the docker-status-updates branch from 8e7ab6a to a114678 Compare May 26, 2026 21:24
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.

1 participant