Skip to content

flake: TestOpenAIResponsesChainModeStillFiresForProviderExecutedOnly #1504

@flake-investigator

Description

@flake-investigator

CI Run: https://github.com/coder/coder/actions/runs/25060745771
Failing Job: https://github.com/coder/coder/actions/runs/25060745771/job/73413841030 (test-go-race-pg)
Commit: 1926b7e6586d1e1fd24548f1d17f9e53061d7d78 (Mathias Fredriksson)

Failure:

  • coderd/x/chatd TestOpenAIResponsesChainModeStillFiresForProviderExecutedOnly
  • Error: "[]" should have 1 item(s), but has 0
  • Log snippet:
=== FAIL: coderd/x/chatd TestOpenAIResponsesChainModeStillFiresForProviderExecutedOnly (0.10s)
    integration_responses_test.go:328:
        Error: "[]" should have 1 item(s), but has 0

Root Cause Assessment:

  • Likely flaky chatd integration test where the follow-up message does not trigger the OpenAI Responses request, leaving the recorder empty.
  • No WARNING: DATA RACE, panic, or OOM indicators found in the test-go-race-pg logs.

Assignment Analysis:

  • Failing test location: coderd/x/chatd/integration_responses_test.go (TestOpenAIResponsesChainModeStillFiresForProviderExecutedOnly).
  • git log --oneline -10 --follow coderd/x/chatd/integration_responses_test.go shows the most recent meaningful change as 62e9752acd3212991de1c4a5da3d43bdf6da1fb9 by @ibetitsmike ("fix: prevent malformed OpenAI Responses continuations"), which added/updated these OpenAI Responses chain-mode tests.
  • Assigning to @ibetitsmike based on most recent test-file changes in this area.

Related Issues:

Reproduction:

  • GOWORK=off go test ./coderd/x/chatd -run TestOpenAIResponsesChainModeStillFiresForProviderExecutedOnly -count=1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions