Skip to content

feat: enable docker-sbx sandbox for ~50% of agentic workflows - #51264

Merged
pelikhan merged 1 commit into
mainfrom
copilot/enable-sbx-sandbox-for-50-percent
Aug 8, 2026
Merged

feat: enable docker-sbx sandbox for ~50% of agentic workflows#51264
pelikhan merged 1 commit into
mainfrom
copilot/enable-sbx-sandbox-for-50-percent

Conversation

Copilot AI commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Rolls out sandbox.agent.runtime: docker-sbx (KVM microVM isolation) to the daily-*, weekly-*, hourly-*, and smoke-* workflow groups — 108 of ~246 agentic workflows (≈44%).

Sandbox config applied

sandbox:
  agent:
    id: awf
    runtime: docker-sbx
    sudo: true

sudo: true is required for the sbx install step; the strict-mode deprecation warning is suppressed specifically for docker-sbx.

Skipped workflows

Reason Examples
runner.topology: arc-dind KVM unavailable on DinD runners
Custom sandbox.agent.config (filesystem mounts) smoke-claude.md, smoke-pi.md
legacy-security: enable smoke-service-ports.md

Runtime requirements

  • KVM-capable runner with /dev/kvm present
  • DOCKER_PAT and DOCKER_USERNAME repository secrets

Workflows on non-KVM runners fail fast at the "Check KVM availability for docker-sbx" preflight step with a clear error. No agent execution is attempted.

New secrets in compiled lock files

Secret Use
DOCKER_PAT Pull docker/sandbox-templates:shell-docker template image; not passed to agent
DOCKER_USERNAME docker login / sbx login during daemon setup only

Neither secret is accessible to the agent or exposed to the prompt.

…eekly/hourly/smoke)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 8, 2026 01:12
@pelikhan
pelikhan marked this pull request as ready for review August 8, 2026 01:13
Copilot AI balanced review requested due to automatic review settings August 8, 2026 01:13
@pelikhan
pelikhan merged commit e123c10 into main Aug 8, 2026
@pelikhan
pelikhan deleted the copilot/enable-sbx-sandbox-for-50-percent branch August 8, 2026 01:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Rolls out KVM-isolated docker-sbx execution to 108 scheduled and smoke-test agentic workflows.

Changes:

  • Configures AWF agents with runtime: docker-sbx and sudo: true.
  • Regenerates lock files with KVM checks, Docker authentication, sbx setup, and secret redaction.
  • Removes obsolete host mounts from the CI cleaner.
Show a summary per file
File Description
.github/workflows/daily-*.md (69 files) Enables docker-sbx for daily workflows.
.github/workflows/daily-*.lock.yml (69 files) Regenerates daily compiled workflows.
.github/workflows/hourly-ci-cleaner.md Enables docker-sbx and removes host mounts.
.github/workflows/hourly-ci-cleaner.lock.yml Regenerates the hourly workflow.
.github/workflows/weekly-*.md (4 files) Enables docker-sbx for weekly workflows.
.github/workflows/weekly-*.lock.yml (4 files) Regenerates weekly compiled workflows.
.github/workflows/smoke-*.md (34 files) Enables docker-sbx for smoke workflows.
.github/workflows/smoke-*.lock.yml (34 files) Regenerates smoke-test compiled workflows.

Review details

Tip

Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 58/216 changed files
  • Comments generated: 1
  • Review effort level: Balanced

sandbox:
agent:
id: awf
runtime: docker-sbx
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.2

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.

3 participants