Skip to content

Fix daily-code-debt-aider workflow failure by removing docker-sbx runtime - #52995

Merged
pelikhan merged 3 commits into
mainfrom
copilot/debug-aider-workflow-failure
Aug 16, 2026
Merged

Fix daily-code-debt-aider workflow failure by removing docker-sbx runtime#52995
pelikhan merged 3 commits into
mainfrom
copilot/debug-aider-workflow-failure

Conversation

CopilotAI commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

daily-code-debt-aider was failing on every run with a generic "Aider execution failed" error and no diagnostic detail.

Root cause

sandbox.agent.runtime: docker-sbx was blanket-enabled on this workflow by an earlier rollout PR, but never validated against Aider's install method:

  • Aider is installed via pip install --user, whose console-script shebang points at the actions/setup-python interpreter under /opt/hostedtoolcache/Python/.../bin/python3.
  • The docker-sbx runtime executes the agent inside an isolated KVM microVM that does not mount /opt/hostedtoolcache — the codebase already works around this for npm-installed CLIs (Claude, Codex, Copilot via GenerateDockerSbxNpmCLIInstallStep), but no equivalent exists for pip.
  • With the interpreter invisible inside the sandbox, the harness's spawnSync("aider", ...) fails immediately with no stdout/stderr, surfacing only the opaque top-level error.

Fix

  • Removed runtime: docker-sbx and set sudo: false in .github/workflows/daily-code-debt-aider.md, aligning it with the two other Aider-based workflows (daily-go-test-stubs-aider.md, smoke-aider.md), which never enabled docker-sbx and run successfully on the default Docker runtime.
  • Recompiled daily-code-debt-aider.lock.yml to drop the now-unused docker-sbx install/auth/pre-flight steps and the --container-runtime sbx flag.

CopilotAIand others added 2 commits August 16, 2026 00:27
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Debug workflow failure for daily code debt cleanupFix daily-code-debt-aider workflow failure by removing docker-sbx runtimeAug 16, 2026
CopilotAI requested a review from pelikhanAugust 16, 2026 00:30
@github-actions

Copy link
Copy Markdown
Contributor

Triage

  • Category: bug (WIP self-debug)
  • Risk: low
  • Score: 20/100 (impact 5, urgency 10, quality 5)
  • Recommendation:defer

Zero-diff WIP PR auto-created by an agent to debug a failed Aider workflow run. No files changed yet; still in progress. Revisit once the agent produces a diff or closes as stale.

Generated by 🔧 PR Triage Agent · auto · 40.8 AIC · ⌖ 2.37 AIC · ⊞ 8.1K ·

@pelikhan
pelikhan marked this pull request as ready for review August 16, 2026 00:31
CopilotAI balanced review requested due to automatic review settings August 16, 2026 00:31
@pelikhan
pelikhan merged commit 10fb863 into mainAug 16, 2026
@pelikhan
pelikhan deleted the copilot/debug-aider-workflow-failure branch August 16, 2026 00:32

CopilotAI 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

Removes the incompatible docker-sbx runtime so the Aider workflow can access its Python installation.

Changes:

  • Uses the default Docker runtime with rootless execution.
  • Regenerates the compiled workflow without docker-sbx setup and credentials.
Show a summary per file
FileDescription
.github/workflows/daily-code-debt-aider.mdRemoves docker-sbx and disables sudo.
.github/workflows/daily-code-debt-aider.lock.ymlUpdates generated runtime configuration.

Review details

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.0

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Daily Code Debt Cleanup — Aider failed

3 participants

@pelikhan