Add CI retry logic to setup scripts#7888
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/04bdeebe-0946-4594-93c1-b02ec40b3366 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/04bdeebe-0946-4594-93c1-b02ec40b3366 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/04bdeebe-0946-4594-93c1-b02ec40b3366 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
achamayou
May 14, 2026 17:16
View session
achamayou
approved these changes
May 14, 2026
achamayou
approved these changes
May 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds CI-aware retry wrappers to the dev and CI setup scripts to reduce transient failures during dependency/tool installation.
Changes:
- Introduced a
retryhelper that retries up to 3 times in CI with backoff delays. - Refactored setup steps into grouped functions invoked via
retry. - Enabled
pipefailin both scripts for stricter failure handling.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| scripts/setup-dev.sh | Adds CI retry helper; wraps dev dependency/tool installs (including shellcheck) in retry groups. |
| scripts/setup-ci.sh | Adds CI retry helper; groups CI dependencies and tool setup into retry-wrapped functions. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/2b9eaa03-8470-4a1a-bc38-baebd03766d5 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Member
|
@copilot look for the formatting skill and use it. |
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/7c5e0d11-ec36-44e7-94d7-713d3106fb08 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/6bd292aa-7445-4880-9e3f-44f347e130d4 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Contributor
Author
Applied formatting with black and gersemi in commit 64f30d9. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
achamayou
reviewed
May 15, 2026
Agent-Logs-Url: https://github.com/microsoft/CCF/sessions/1eff6473-d8ef-45d6-b757-f17f9e04b030 Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
maxtropets
approved these changes
May 15, 2026
achamayou
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.