Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Revert the location of the setupFolder (#3460)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
chkeita authored Aug 28, 2023
1 parent 34dc7e5 commit c4d0cd7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/agent/onefuzz-agent/src/work.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ impl WorkSet {

pub fn setup_dir(&self) -> Result<PathBuf> {
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<Option<PathBuf>> {
Expand Down

0 comments on commit c4d0cd7

Please sign in to comment.