Skip to content

Conversation

@julio-lopez
Copy link
Collaborator

@julio-lopez julio-lopez requested a review from Copilot November 19, 2025 06:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances Docker command execution in test utilities by adding context support for better cancellation handling and timeout control. The changes enable Docker commands to respect test context cancellations while preserving the ability to perform cleanup operations even after test completion.

Key Changes:

  • Added context parameter to Docker execution functions for proper cancellation handling
  • Introduced internal helper function to support both context-aware and cleanup scenarios
  • Used context.Background() for cleanup operations that must complete after test context cancellation

@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.04%. Comparing base (cb455c6) to head (5102fcc).
⚠️ Report is 774 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5012      +/-   ##
==========================================
+ Coverage   75.86%   78.04%   +2.17%     
==========================================
  Files         470      548      +78     
  Lines       37301    31398    -5903     
==========================================
- Hits        28299    24505    -3794     
+ Misses       7071     4844    -2227     
- Partials     1931     2049     +118     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@julio-lopez julio-lopez marked this pull request as ready for review November 19, 2025 06:44
Copilot AI review requested due to automatic review settings November 19, 2025 06:44
@julio-lopez julio-lopez merged commit 7b64425 into kopia:master Nov 19, 2025
27 checks passed
@julio-lopez julio-lopez deleted the poc/docker-context branch November 19, 2025 06:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

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.

1 participant