Skip to content

🤖 tests: ModelsSection discovery and Bedrock endpoint-pinning tests flake in the merge queue #4463

Description

@ThomasK33

Summary

Two unit test groups fail intermittently in merge-queue runs of unrelated PRs. This is removing PRs from the merge queue.

  1. src/browser/features/Settings/Sections/ModelsSection.discovery.test.tsx: many "ModelsSection asynchronous discovery › …" cases hit the 5 s test timeout.
  2. src/node/services/bedrockModelDiscovery.test.ts: "pins native us-east-1 / sigv4 / cn-north-1 / us-gov-west-1 endpoints without SDK file/process/chain/metadata work" fails at expect(files).not.toHaveBeenCalled() (the fs/promises.readFile spy sees 1 call).

Evidence (runs whose tree does not contain the other PRs involved)

Likely area

Both look like cross-test pollution or load sensitivity under Bun 1.3.5 when the shard is busy. The Bedrock spy is global on fs/promises.readFile, so any concurrent reader in the same process trips it. I have not investigated further.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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