adobe-to-docusign-migrator/src
Paul Huliganga 2b3413670f feat: apply retry-with-backoff to all outbound API calls
Add RetryableHTTPError and raise_for_retryable_status() to retry.py, then
wire up @retry_with_backoff across all network-touching functions:

- All 5 public Adobe Sign API functions in adobe_api.py
- upload_template() and find_existing_template() in upload_docusign_template.py

raise_for_retryable_status() distinguishes transient errors (429, 500, 502,
503, 504) from auth/client errors — only transient errors are retried.
Auth refresh functions are intentionally left undecorated since a 401 there
means bad credentials, not a transient failure.

Backoff: 1s → 2s → 4s, max 16s, max 3 retries (131 tests passing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 09:51:28 -04:00
..
models feat(issues): structured field-issue reporting throughout migration pipeline 2026-04-21 15:25:23 -04:00
reports feat(phases-8-13): blueprint alignment — normalized schema, validation, migration options, retry, security, batch 2026-04-21 02:19:38 -04:00
services feat(phases-8-13): blueprint alignment — normalized schema, validation, migration options, retry, security, batch 2026-04-21 02:19:38 -04:00
utils feat: apply retry-with-backoff to all outbound API calls 2026-04-23 09:51:28 -04:00
adobe_api.py feat: apply retry-with-backoff to all outbound API calls 2026-04-23 09:51:28 -04:00
adobe_auth.py refactor: rename auth_adobe.py to adobe_auth.py for naming consistency 2026-04-16 10:10:05 -04:00
compose_docusign_template.py feat(issues): structured field-issue reporting throughout migration pipeline 2026-04-21 15:25:23 -04:00
create_adobe_template.py feat: end-to-end migration runner and test template utilities 2026-04-15 19:45:31 -04:00
docusign_auth.py Add multi-user web auth sessions 2026-04-21 21:05:15 -04:00
docusign_ingest_stub.py Add latest migration files and validation outputs 2026-04-20 01:12:46 -04:00
download_templates.py feat: Adobe Sign template download pipeline 2026-04-15 19:44:52 -04:00
generate_pdfs.py fix: resolve latent bugs found in code review 2026-04-23 09:51:20 -04:00
migrate_paul_template.py fix: resolve latent bugs found in code review 2026-04-23 09:51:20 -04:00
migrate_template.py fix: resolve latent bugs found in code review 2026-04-23 09:51:20 -04:00
test_mapping.py Show field mapping caveats in template issues 2026-04-23 09:15:49 -04:00
upload_docusign_template.py feat: apply retry-with-backoff to all outbound API calls 2026-04-23 09:51:28 -04:00