Skip to content

Stabilize Copilot Actions job by pinning a supported cloud-agent model - #644

Draft
ppuha with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-copilot-actions-job
Draft

Stabilize Copilot Actions job by pinning a supported cloud-agent model#644
ppuha with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-copilot-actions-job

Conversation

Copilot AI commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The copilot GitHub Actions job was failing during agent startup because the resolved model (sweagent-capi:claude-sonnet-4.6) is no longer available. This change ensures Copilot sessions start with a supported model in this repository.

  • Root cause

    • Copilot runtime resolved to an unavailable model and aborted before task execution (Model "... is not available").
  • Change

    • Added a dedicated Copilot setup workflow at .github/workflows/copilot-setup-steps.yml.
    • Introduced a setup step that exports a supported model for Copilot cloud agent sessions.
  • Effective behavior

    • Copilot jobs now initialize with a valid model instead of inheriting an unavailable default.
jobs:
  copilot-setup-steps:
    steps:
      - name: Force supported Copilot model
        run: echo "COPILOT_AGENT_MODEL=sweagent-capi:claude-sonnet-4.5" >> "$GITHUB_ENV"

Co-authored-by: ppuha <86969593+ppuha@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'copilot' Stabilize Copilot Actions job by pinning a supported cloud-agent model Sep 1, 2026
Copilot AI requested a review from ppuha September 1, 2026 09:01
@ppuha
ppuha requested review from BjoernKarma and ron96g September 1, 2026 09:05
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