From c0125774aae73bf5aa5c382ed059c8514e6df9e1 Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Mon, 25 Nov 2024 18:08:26 -0800 Subject: [PATCH] [BUG] Replace semicolons in filenames with underscore (#3430) # Overview For all filenames that contain a semicolon, replace each instance of the semicolon with an underscore. --- .github/workflows/run-cluster.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/run-cluster.yaml b/.github/workflows/run-cluster.yaml index d96abd5548..55c26d0a55 100644 --- a/.github/workflows/run-cluster.yaml +++ b/.github/workflows/run-cluster.yaml @@ -87,6 +87,14 @@ jobs: run: | source .venv/bin/activate ray rsync-down .github/assets/benchmarking_ray_config.yaml /tmp/ray/session_*/logs ray-daft-logs + find ray-daft-logs -depth -name '*:*' -exec bash -c ' + for filepath; do + dir=$(dirname "$filepath") + base=$(basename "$filepath") + new_base=${base//:/_} + mv "$filepath" "$dir/$new_base" + done + ' _ {} + - name: Kill connection to ray cluster run: | PID=$(lsof -t -i:8265)