Repository navigation
Retry transient Copilot CLI downloads in Dependency Security Monitor - #11383
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the Dependency Security Monitor installer retry changes.
No open issues 🎉
What changed in this PR
Extends the existing Copilot CLI installer retry wrapper to Dependency Security Monitor, addressing transient download failures that prevent agent startup in #11352.
Changes:
- Adds up to three 90-second installation attempts with 30/60-second backoff for selected download failures.
- Preserves version and checksum pins and fail-fast handling for verification and installation errors.
- Shares recovery, retry-exhaustion, fail-fast, and idempotency regression cases across both workflows.
| File | Description |
|---|---|
scripts/ci/copilot-token-optimizer-workflow.test.ts |
Parameterizes existing regression cases across both workflows. |
scripts/ci/apply-general-workflow-patches.ts |
Extends retry-wrapper generation to Dependency Security Monitor. |
.github/workflows/dependency-security-monitor.lock.yml |
Applies the bounded retry wrapper to the pinned CLI installation. |
Review effort: Balanced (auto)
|
✅ Copilot review passed with no inline comments. @copilot Add the |
|
@copilot merge main and resolve conflicts |
…ency-security-monitor # Conflicts: # scripts/ci/apply-general-workflow-patches.ts Co-authored-by: lpcox <[email protected]>
Merged |
Merged |
Dependency Security Monitor failed before agent execution when downloading Copilot CLI’s checksum manifest repeatedly returned HTTP 504.