Skip to content

Fix: False RetryActivity for proceeding/init checkpoint status#551

Merged
FL4TLiN3 merged 2 commits intomainfrom
fix/false-retry-activity-for-intermediate-status
Feb 17, 2026
Merged

Fix: False RetryActivity for proceeding/init checkpoint status#551
FL4TLiN3 merged 2 commits intomainfrom
fix/false-retry-activity-for-intermediate-status

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Fix getActivities() in @perstack/core producing false RetryActivity ("No tool call or result found") for checkpoints with proceeding or init status and no tool calls
  • These are normal intermediate states during parallel delegate execution, not errors
  • Added 6 test cases covering proceeding, init, and other statuses with empty tool calls

Test plan

  • proceeding status with no tool calls → empty activities (not RetryActivity)
  • init status with no tool calls → empty activities
  • proceeding at step 1 → only query activity (no RetryActivity)
  • proceeding with tool calls but no matching results → empty activities
  • stoppedByExceededMaxSteps with no tool calls → RetryActivity (existing behavior preserved)
  • stoppedByCancellation with no tool calls → RetryActivity (existing behavior preserved)
  • All 58 existing tests pass

🤖 Generated with Claude Code

When getActivities() encounters checkpoints with "proceeding" or "init"
status and no tool calls, it now returns empty activities instead of
creating a misleading RetryActivity with "No tool call or result found".
These are normal intermediate states during parallel delegate execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 force-pushed the fix/false-retry-activity-for-intermediate-status branch from d172d1a to d86bbd5 Compare February 17, 2026 04:01
@FL4TLiN3 FL4TLiN3 merged commit 6711300 into main Feb 17, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 17, 2026
@FL4TLiN3 FL4TLiN3 deleted the fix/false-retry-activity-for-intermediate-status branch February 25, 2026 13:35
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