Skip to content

[Bug] UI shows 'QUEUED' badge but followup setting is forced to 'steer' mode #24580

@V0hgg

Description

@V0hgg

Summary

The followup: "queue" setting has been intentionally disabled in the code, but the UI still shows a "QUEUED" badge, creating a confusing user experience.

Problem

Code Intentionally Disables Queue Mode

In /packages/app/src/context/settings.tsx:

  1. Lines 164-167: A createEffect forces any "queue" value to "steer":
createEffect(() => {
  if (store.general?.followup !== "queue") return
  setStore("general", "followup", "steer")
})
  1. Lines 183-186: The getter converts "queue" to "steer":
followup: withFallback(
  () => (store.general?.followup === "queue" ? "steer" : store.general?.followup),
  defaultSettings.general.followup,
),
  1. Lines 188-189: The setter converts "queue" to "steer":
setFollowup(value: "queue" | "steer") {
  setStore("general", "followup", value === "queue" ? "steer" : value)
},

UI Still Shows "QUEUED" Badge

In /packages/opencode/src/cli/cmd/tui/routes/session/index.tsx (lines 1267, 1331):

const queued = createMemo(() => props.pending && props.message.id > props.pending)
<span style={{ bg: color(), fg: queuedFg(), bold: true }}> QUEUED </span>

Impact

  • Users see "QUEUED" badge when they type while agent is busy
  • The message is actually sent immediately (steered), not queued
  • Confusing and misleading UX

Expected Behavior

One of:

Option A: Re-enable queue mode by removing the forced conversions:

  • Remove the createEffect block (lines 164-167)
  • Update the getter to not convert "queue" → "steer" (lines 183-186)
  • Update the setter to allow "queue" value (lines 188-189)

Option B: Remove the misleading "QUEUED" badge from the UI if queue mode is intentionally disabled

Steps to Reproduce

  1. Open OpenCode CLI or Desktop
  2. Start a conversation with the agent
  3. While agent is processing, type and send another message
  4. Observe "QUEUED" badge appears
  5. Observe message is actually sent immediately (steered into current turn)

Environment

  • OpenCode version: (latest from main branch)
  • OS: macOS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions