Drop per-task port blocks; previews use any free loopback port
This commit is contained in:
+2
-3
@@ -1519,7 +1519,7 @@ components:
|
||||
|
||||
Task:
|
||||
type: object
|
||||
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, port_base, color, status, created_by, created_at, state, merging, discarding, merging_into_parent, merge_after_review, summary_seq, background, merge_facts]
|
||||
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, color, status, created_by, created_at, state, merging, discarding, merging_into_parent, merge_after_review, summary_seq, background, merge_facts]
|
||||
properties:
|
||||
id: { type: string }
|
||||
project_id: { type: string }
|
||||
@@ -1528,7 +1528,6 @@ 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 agent and terminal as PORT." }
|
||||
color: { type: integer, description: "Index into the UI's task palette, assigned at creation: a color no active task holds, the one given out longest ago." }
|
||||
status:
|
||||
type: string
|
||||
@@ -1864,7 +1863,7 @@ components:
|
||||
properties:
|
||||
task_id: { type: string }
|
||||
name: { type: string }
|
||||
port: { type: integer, description: "A port in the task's block, served at http://<byre's tailnet host>:<port>/." }
|
||||
port: { type: integer, description: "The loopback port the task's server listens on, served at http://<byre's tailnet host>:<port>/. One active task holds a port at a time: exposing it from another task moves it there." }
|
||||
created_at: { type: string, format: date-time }
|
||||
|
||||
Tailnet:
|
||||
|
||||
Reference in New Issue
Block a user