Skip to content

test(cmd): make live opencodego test robust against empty responses#43

Merged
Patel230 merged 1 commit into
mainfrom
test/robust-opencodego-live
Jun 12, 2026
Merged

test(cmd): make live opencodego test robust against empty responses#43
Patel230 merged 1 commit into
mainfrom
test/robust-opencodego-live

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

was brittle to model behavior changes: on simple prompts like 'Hi', the model would think but not respond with content, causing test failure with 'reasoning-only or empty'.\n\nUpdate the test to:\n- Use a deterministic task prompt ('Write a simple HTTP server...') that cannot yield empty content\n- Loosen assertion to allow substantial thinking if some content is present\n- Use 120s timeout for complex task\n\nThis matches the pattern of other session/agent tests using detailed task prompts.

@Patel230 Patel230 enabled auto-merge (squash) June 12, 2026 23:49
@Patel230 Patel230 merged commit b19b5f0 into main Jun 12, 2026
18 checks passed
@Patel230 Patel230 deleted the test/robust-opencodego-live branch June 12, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant