Skip to content

Configure submit recovery attempts#21

Merged
Volv-G merged 1 commit into
masterfrom
piforge/submit-recovery-attempts-0.1.1
Jul 8, 2026
Merged

Configure submit recovery attempts#21
Volv-G merged 1 commit into
masterfrom
piforge/submit-recovery-attempts-0.1.1

Conversation

@Volv-G

@Volv-G Volv-G commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • extend failed-submit recovery lookup backoff to the full 0.5s, 1s, 2s, 4s, 8s, 16s schedule
  • add configurable submit_recovery_attempts plumbing with OSS default 2 attempts
  • expose --submit-recovery-attempts on tangle sdk pipeline-runs submit and route submits through the recovery-aware run path
  • bump tangle-cli package version to 0.1.1

Context

Delayed Tangle run registration can make a successful submission look like a failed submit. The retry path already freezes the body and annotates a submission id, but short recovery lookups can miss runs that become searchable several seconds later, causing duplicate submissions. This keeps the conservative OSS default at two recovery lookups while allowing downstream deployments to opt into the full wait window.

Testing

  • uv run pytest tests/test_pipeline_runs_cli.py -q
  • uv run ruff check packages/tangle-cli/src/tangle_cli/__init__.py packages/tangle-cli/src/tangle_cli/pipeline_run_manager.py packages/tangle-cli/src/tangle_cli/pipeline_runner.py packages/tangle-cli/src/tangle_cli/pipeline_runs_cli.py tests/test_pipeline_runs_cli.py

@Volv-G Volv-G requested a review from Ark-kun as a code owner July 8, 2026 02:35
Assisted-By: devx/12bfa114-4ee7-4929-a37c-98018f6b0f41
@Volv-G Volv-G force-pushed the piforge/submit-recovery-attempts-0.1.1 branch from f6dcca5 to e5cf7d6 Compare July 8, 2026 02:39
@Volv-G Volv-G merged commit de2cd5a into master Jul 8, 2026
2 checks passed
@Volv-G Volv-G deleted the piforge/submit-recovery-attempts-0.1.1 branch July 8, 2026 02:40
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