Confirm gpt-4.1 invalid model issue already resolved - no changes needed#2236
Closed
Copilot wants to merge 2 commits into
Closed
Confirm gpt-4.1 invalid model issue already resolved - no changes needed#2236Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix GenAIScript recurring failure after v0.24.0 release
Confirm gpt-4.1 invalid model issue already resolved - no changes needed
Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR confirms that the issue reported in the smoke detector investigation has already been resolved. The invalid OpenAI model
gpt-4.1was previously changed to the validopenai:gpt-4omodel in commit64a7abccon Oct 23, 2025.Issue Background
The smoke detector workflow created an issue reporting that
.github/workflows/shared/genaiscript.mdwas using an invalid model nameopenai:gpt-4.1, which does not exist in OpenAI's model catalog. This was causing GenAIScript workflows to fail with:Current State
After investigation, the configuration file already contains the correct model:
File:
.github/workflows/shared/genaiscript.mdVerification
gpt-4.1exist in the repositoryopenai:gpt-4oTimeline
gpt-4.1(invalid model)64a7abccfixed it togpt-4oThe issue was created by analyzing a failed workflow run that occurred before the fix was applied. By the time the issue was filed, the configuration had already been corrected.
Changes in This PR
The only changes are workflow lock file regenerations (*.lock.yml) that incorporate updates from PR #2230 (secret redaction feature). These are standard recompilations to keep lock files synchronized with the current main branch state.
No code changes were needed to fix the reported issue - it was already resolved.
Original prompt
This section details on the original issue you should resolve
<issue_title>[smoke-detector] 🚨 CRITICAL: GenAIScript Invalid Model (gpt-4.1) - 5th Consecutive Failure Post-v0.24.0</issue_title>
<issue_description># 🚨 CRITICAL RECURRING FAILURE - 5th Consecutive Occurrence
Summary
The Smoke GenAIScript workflow has FAILED AGAIN after the v0.24.0 release with the EXACT SAME ROOT CAUSE that has been reported in THREE previous issues (#2157, #2204, #2207). This is the 5th consecutive failure of this smoke test since 2025-10-22. Despite multiple investigations and issue reports, the configuration has never been corrected.
Failure Details
Root Cause Analysis
The Problem Persists UNCHANGED
The GenAIScript configuration STILL uses an invalid OpenAI model name:
Location:
.github/workflows/shared/genaiscript.mdline 6Problem:
gpt-4.1DOES NOT EXIST in OpenAI's model catalog.Valid OpenAI models:
gpt-4o✅ (recommended)gpt-4-turbo✅gpt-4✅gpt-3.5-turbo✅Error Chain (Identical to All Previous Occurrences)
openai:gpt-4.1TypeError: Cannot read properties of undefined (reading 'text')Stack Trace
Failed Jobs and Errors
Job Execution Summary
Investigation Findings
Complete Failure Timeline
Pattern: Failing every ~6 hours on scheduled runs
Duration: Over 22 hours of continuous failures
Failure Rate: 100% since first occurrence
Why This Is Critical NOW
Recommended Actions
🔴 CRITICAL - Immediate Fix (1 minute)
Update
.github/workflows/shared/genaiscript.mdline 6:That's it. One line change. Will fix all 5 failures instantly.
🟡 Alternative: Disable Scheduled Workflow
If GenAIScript smoke tests are not being maintained, disable the scheduled trigger to stop generating fai...
Fixes #2227
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.