Skip to content

Conversation

@mitchell-as
Copy link
Collaborator

@mitchell-as mitchell-as commented Feb 13, 2025

TaskDX-3227 We have an integration test that covers the `--portable` flag / use-case

@mitchell-as mitchell-as requested a review from Naatan February 13, 2025 20:25
@mitchell-as mitchell-as marked this pull request as ready for review February 13, 2025 20:25
Comment on lines +421 to +428
files, err := fileutils.ListDir(targetDir, true)
suite.Require().NoError(err)
for _, file := range files {
path := filepath.Join(targetDir, file.Name())
resolvedPath, err := fileutils.ResolvePath(path)
suite.Require().NoError(err)
suite.Assert().NotContains(resolvedPath, "depot", "runtime file '%s' should not be linked to the depot", file.Name())
}
Copy link
Contributor

Choose a reason for hiding this comment

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

If this works, great! But we could theoretically still have symlinks originating from the artifact themselves.

@mitchell-as mitchell-as merged commit cef79f8 into version/0-47-1-RC1 Feb 18, 2025
8 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3227 branch February 18, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants