Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cli-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: linux
image: ubuntu-24.04
- name: mac
image: macos-13
image: macos-latest
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using macos-latest instead of a pinned version like macos-13 introduces unpredictability. When GitHub updates what constitutes "latest", the CI environment will change without any code changes in this repository, potentially causing unexpected test failures. Consider pinning to a specific version (e.g., macos-14 or macos-15) for reproducible CI builds.

Suggested change
image: macos-latest
image: macos-14

Copilot uses AI. Check for mistakes.
python-version:
- '3.11'
fail-fast: false
Expand Down Expand Up @@ -54,8 +54,8 @@ jobs:
- name: Docker installation - Mac
if: ${{ matrix.os.name == 'mac' }}
run: |
brew install colima docker docker-compose
colima start -a vz -m 8 -r docker
brew install qemu colima docker docker-compose
colima start --vm-type qemu --memory 8
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The colima start command is missing the runtime specification. The previous command used -r docker to explicitly set the runtime. Without this flag, colima may default to a different runtime (like containerd), which could cause the tests to fail. The runtime flag should be added back.

Suggested change
colima start --vm-type qemu --memory 8
colima start -r docker --vm-type qemu --memory 8

Copilot uses AI. Check for mistakes.
echo "DOCKER_HOST=unix://${HOME}/.colima/docker.sock" >> $GITHUB_ENV
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/bin/docker-compose ~/.docker/cli-plugins/docker-compose
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching from the Apple Virtualization framework (vz) to QEMU may significantly degrade CI performance. The vz VM type uses native Apple Silicon virtualization (when available) which is generally faster than QEMU emulation. Unless there's a specific compatibility issue requiring QEMU, consider keeping the vz VM type for better performance. Note that vz may require macOS 13 or later, so this change should be coordinated with the macOS image update.

Suggested change
colima start --vm-type qemu --memory 8
echo "DOCKER_HOST=unix://${HOME}/.colima/docker.sock" >> $GITHUB_ENV
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/bin/docker-compose ~/.docker/cli-plugins/docker-compose
colima start --vm-type vz --memory 8
echo "DOCKER_HOST=unix://${HOME}/.colima/docker.sock" >> $GITHUB_ENV
mkdir -p ~/.docker/cli-plugins
ln-sfn /usr/local/bin/docker-compose ~/.docker/cli-plugins/docker-compose

Copilot uses AI. Check for mistakes.
Expand Down
Loading