Skip to content

test: add RED tests for team_leader retry on JSON parse failures#696

Draft
ogadra wants to merge 2 commits intonrslib:mainfrom
ogadra:test/team-leader-retry-tests
Draft

test: add RED tests for team_leader retry on JSON parse failures#696
ogadra wants to merge 2 commits intonrslib:mainfrom
ogadra:test/team-leader-retry-tests

Conversation

@ogadra
Copy link
Copy Markdown

@ogadra ogadra commented May 3, 2026

Issue #695

Summary

PromptBasedStructuredCallerdecomposeTask / requestMoreParts にリトライ機構を追加するためのREDテスト

ogadra added 2 commits May 3, 2026 18:01
…seTask

Add three RED tests that pin the expected retry behavior for decomposeTask:
- retry on JSON extraction failure and succeed on the second attempt
- retry on structural validation failure (empty array) and succeed on the
  second attempt
- throw after three consecutive failures
…MoreParts

Add three RED tests that pin the expected retry behavior for
requestMoreParts:
- retry on JSON extraction failure and succeed on the second attempt
- retry on structural validation failure and succeed on the second attempt
- throw after three consecutive failures
@nrslib
Copy link
Copy Markdown
Owner

nrslib commented May 8, 2026

ありがとうございます
Issue #695 の期待値を先にテストで固定する、という意図を理解しました!

一方でこのPR単体だとREDテストのみの追加になり、CIが落ちるため、マージ対象としては扱えない状況です
実装PRとまとめたいと思います

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.

2 participants