Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 22, 2025

The hourly-ci-cleaner agent runs inside an AWF container and cannot access build tools (make, go, node, npm) installed on the GitHub Actions runner host, causing "command not found" errors when attempting CI fixes.

Changes

Added sandbox.agent.mounts configuration to mount required build tools from host into container:

sandbox:
  agent:
    mounts:
      - "/usr/bin/make:/usr/bin/make:ro"
      - "/usr/bin/go:/usr/bin/go:ro"
      - "/usr/local/bin/node:/usr/local/bin/node:ro"
      - "/usr/local/bin/npm:/usr/local/bin/npm:ro"
      - "/usr/local/lib/node_modules:/usr/local/lib/node_modules:ro"
      - "/opt/hostedtoolcache/go:/opt/hostedtoolcache/go:ro"

The setup steps in the workflow remain unchanged - they ensure tools are available on the host. The mounts make them accessible inside the agent's execution environment where make fmt, make lint, make test-unit, and make recompile commands are invoked.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 22, 2025 17:33
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix access issue for hourly-ci-cleaner tool Mount build tools into agent container for hourly-ci-cleaner Dec 22, 2025
Copilot AI requested a review from pelikhan December 22, 2025 17:40
@pelikhan
Copy link
Contributor

@copilot disable firewall for hourly ci cleaner workflow

@pelikhan pelikhan marked this pull request as ready for review December 22, 2025 17:41
@pelikhan pelikhan merged commit 22181c9 into ci-cleaner-workflow-fix-20251222-170956-8501429fb2999733 Dec 22, 2025
1 check failed
@pelikhan pelikhan deleted the copilot/sub-pr-7297 branch December 22, 2025 17:41
Sign up for free to 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.

2 participants