Skip to content

Fix CI: Integration Tests venv conflict on ubuntu-24.04#76

Merged
danielmeppiel merged 2 commits intocopilot/update-responsible-ai-guidelinesfrom
copilot/fix-github-actions-workflow
Feb 5, 2026
Merged

Fix CI: Integration Tests venv conflict on ubuntu-24.04#76
danielmeppiel merged 2 commits intocopilot/update-responsible-ai-guidelinesfrom
copilot/fix-github-actions-workflow

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

🔧 Maintenance

Description

Integration Tests workflow failed on ubuntu-24.04 because the GHA workflow pre-creates .venv via uv sync --extra dev, then test-integration.sh attempted to create it again with uv venv, causing a collision.

Fix: Check if .venv exists before creating it—reuse if present (CI), create if absent (local).

# scripts/test-integration.sh
if [[ -d ".venv" ]]; then
    source .venv/bin/activate
else
    uv venv --python 3.12 || uv venv
    source .venv/bin/activate
    uv pip install -e ".[dev]"
fi

Type

  • CI/CD improvements

Testing

  • Changes tested locally
  • All existing tests pass
  • No functional changes to user-facing features

Checklist

  • LABEL: Consider applying ignore-for-release if not user-facing
  • Code follows project style guidelines
  • No breaking changes introduced
Original prompt

Fix the failing GitHub Actions workflow Integration Tests (ubuntu-24.04, x86_64, linux, apm-linux-x86_64)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 62688877859
Job URL: https://github.com/danielmeppiel/apm/actions/runs/21731816516/job/62688877859


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow for integration tests Fix CI: Integration Tests venv conflict on ubuntu-24.04 Feb 5, 2026
Copilot AI requested a review from danielmeppiel February 5, 2026 23:19
@danielmeppiel danielmeppiel marked this pull request as ready for review February 5, 2026 23:20
@danielmeppiel danielmeppiel merged commit 5fb5198 into copilot/update-responsible-ai-guidelines Feb 5, 2026
@danielmeppiel danielmeppiel deleted the copilot/fix-github-actions-workflow branch February 27, 2026 09:41
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