Skip to content

Conversation

@ywmei-brt1
Copy link
Collaborator

@ywmei-brt1 ywmei-brt1 commented Dec 23, 2025

Our previous change is blocking outDir to be . during CAS download. Also there is a bug that getAbsPath() will not really return a abs path if base is relative path, like foo/bar (it will return a relative path based on foo/bar instead)

It is not necessary for blocking outDir to be ., we should allow download to happen as long as the output files are not escaping from outDir. This CL reslove the base (outDir) to an absolute path then generate the full path for output files.

@ywmei-brt1 ywmei-brt1 requested a review from gkousik December 23, 2025 22:23
@ywmei-brt1 ywmei-brt1 self-assigned this Dec 23, 2025
@ywmei-brt1 ywmei-brt1 force-pushed the fix-download-base-path branch from 39e169e to 97e85a8 Compare December 23, 2025 22:26
@ywmei-brt1 ywmei-brt1 removed the request for review from gkousik December 23, 2025 22:36
Our previous change is blocking outDir to be . during CAS download.
Also there is a bug that getAbsPath() will not really return a abs
path if base is relative path, like foo/bar (it will return a
relative path based on foo/bar instead)

It is not necessay for blocking outDir to be ., we should allow
download to happen as long as the output files are not escaping
from outDir. This CL reslove the base (outDir) to an absolute path
then generate the full path for output files.
@ywmei-brt1 ywmei-brt1 force-pushed the fix-download-base-path branch from 97e85a8 to 38ad5ad Compare December 23, 2025 22:55
@ywmei-brt1 ywmei-brt1 requested a review from gkousik December 23, 2025 23:03
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