Skip to content

test(agents): give the sessions_spawn outcome fixture a model - #204033

Merged
obviyus merged 1 commit into
mainfrom
fix/main-ci-reds-w3b
Nov 23, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/main-ci-reds-w3b

Conversation

@obviyus

@obviyus obviyus commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

src/agents/tools/sessions-spawn-outcome.test.ts passes again: its fixture config now names a model for the main agent.

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 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 #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 #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.

- #203271 refuses model selection without a configured model; the fixture had none.

Co-authored-by: obviyus <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 23, 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.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Nov 23, 2026
@obviyus
obviyus merged commit 1534eb1 into main Nov 23, 2026
104 checks passed
@obviyus
obviyus deleted the fix/main-ci-reds-w3b branch November 23, 2026 10:40
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant