Skip to content

Harden retry implementation with edge case tests#117

Merged
that-github-user merged 1 commit into
mainfrom
issue-77-retry-review
Mar 28, 2026
Merged

Harden retry implementation with edge case tests#117
that-github-user merged 1 commit into
mainfrom
issue-77-retry-review

Conversation

@that-github-user

Copy link
Copy Markdown
Owner

Summary

Re-ran thinktank on the #77 retry feature with 600s timeout (previously 300s where 4/5 timed out). All 5 agents completed. Agent #5 added 8 edge case tests covering missing files, all-agents-failed, stale test removal, and merge correctness.

Why: Original PR #115 was accepted from 1/5 agents (the only one that completed). This follow-up validates the implementation with proper ensemble comparison.

Change type

  • New feature (test hardening)

How to test

npm test  # 155 tests pass

Breaking changes

  • This PR introduces breaking changes

🤖 Generated with thinktank (Opus, 5 agents, 2 pass, Copeland: #5 at +3)

Re-ran thinktank with 5 Opus agents (600s timeout, all completed) to
review the #77 retry implementation. Agent #5 added 8 edge case tests:
- All agents failed → retry all
- latest.json missing/invalid → clear error
- All retried agents fail again → handled gracefully
- Stale test results removed for retried agents
- Single failed agent → others preserved
- loadLatestResult null safety

Original had 1/5 agents complete due to 300s timeout. With 600s, 5/5
completed, 2 passed tests. Agent #5 chosen over #3 (more granular
unit tests, exported merge function).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user that-github-user merged commit 23310ec into main Mar 28, 2026
4 checks passed
@that-github-user that-github-user deleted the issue-77-retry-review branch March 28, 2026 23:58
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