Skip to content

Fix scheduler retry backoff with jitter#3943

Open
Thanhdn1984 wants to merge 1 commit into
orchestration-agent:mainfrom
Thanhdn1984:susan/fix-scheduler-retry-jitter
Open

Fix scheduler retry backoff with jitter#3943
Thanhdn1984 wants to merge 1 commit into
orchestration-agent:mainfrom
Thanhdn1984:susan/fix-scheduler-retry-jitter

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Summary

  • Add scheduled retry backoff with jitter for failed queue tasks instead of immediate requeue.
  • Preserve task id/retry count/priority/queue while retrying.
  • Fix scheduled task bookkeeping so delayed tasks store task metadata, not only a timestamp.
  • Add regression coverage for retry delay behavior.

Validation

  • python3 -m py_compile src/orchestrator/scheduler.py
  • pytest tests/test_scheduler.py -q currently blocked by an existing unrelated import error: src.orchestrator.__init__ imports AgentStatus from src.agent, but src.agent does not export it.

Bounty target: #3929

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