Repository navigation
test(agents): give the sessions_spawn outcome fixture a model - #204033
Merged
Merged
Conversation
- #203271 refuses model selection without a configured model; the fixture had none. Co-authored-by: obviyus <[email protected]>
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. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 24, 2026
…aw#204033) `src/agents/tools/sessions-spawn-outcome.test.ts` passes again: its fixture config now names a model for the `main` agent. Part of openclaw#204008. ## Problem Since openclaw#203271 ("stop sending chats to OpenAI when no model is configured"), model selection throws `No model is configured…` when neither the agent nor defaults name a model. This fixture had `entries: { main: {} }`, so three spawn cases failed before dispatch (`expected "callInProcessGatewayTool" to be called once, but got 0 times`) in every scheduled `main` run (latest: 45147591436, `checks-node-compact-large-39`). ## Solution Set `entries.main.model` to `openai/gpt-4.1`, the same fixture change openclaw#204022 made for the cron failure-repair test. No product change. `openclaw-tools.subagents.sessions-spawn.lifecycle.test.ts` has the same cause but is owned by open PR openclaw#203569, so it is left alone. ## Evidence - Scheduled `main` run 45147591436: 3 cases fail with the error above. - This branch, locally: `sessions-spawn-outcome.test.ts` 16/16 pass. 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.
src/agents/tools/sessions-spawn-outcome.test.tspasses again: its fixture config now names a model for themainagent.Part of #204008.
Problem
Since #203271 ("stop sending chats to OpenAI when no model is configured"), model selection throws
No model is configured…when neither the agent nor defaults name a model. This fixture hadentries: { main: {} }, so three spawn cases failed before dispatch (expected "callInProcessGatewayTool" to be called once, but got 0 times) in every scheduledmainrun (latest: 45147591436,checks-node-compact-large-39).Solution
Set
entries.main.modeltoopenai/gpt-4.1, the same fixture change #204022 made for the cron failure-repair test. No product change.openclaw-tools.subagents.sessions-spawn.lifecycle.test.tshas the same cause but is owned by open PR #203569, so it is left alone.Evidence
mainrun 45147591436: 3 cases fail with the error above.sessions-spawn-outcome.test.ts16/16 pass.