Skip to content

TOMATO-60: Add deterministic retry policy and backoff scheduling#78

Merged
cracketus merged 4 commits intomainfrom
TOMATO-60/retry-backoff-policy
Feb 21, 2026
Merged

TOMATO-60: Add deterministic retry policy and backoff scheduling#78
cracketus merged 4 commits intomainfrom
TOMATO-60/retry-backoff-policy

Conversation

@cracketus
Copy link
Copy Markdown
Owner

Summary

  • add configurable deterministic retry policy (RetryPolicyConfig) for hardware dispatch failures
  • extend hardware dispatch result metadata with retryability/error class and add deterministic laky_stub driver for runtime retry validation
  • integrate retry/backoff scheduling into HardwareExecutor with deterministic retry timestamps
  • emit retry scheduling events into executor_log.jsonl for observability
  • enforce fail-fast non-retryable/class-blocked paths with clear reason codes
  • add --force-water-action runtime helper to exercise execution/retry path in deterministic simulation tests
  • update Stage 5 docs in README/AGENTS/PLANNED_FEATURES

Testing

  • pytest -q --no-cov tests/executor/test_retry_policy.py tests/executor/test_hardware_executor.py tests/scripts/test_simulate_day_run.py
  • pytest -q --no-cov tests/scripts/test_simulate_day_cli.py
  • result: 20 passed

Closes #72

@cracketus cracketus merged commit d4059dc into main Feb 21, 2026
4 checks passed
@cracketus cracketus deleted the TOMATO-60/retry-backoff-policy branch February 21, 2026 17:46
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.

TOMATO-60: Add deterministic retry and backoff policy for hardware execution failures

1 participant