Run script/setup in new worktrees and give each task a port block

This commit is contained in:
Ian Gulliver
2026-10-15 11:52:13 -07:00
parent f5e5dd30e3
commit cfa9699f4b
15 changed files with 453 additions and 174 deletions
+2 -1
View File
@@ -823,7 +823,7 @@ components:
Task:
type: object
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, status, created_by, created_at]
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, port_base, status, created_by, created_at]
properties:
id: { type: string }
project_id: { type: string }
@@ -832,6 +832,7 @@ components:
branch: { type: string }
worktree_path: { type: string }
base_ref: { type: string }
port_base: { type: integer, description: "The first of the task's block of ports (port_base to port_base+9), passed to its setup script and agent as PORT." }
status:
type: string
enum: [active, merged, discarded]