Skip to content

Suggested test: copilot/wire-api-auto-configure #7780

Description

@github-actions

Motivation

Link to the gh-aw PR: github/gh-aw#46156 — auto-configure COPILOT_PROVIDER_WIRE_API from model catalog

Models like gpt-5-mini and mai-code-1-flash-picker require wire_api: responses (OpenAI Responses API). Before this fix, the CLI defaulted to completions, causing HTTP 400 failures. A model catalog was added and a build-time case-statement auto-sets COPILOT_PROVIDER_WIRE_API=responses for affected models before Copilot CLI launches.

Proposed test

  • Workflow file: test-copilot-wire-api-auto-configure.md
  • Trigger: workflow_dispatch
  • Engine: copilot
  • Safe output: create_issue (simple output to confirm the agent completed successfully)
  • Variant: standard

Minimal test prompt sketch

Set model: mai-code-1-flash-picker (or another Responses-API-only model) in the workflow frontmatter and ask the agent to create an issue. A successful run proves that COPILOT_PROVIDER_WIRE_API was auto-configured; a regression would produce an HTTP 400 and fail before any safe output.

New fixtures or secrets needed

None — uses the standard githubnext/gh-aw-test fixtures. The model alias must be available in the GitHub org model catalog.

Notes

Related to the open suggestion test-copilot-model-alias-small. This test specifically targets the wire-API auto-selection path introduced in #46156, not just model aliasing. Should confirm the catalog-driven case statement covers the intended model names.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by 🔍 Suggest New E2E Tests · 25.7 AIC · ⌖ 5.37 AIC · ⊞ 5.6K ·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions