mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-08 22:21:45 +00:00
fabro(01KKTJBSEZAZZVXSX4Q8AH1XM2): solve (success)
Fabro-Run: 01KKTJBSEZAZZVXSX4Q8AH1XM2
Fabro-Completed: 3
Fabro-Checkpoint: 7c9710149d
⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
parent
5a1282358b
commit
dbc296ac33
1 changed files with 11 additions and 0 deletions
|
|
@ -141,6 +141,17 @@ timeout_ms = 60000
|
|||
|
||||
Each command must exit with status 0. If any command fails or times out, the run aborts before the workflow starts.
|
||||
|
||||
#### Cloning into the current directory
|
||||
|
||||
When cloning a repository into the current directory (`.`), the initial `git clone <repo> .` will fail if the directory is not empty. Use a fallback to pull on subsequent runs:
|
||||
|
||||
```toml title="run.toml"
|
||||
[setup]
|
||||
commands = ["git clone https://github.com/example/repo . || (cd . && git pull)", "pip install -e ."]
|
||||
```
|
||||
|
||||
This pattern handles both initial setup (first clone) and re-runs (pull latest), avoiding "destination path already exists" errors.
|
||||
|
||||
### `[sandbox]`
|
||||
|
||||
Configure how agent tools (bash, file edits) are executed.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue