Add retry logic for transient HTTP 504 errors on CBL Mariner package installation#1570
Draft
Copilot wants to merge 21 commits intocopilot/unify-user-selection-logicfrom
Draft
Conversation
…ehensive tests Co-authored-by: abdurriq <[email protected]>
…ection Co-authored-by: abdurriq <[email protected]>
Co-authored-by: abdurriq <[email protected]>
…handling, remove dead code Co-authored-by: abdurriq <[email protected]>
…n refactor Co-authored-by: abdurriq <[email protected]>
Co-authored-by: abdurriq <[email protected]>
The validator expects all directories in src/ to be valid features with devcontainer-feature.json. By renaming to .common (hidden directory), it's excluded from validation while remaining accessible to features. Co-authored-by: abdurriq <[email protected]>
The devcontainer CLI packages each feature independently and doesn't include parent directories or hidden directories in the build context. The helper script must be copied into each feature's _lib/ directory to be accessible at runtime. Co-authored-by: abdurriq <[email protected]>
Created scripts/lib/common-setup.sh as the source of truth and scripts/sync-common-setup.sh to deploy to all features. This provides a shared code model within devcontainer packaging constraints. Co-authored-by: abdurriq <[email protected]>
common-utils has different semantics than other features - it CREATES users rather than just using existing ones. Restored the original inline logic that uses _REMOTE_USER without validation since the user will be created. Co-authored-by: abdurriq <[email protected]>
Co-authored-by: abdurriq <[email protected]>
* Initial plan * Fix conda installation by switching from apt repository to direct Miniconda installer Co-authored-by: abdurriq <[email protected]> * Add error handling for Miniconda download and installation Co-authored-by: abdurriq <[email protected]> * Use APT::Key::GPGVCommand=1 option to bypass SHA1 signature check Co-authored-by: abdurriq <[email protected]> * Fix version to 1.2.1 for semantic versioning * Revert to Miniconda installer approach - APT option caused gpgv errors Co-authored-by: abdurriq <[email protected]> * Use mktemp for secure temporary file creation Co-authored-by: abdurriq <[email protected]> * Replace Miniconda installer with direct .deb package download and apt install Co-authored-by: abdurriq <[email protected]> * Fix apt-get install syntax and improve error handling Co-authored-by: abdurriq <[email protected]> * Fix package filename - use architecture-specific deb and extract Filename from Packages Co-authored-by: abdurriq <[email protected]> * Update version to 1.2.3 Co-authored-by: abdurriq <[email protected]> * Fix apt-get install path - remove ./ prefix for absolute paths Co-authored-by: abdurriq <[email protected]> * Fix version matching for specific conda versions - handle version suffixes Co-authored-by: abdurriq <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: abdurriq <[email protected]>
…tu:focal (#1567) * Initial plan * Fix kubectl SHA256 download URL and bump version to 1.3.1 Co-authored-by: abdurriq <[email protected]> * Add timeout and fallback for kubectl version fetching Co-authored-by: abdurriq <[email protected]> * Improve error messages and diagnostics for kubectl version fetching Co-authored-by: abdurriq <[email protected]> * Address code review feedback: clean up error handling Co-authored-by: abdurriq <[email protected]> * Improve error message to reference VERSION option Co-authored-by: abdurriq <[email protected]> * Use hardcoded fallback version instead of git tags fallback Co-authored-by: abdurriq <[email protected]> * Add version validation and comment for fallback version Co-authored-by: abdurriq <[email protected]> * Extract fallback version to constant at top of file Co-authored-by: abdurriq <[email protected]> * Update fallback version of kubectl to v1.35.1 * Add alternative URL fallback before using hardcoded version Co-authored-by: abdurriq <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: abdurriq <[email protected]> Co-authored-by: Abdurrahmaan Iqbal <[email protected]>
… features (#1569) * Initial plan * Add update-ca-certificates call after installing ca-certificates package Co-authored-by: abdurriq <[email protected]> * Bump feature versions: docker-outside-of-docker to 1.8.0, docker-in-docker to 2.16.0 Co-authored-by: abdurriq <[email protected]> * Add error handling and documentation for update-ca-certificates calls Co-authored-by: abdurriq <[email protected]> * Remove invalid test for docker-compose when v2 isn't installed --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: abdurriq <[email protected]> Co-authored-by: Abdurrahmaan Iqbal <[email protected]>
…errors Co-authored-by: abdurriq <[email protected]>
…bility Co-authored-by: abdurriq <[email protected]>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflow for test scenarios
Add retry logic for transient HTTP 504 errors on CBL Mariner package installation
Feb 11, 2026
e943772 to
db61bb9
Compare
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.
The docker-in-docker feature fails on CBL Mariner when
packages.microsoft.comreturns HTTP 504 Gateway Timeout errors during dependency installation (e.g.,perl-overloadingpackage). These are transient CDN failures.Changes
src/docker-in-docker/install.sh: Added 3-attempt retry logic with 2-second delays toinstall_azure_linux_deps()functionsrc/docker-in-docker/devcontainer-feature.json: Version bump 2.16.0 → 2.17.0Implementation
Pattern follows existing retry mechanisms in the script for docker daemon startup and cgroup configuration.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.