Skip to content

Add retry controls to workflow log fetching - #1905

Draft
v1v with Copilot wants to merge 2 commits into
mainfrom
copilot/product-manager-impersonator-retry-backoff-control
Draft

Add retry controls to workflow log fetching#1905
v1v with Copilot wants to merge 2 commits into
mainfrom
copilot/product-manager-impersonator-retry-backoff-control

Conversation

Copilot AI commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Transient GitHub API failures could interrupt scheduled workflow diagnostics and leave log collection incomplete. Log fetching now supports bounded retries, backoff, timeouts, and recovery metadata.

  • Request resilience

    • Add --retries, --backoff-seconds, and --timeout.
    • Retry HTTP 429 and 5xx responses with exponential backoff.
    • Honor Retry-After when provided.
    • Report retry attempts and terminal failures to stderr.
  • Manifest diagnostics

    • Record per-run fetch attempts and final errors in manifest.json.
python3 scripts/fetch-workflow-logs.py ci.yml \
  --retries 5 \
  --backoff-seconds 2 \
  --timeout 45

Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>
Copilot AI changed the title [WIP] Add retry and backoff controls for workflow log fetching Add retry controls to workflow log fetching Aug 25, 2026
Copilot finished work on behalf of v1v August 25, 2026 13:49
Copilot AI requested a review from v1v August 25, 2026 13:49
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.

[product-manager-impersonator] Retry/backoff controls for workflow log fetching

2 participants