fix(nightly-schema-updater): switch model from deprecated claude-sonnet-4.6 to gpt-5.4 by Copilot · Pull Request #7682 · github/gh-aw-mcpg · GitHub
Skip to content

fix(nightly-schema-updater): switch model from deprecated claude-sonnet-4.6 to gpt-5.4#7682

Merged
lpcox merged 2 commits into
mainfrom
copilot/aw-fix-nightly-schema-updater
Jun 17, 2026
Merged

fix(nightly-schema-updater): switch model from deprecated claude-sonnet-4.6 to gpt-5.4#7682
lpcox merged 2 commits into
mainfrom
copilot/aw-fix-nightly-schema-updater

Conversation

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The Nightly Schema Updater (and all other workflows compiled with gh-aw v0.79.6) hard-coded claude-sonnet-4.6 as the fallback model. The Copilot API stopped accepting this model name, causing a 400 The requested model is not supported failure. gh-aw's own workflows have since moved to gpt-5.4 with Copilot CLI v1.0.63.

Changes

  • nightly-schema-updater.md — Added explicit engine: block pinning model: gpt-5.4 so the source is authoritative and recompilation won't regress.
  • nightly-schema-updater.lock.yml — Updated both model fallback references from claude-sonnet-4.6gpt-5.4:
    # before
    GH_AW_INFO_MODEL: ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}
    COPILOT_MODEL:    ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}
    
    # after
    GH_AW_INFO_MODEL: ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'gpt-5.4' }}
    COPILOT_MODEL:    ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'gpt-5.4' }}

gpt-5.4 is the first entry in the AWF proxy's agent model resolution list and is the current default in gh-aw's own compiled workflows. The lock file's frontmatter_hash will be stale until the nightly-workflow-compiler runs a full gh aw upgrade; this does not block execution.

GitHub Advanced Security started work on behalf of lpcox June 17, 2026 14:04 View session
GitHub Advanced Security finished work on behalf of lpcox June 17, 2026 14:05
Copilot AI changed the title [WIP] Fix nightly schema updater configuration issue fix(nightly-schema-updater): switch model from deprecated claude-sonnet-4.6 to gpt-5.4 Jun 17, 2026
Copilot finished work on behalf of lpcox June 17, 2026 14:13
Copilot AI requested a review from lpcox June 17, 2026 14:13
GitHub Advanced Security started work on behalf of lpcox June 17, 2026 14:14 View session
GitHub Advanced Security finished work on behalf of lpcox June 17, 2026 14:16
@lpcox lpcox marked this pull request as ready for review June 17, 2026 14:52
Copilot AI review requested due to automatic review settings June 17, 2026 14:52

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

This PR updates the Nightly Schema Updater agentic workflow to avoid failures caused by a deprecated Copilot model name by pinning and defaulting the workflow’s model to gpt-5.4.

Changes:

  • Added an explicit engine: configuration in the source workflow (.md) to pin model: gpt-5.4.
  • Updated the compiled lock workflow (.lock.yml) to change the fallback model from claude-sonnet-4.6 to gpt-5.4 for both info reporting and Copilot execution.
Show a summary per file
File Description
.github/workflows/nightly-schema-updater.md Pins the workflow’s engine model to gpt-5.4 in the authoritative source frontmatter.
.github/workflows/nightly-schema-updater.lock.yml Updates the compiled workflow’s model fallback values to gpt-5.4 for runtime execution and metadata.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@lpcox lpcox merged commit 18497a4 into main Jun 17, 2026
40 checks passed
@lpcox lpcox deleted the copilot/aw-fix-nightly-schema-updater branch June 17, 2026 15:03
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