Refuse an origin.repo of /, the home directory or a relative path

Every run hashes the python files below origin.repo, so saving or syncing
a flow with one of those now answers 422 with what to do instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
2026-10-15 10:55:40 +02:00
co-authored by Claude Opus 5.5
parent 068ff45108
commit 7f99450593
3 changed files with 46 additions and 1 deletions
+5
View File
@@ -164,6 +164,11 @@ The generated node bodies import your functions. Keep the project available
to each machine running them; sync does not copy your package to a remote
worker. Uploading source requires a superuser token.
The flow records the git repository it was declared in, or the directory when
there is none, and each run hashes the Python files below it. The engine
refuses `/`, its home directory and relative paths there, so run sync from
inside the project's repository.
| Flag | Purpose |
|---|---|
| `--dry-run` | Print flow documents and node bodies without uploading |