Skip to content

fix(ci): mark openai/gpt-5 smoke test as flaky - #9027

Merged
tellaho merged 1 commit into
mainfrom
tho/fix-gpt-5-flaky-smoke
May 5, 2026
Merged

fix(ci): mark openai/gpt-5 smoke test as flaky#9027
tellaho merged 1 commit into
mainfrom
tho/fix-gpt-5-flaky-smoke

Conversation

@tellaho

@tellaho tellaho commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

The Smoke Tests (Code Execution) job has been failing repeatedly on main (and on PR branches once they merge in main) on the invokes code_execution tool — 'openai' / 'gpt-5' test case. The model spends its turn calling list_functions and get_function_details for Memory and Todo, never reaching code_execution before the 55s runGoose timeout fires.

This change marks openai / gpt-5 as flaky: true, mirroring the established pattern from #8837 (fix(ci): prevent flaky smoke test timeouts from failing the build) already used for gpt-3.5-turbo, qwen/qwen3-coder:exacto, gemini-2.5-flash, gemini-3-pro-preview, and nvidia/nemotron-3-nano-30b-a3b:free.

For flaky entries:

  • vitest test timeout is bumped to 90s so the internal 55s runGoose rejection fires first
  • the rejection is caught and logged as console.warn(`Flaky test ... failed (allowed): ${err}`) instead of failing the build

The faster non-code-exec smoke test (which gpt-5 passes in ~5s) is unaffected — only how timeouts are treated changes.

Evidence

Test plan

  • Smoke Tests job (regular) still passes — gpt-5 succeeds there in ~5s
  • Smoke Tests (Code Execution) job no longer fails the build when gpt-5 times out; check the run for a Flaky test openai/gpt-5 failed (allowed) warning if it does time out

…om failing the build

- Mark `openai / gpt-5` as `flaky: true` in `ui/desktop/tests/integration/test_providers_lib.ts` so the existing flaky-test handler (longer 90s vitest timeout + caught `runGoose` rejection) treats timeouts as allowed instead of red CI.
- Addresses repeated `Smoke Tests (Code Execution)` failures on `main` and PR branches where gpt-5 spends the turn calling `list_functions` / `get_function_details` (Memory, Todo) and never reaches `code_execution` before the 55s `runGoose` timeout. The faster non-code-exec smoke test (which gpt-5 passes in ~5s) is unaffected.
- Mirrors the existing pattern (commit 097e1bc, "fix(ci): prevent flaky smoke test timeouts from failing the build") used for gpt-3.5-turbo, qwen3-coder:exacto, gemini-2.5-flash, gemini-3-pro-preview, and nemotron-3-nano.

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 185c6187cf

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

'gpt-4o',
'gpt-4o-mini',
{ name: 'gpt-3.5-turbo', flaky: true },
{ name: 'gpt-5', flaky: true },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Limit gpt-5 flakiness to code-exec tests

Marking gpt-5 as flaky in the shared provider list changes behavior for both integration suites, not just code-exec: test_providers.test.ts and test_providers_code_exec.test.ts both consume discoverTestCases() from this file, and registerTests converts flaky failures into warnings. This means any future real failure in the normal smoke test for openai/gpt-5 will no longer fail CI, which weakens regression detection outside the timeout scenario this commit targets.

Useful? React with 👍 / 👎.

@tellaho tellaho changed the title fix(ci): mark openai/gpt-5 smoke test as flaky to prevent timeouts from failing the build fix(ci): mark openai/gpt-5 smoke test as flaky May 5, 2026
@tellaho
tellaho added this pull request to the merge queue May 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 5, 2026
@tellaho
tellaho added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit fb79c7d May 5, 2026
20 checks passed
@tellaho
tellaho deleted the tho/fix-gpt-5-flaky-smoke branch May 5, 2026 18:16
tellaho added a commit that referenced this pull request May 5, 2026
* origin/main:
  fix(ci): mark openai/gpt-5 smoke test as flaky (#9027)
  goose2 distribution bundling (#8911)
  Add "Trimmed trailing whitespace" message to moim whitelist (#8847)
lifeizhou-ap added a commit that referenced this pull request May 6, 2026
* main:
  feat: move goose2 provider catalog behind ACP layer (#9030)
  fix: use python3 in developer extension instructions for macOS/Linux compatibility (#8784)
  fix(acp): synchronously reap ACP child to avoid SIGCHLD race (#9023)
  fix goose2 small-window chat and settings layouts (#9019)
  docs: improve goose2 AGENTS.md (#9028)
  agents: add CLAUDE.mds to mirror AGENTS.mds (#9029)
  remove skill categories (#9008)
  fix: 8531 - elicitation fixes (#8999)
  feat(chat): group consecutive tool calls into one summarized chain card (#8995)
  fix(ci): mark openai/gpt-5 smoke test as flaky (#9027)
  goose2 distribution bundling (#8911)
  Add "Trimmed trailing whitespace" message to moim whitelist (#8847)
shafqatevo pushed a commit to shafqatevo/goose that referenced this pull request Aug 7, 2026
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
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