Skip to content

Fix java test: Update expected version from 24 to 25#1572

Draft
Copilot wants to merge 25 commits intocopilot/unify-user-selection-logicfrom
copilot/fix-github-actions-workflow-one-more-time
Draft

Fix java test: Update expected version from 24 to 25#1572
Copilot wants to merge 25 commits intocopilot/unify-user-selection-logicfrom
copilot/fix-github-actions-workflow-one-more-time

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 13, 2026

The install_latest_version test was failing because SDKMAN now provides Java 25.0.2-ms (Microsoft OpenJDK build 25.0.2+10-LTS) as the latest version, but the test still checked for version 24.

Changes

  • Updated version assertion in test/java/install_latest_version.sh from grep "24" to grep "25"
-check "java version latest installed" grep "24" <(java --version)
+check "java version latest installed" grep "25" <(java --version)
Original prompt

Fix the failing GitHub Actions workflow test-scenarios (java)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 63522144347
Job URL: https://github.com/devcontainers/features/actions/runs/21986552191/job/63522144347


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 24 commits January 29, 2026 13:37
…ehensive tests

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
…ection

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
…handling, remove dead code

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
…n refactor

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
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 <137001048+abdurriq@users.noreply.github.com>
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 <137001048+abdurriq@users.noreply.github.com>
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 <137001048+abdurriq@users.noreply.github.com>
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 <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
* Initial plan

* Fix conda installation by switching from apt repository to direct Miniconda installer

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Add error handling for Miniconda download and installation

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Use APT::Key::GPGVCommand=1 option to bypass SHA1 signature check

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix version to 1.2.1 for semantic versioning

* Revert to Miniconda installer approach - APT option caused gpgv errors

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Use mktemp for secure temporary file creation

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Replace Miniconda installer with direct .deb package download and apt install

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix apt-get install syntax and improve error handling

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix package filename - use architecture-specific deb and extract Filename from Packages

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Update version to 1.2.3

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix apt-get install path - remove ./ prefix for absolute paths

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix version matching for specific conda versions - handle version suffixes

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
…tu:focal (#1567)

* Initial plan

* Fix kubectl SHA256 download URL and bump version to 1.3.1

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Add timeout and fallback for kubectl version fetching

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Improve error messages and diagnostics for kubectl version fetching

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Address code review feedback: clean up error handling

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Improve error message to reference VERSION option

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Use hardcoded fallback version instead of git tags fallback

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Add version validation and comment for fallback version

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Extract fallback version to constant at top of file

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Update fallback version of kubectl to v1.35.1

* Add alternative URL fallback before using hardcoded version

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: Abdurrahmaan Iqbal <abdurriq@github.com>
… features (#1569)

* Initial plan

* Add update-ca-certificates call after installing ca-certificates package

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Bump feature versions: docker-outside-of-docker to 1.8.0, docker-in-docker to 2.16.0

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Add error handling and documentation for update-ca-certificates calls

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Remove invalid test for docker-compose when v2 isn't installed

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Co-authored-by: Abdurrahmaan Iqbal <abdurriq@github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow test-scenarios Fix java test: Update expected version from 24 to 25 Feb 13, 2026
Copilot AI requested a review from abdurriq February 13, 2026 15:10
Base automatically changed from copilot/fix-github-actions-workflow-another-one to copilot/unify-user-selection-logic February 17, 2026 10:44
@abdurriq abdurriq force-pushed the copilot/unify-user-selection-logic branch from e943772 to db61bb9 Compare April 1, 2026 11:59
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.

2 participants