Skip to content

Conversation

aparnajyothi-y
Copy link
Contributor

This reverts commit 1264885.

Description:
Reverts PR #1128. That change copied a file from the composite action into the workspace to support composite actions, but we’ve decided to implement this capability at the actions/toolkit level instead (see actions/toolkit#1035) for a more consistent and scalable solution.

@Copilot Copilot AI review requested due to automatic review settings August 26, 2025 06:33
@aparnajyothi-y aparnajyothi-y requested a review from a team as a code owner August 26, 2025 06:33
Copy link
Contributor

@Copilot 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 reverts commit 1264885 which enhanced cache-dependency-path handling to support files outside the workspace. The functionality is being reimplemented at the actions/toolkit level for better consistency across actions.

Key changes:

  • Removes complex file copying logic from the cacheDependencies function
  • Eliminates associated test coverage for the removed functionality
  • Removes documentation note about support for files outside workspace

Reviewed Changes

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

File Description
src/setup-python.ts Reverts cacheDependencies function to simpler implementation without file copying logic
docs/advanced-usage.md Removes documentation note about cache-dependency-path supporting files outside workspace
tests/setup-python.test.ts Removes all test cases for the reverted file copying functionality
.github/workflows/test-pypy.yml Adds windows-2019 to test matrix (unrelated change)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aparnajyothi-y aparnajyothi-y changed the title Revert "Enhance cache-dependency-path handling to support files outsi… Revert "Enhance cache-dependency-path handling to support files outside the workspace root" Aug 26, 2025
priya-kinthali
priya-kinthali previously approved these changes Aug 26, 2025
priyagupta108
priyagupta108 previously approved these changes Aug 26, 2025
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.

4 participants