Skip to content

[product-manager-impersonator] Quick setup resilient download retries #1015

Description

@github-actions

Feature Idea

Summary: Add configurable retry/backoff for quick-setup.sh downloads so transient network failures don’t abort first-run setup.

Why a Customer Would Want This

Teams adopt this project through a one-command installer, and setup currently fails hard on any transient raw.githubusercontent.com fetch error. That creates avoidable friction during onboarding and forces manual reruns.

Rough Implementation Sketch

  • Add --download-retries (default 3) and --download-retry-delay (default 2) flags to scripts/quick-setup.sh.
  • Use those values in both download call sites (trigger-*.yml loop and agentics-maintenance.yml) with curl --retry ... --retry-delay ... --retry-all-errors.
  • Preserve current fail-fast behavior after retries, but print a short summary of which workflow downloads still failed.
  • Document the new flags in quick-setup docs so users can tune reliability for stricter CI networks.

Why It Won't Be That Hard

This is a small, localized Bash change in one script plus docs updates. The script already centralizes all download operations in two places, so adding retry options is low-risk and does not require workflow schema/compiler changes.

Evidence

  • One-command onboarding is explicit in docs:
    • README.md:28-39
    • gh-agent-workflows/README.md:44-55
  • Downloads are currently single-shot and fail the whole run (set -euo pipefail) with no retry path:
    • scripts/quick-setup.sh:9
    • scripts/quick-setup.sh:194-203
    • scripts/quick-setup.sh:206-213
  • Recent activity indicates setup UX is actively being improved (good timing for an incremental reliability win):
    • PR #991 (quick-setup messaging)
    • PR #1007 (setup PAT guidance)
    • Issue #1006 (setup docs/script guidance alignment)

Note

🔒 Integrity filter blocked 27 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #1010 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #937 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #851 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #850 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #359 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #704 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #694 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #684 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #875 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #676 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #245 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #225 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #248 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #424 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #140 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #478 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 11 more items

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: Trigger Product Manager Impersonator

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions