add copy files setting (#445)

* add copy files setting

* DB prepare

* Move copy_project_files into the container trait so we remember to implement on cloud

* Autocomplete on the FE for files

* Clippy

* Lint and fmt

---------

Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
This commit is contained in:
Kento Sugita
2025-08-13 07:29:56 +09:00
committed by GitHub
parent 07b322e229
commit e06b9a329e
17 changed files with 609 additions and 40 deletions

View File

@@ -123,6 +123,13 @@ pub trait ContainerService {
async fn try_commit_changes(&self, ctx: &ExecutionContext) -> Result<(), ContainerError>;
async fn copy_project_files(
&self,
source_dir: &PathBuf,
target_dir: &PathBuf,
copy_files: &str,
) -> Result<(), ContainerError>;
async fn get_diff(
&self,
task_attempt: &TaskAttempt,