From c4d0cd754bdefef45236bab9a85b288bd518c635 Mon Sep 17 00:00:00 2001 From: Cheick Keita Date: Mon, 28 Aug 2023 13:49:10 -0700 Subject: [PATCH] Revert the location of the setupFolder (#3460) * Revert the location of the setupFolder * install llvm version 16.0.6 * print version * install llvm before building fuzzing tools * revert changes in the script --- src/agent/onefuzz-agent/src/work.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/agent/onefuzz-agent/src/work.rs b/src/agent/onefuzz-agent/src/work.rs index b55d1d86a1..d0222744a7 100644 --- a/src/agent/onefuzz-agent/src/work.rs +++ b/src/agent/onefuzz-agent/src/work.rs @@ -91,7 +91,10 @@ impl WorkSet { pub fn setup_dir(&self) -> Result { let root = self.get_root_folder()?; - self.setup_url.as_path(root) + // Putting the setup container at the root for backward compatibility. + // The path of setup folder can be used as part of the deduplication logic in the bug filing service + let setup_root = root.parent().ok_or_else(|| anyhow!("Invalid root"))?; + self.setup_url.as_path(setup_root) } pub fn extra_setup_dir(&self) -> Result> {