Repository navigation
test: expect the OpenAI API-key listing in the auth-order outcome - #200126
Merged
Merged
Conversation
#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
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
Collaborator
Author
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#200073 made the OpenAI API-key catalog put its listing (
modelIdCatalog) on its ready outcome.test/openai-model-discovery-auth-order.test.tsstill expected the old outcome shape. As a result,mainfailschecks-node-changed-compact-small-20in "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 onorigin/main, the OpenAI case failed with exactly this diff.