Skip to content

CI: TypeScript red on main — provider test still expects the pre-#1260 10 s Altimate Base header timeout #1264

Description

@anandgupta42

Summary

main's TypeScript CI job fails since #1260 (5f9cb88d59) on one assertion:

test/provider/provider.test.ts:85
  expect(base.options.headerTimeout).toBe(10_000)
  Expected: 10000   Received: 300000

(Altimate Base is pinned to the hosted model contract without affecting other providers).

Cause

#1260 raised the Altimate Base header timeout from OpenAI's 10 s default to FREE_TIER_HEADER_TIMEOUT_DEFAULT = 300_000 (env-overridable via ALTIMATE_BASE_HEADER_TIMEOUT_MS) but did not update the test that pins the provider contract. Every PR's merge-ref CI now inherits the failure.

Fix

Update the assertion to 300_000 and its comment to explain why the value differs from the openai loader's default.

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