Skip to content

test: expect the OpenAI API-key listing in the auth-order outcome - #200126

Merged
obviyus merged 2 commits into
mainfrom
openclaw/gentle-lobster
Nov 16, 2026
Merged

obviyus merged 2 commits into
mainfrom
openclaw/gentle-lobster

Conversation

@obviyus

@obviyus obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Problem

#200073 made the OpenAI API-key catalog put its listing (modelIdCatalog) on its ready outcome. test/openai-model-discovery-auth-order.test.ts still expected the old outcome shape. As a result, main fails checks-node-changed-compact-small-20 in "continues from failed openai OAuth to profile API-key auth without repeating refresh". Open PRs that run this shard (for example #200102) inherit the failure.

Solution

For the OpenAI case, the test now expects modelIdCatalog: { baseUrl, modelIds: [modelId] }. The xAI cases are unchanged. This is a test-only change.

Evidence

  • pnpm test test/openai-model-discovery-auth-order.test.ts: 17/17 pass. Before this change on origin/main, the OpenAI case failed with exactly this diff.
  • oxfmt is clean.

obviyus and others added 2 commits November 16, 2026 19:35
#200073 made the OpenAI API-key catalog publish modelIdCatalog on its
ready outcome; this test still expected the old outcome shape, so main
went red on checks-node-changed-compact-small-20.

Co-authored-by: obviyus <[email protected]>
OpenClaw-Publication: f58bd5b3-ae10-8019-875f-27c86918b01c
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@obviyus
obviyus merged commit c905038 into main Nov 16, 2026
78 checks passed
@obviyus
obviyus deleted the openclaw/gentle-lobster branch November 16, 2026 14:18
@obviyus

obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Landed as c905038. #200073 made the OpenAI API-key catalog put its listing on the ready outcome, but this test still expected the old shape. The test now expects modelIdCatalog. The file passes 17/17, the local review of the exact head is clean and CI is green.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…enclaw#200126)

## Problem

openclaw#200073 made the OpenAI API-key catalog put its listing (`modelIdCatalog`) on its ready outcome. `test/openai-model-discovery-auth-order.test.ts` still expected the old outcome shape. As a result, `main` fails `checks-node-changed-compact-small-20` in "continues from failed openai OAuth to profile API-key auth without repeating refresh". Open PRs that run this shard (for example openclaw#200102) inherit the failure.

## Solution

For the OpenAI case, the test now expects `modelIdCatalog: { baseUrl, modelIds: [modelId] }`. The xAI cases are unchanged. This is a test-only change.

## Evidence

- `pnpm test test/openai-model-discovery-auth-order.test.ts`: 17/17 pass. Before this change on `origin/main`, the OpenAI case failed with exactly this diff.
- oxfmt is clean.

<!-- openclaw-publication:f58bd5b3-ae10-8019-875f-27c86918b01c -->

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant