Add Merge & continue and Other… to ready cards
This commit is contained in:
+7
-1
@@ -444,6 +444,11 @@ paths:
|
||||
(merge_after_review is set) and made, as this caller and with this target, when the review of the
|
||||
task's latest snapshot finishes with no findings, that snapshot is still the latest and no turn is
|
||||
running; otherwise it is dropped with a transcript note. Refused (409) unless that review is running.
|
||||
With keep_open (target main only, not with after_review), the task's agent gets a turn that merges the
|
||||
default branch in, resolving any conflicts, and then lands the work so far with merge_to_main titled
|
||||
merge_title (the task's own merge_title is unchanged); the task stays open. The task's other agents are held
|
||||
until that turn ends: their messages queue and nothing starts their turns. It clears a standing
|
||||
ready_for_merge. Refused (409) while any of the task's agents is mid-turn, or while it is merging.
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
@@ -459,9 +464,10 @@ paths:
|
||||
x-enum-varnames: [MergeTargetMain, MergeTargetParent]
|
||||
description: "main (the default): squash onto the project's default branch. parent: merge into the parent task's branch; only for a subtask."
|
||||
after_review: { type: boolean, description: "Merge once the running review of the latest snapshot finishes with no findings, instead of now." }
|
||||
keep_open: { type: boolean, description: "Land the work so far and keep the task open, instead of closing it." }
|
||||
responses:
|
||||
"202":
|
||||
description: The merge was started, held, or set to start after the review.
|
||||
description: The merge was started, held, set to start after the review, or (keep_open) its turn started.
|
||||
content:
|
||||
application/json:
|
||||
schema: { $ref: "#/components/schemas/Task" }
|
||||
|
||||
Reference in New Issue
Block a user