feat(web): resume a paused queue from the queue itself #14617
Closedjuliusmarmingewants to merge 250+ commits into
main fromt3code/resume-paused-queueopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
juliusmarminge added labelsmacroscope-review
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- apps/web/src/components/chat/QueuedRunsControl.tsx line 287OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -264,8 +268,20 @@264268 <ListOrderedIcon />265269 </ComposerBanner.Icon>266- <ComposerBanner.Content className="text-muted-foreground">Queued</ComposerBanner.Content>270+ <ComposerBanner.Content className="text-muted-foreground">271+ {workflow?.isHeld ? "Queue paused" : "Queued"}272+ </ComposerBanner.Content>267273 <ComposerBanner.Actions>268274 <ComposerBanner.Count>{items.length}</ComposerBanner.Count>269275 <ComposerBanner.ToggleIcon expanded={expanded} />270276 </ComposerBanner.Actions>271277 </ComposerBanner.Row>278+ {workflow?.isHeld && queued.length > 0 ? (279+ <ComposerBanner.Row>280+ <ComposerBanner.Content className="text-muted-foreground">281+ Nothing is sent until you resume.282+ </ComposerBanner.Content>283+ <ComposerBanner.Actions>284+ <Button285+ size="xs"286+ variant="ghost-muted"287+ disabled={props.resumeDisabled || busyRunId !== null}
- apps/web/src/components/chat/QueuedRunsControl.tsx line 291OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -267,5 +271,21 @@271+ {workflow?.isHeld ? "Queue paused" : "Queued"}272+ </ComposerBanner.Content>267273 <ComposerBanner.Actions>268274 <ComposerBanner.Count>{items.length}</ComposerBanner.Count>269275 <ComposerBanner.ToggleIcon expanded={expanded} />270276 </ComposerBanner.Actions>271277 </ComposerBanner.Row>278+ {workflow?.isHeld && queued.length > 0 ? (279+ <ComposerBanner.Row>280+ <ComposerBanner.Content className="text-muted-foreground">281+ Nothing is sent until you resume.282+ </ComposerBanner.Content>283+ <ComposerBanner.Actions>284+ <Tooltip>285+ <TooltipTrigger render={<span className="flex shrink-0" />}>286+ {/* Resuming mid-edit would send the saved text, not the draft being edited. */}287+ <Button288+ size="xs"289+ variant="ghost-muted"290+ disabled={291+ props.resumeDisabled || busyRunId !== null || props.editingRunId !== null
- apps/web/src/components/ChatView.tsx line 10883Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -10871,3 +10876,4 @@1087110876 editingRunId={editingQueuedRun?.runId ?? null}1087210877 onEditQueuedRun={beginEditingQueuedRun}1087310878 onCancelEdit={cancelEditingQueuedRun}10879+ onResumeQueue={() => void onResume("queue")}
- @@ -0,0 +2646,21 @@2646+ usageLimitContinuationOfRunId: Schema.optional(RunId),2647+ manualContinuationOfRunId: Schema.optional(RunId),2648+ usageLimitRecoveryRequestId: Schema.optional(CommandId),2649+ /** Resolve untargeted delivery against the server's serialized thread state. */2650+ deliveryIntent: Schema.optional(Schema.Literals(["auto", "steer", "restart"])),2651+ delegatedCompletion: Schema.optional(2652+ Schema.Struct({2653+ parentRunId: RunId,2654+ generation: PositiveInt,2655+ taskIds: Schema.Array(NodeId),2656+ }),2657+ ),2658+ dispatchMode: Schema.Union([2659+ Schema.Struct({ type: Schema.Literal("defer_start") }),2660+ Schema.Struct({ type: Schema.Literal("steer_active"), targetRunId: RunId }),2661+ Schema.Struct({ type: Schema.Literal("restart_active"), targetRunId: RunId }),2662+ Schema.Struct({ type: Schema.Literal("queue_after_active") }),2663+ Schema.Struct({ type: Schema.Literal("start_immediately") }),2664+ ]),2665+ }),2666+ Schema.Struct({
juliusmarminge closed this
Sign in to join this conversation.
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result:
65fd639· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.